add modes for jboss

This commit is contained in:
qgarnier 2017-12-05 11:16:33 +01:00
parent aea8dd71c1
commit f18d5af4e8
1 changed files with 4 additions and 0 deletions

View File

@ -31,8 +31,12 @@ sub new {
$self->{version} = '0.1';
%{$self->{modes}} = (
'class-count' => 'centreon::common::jvm::mode::classcount',
'datasource-usage' => 'apps::java::jboss::jmx::mode::datasourceusage',
'list-datasources' => 'apps::java::jboss::jmx::mode::listdatasources',
'memory' => 'centreon::common::jvm::mode::memory',
'memory-detailed' => 'centreon::common::jvm::mode::memorydetailed',
'threads' => 'centreon::common::jvm::mode::threads',
);
$self->{custom_modes}{jolokia} = 'centreon::common::protocols::jmx::custom::jolokia';