From f18d5af4e8d1f243032d1c4eb327587c760a7ea3 Mon Sep 17 00:00:00 2001 From: qgarnier Date: Tue, 5 Dec 2017 11:16:33 +0100 Subject: [PATCH] add modes for jboss --- apps/java/jboss/jmx/plugin.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/java/jboss/jmx/plugin.pm b/apps/java/jboss/jmx/plugin.pm index 378cd1951..d37cc2ef3 100644 --- a/apps/java/jboss/jmx/plugin.pm +++ b/apps/java/jboss/jmx/plugin.pm @@ -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';