+ Fix mode threads for jmx standard jvm
This commit is contained in:
parent
f89e82bdc8
commit
32f711efe7
|
@ -50,7 +50,7 @@ sub new {
|
|||
'class-count' => 'centreon::common::jvm::mode::classcount',
|
||||
'memory' => 'centreon::common::jvm::mode::memory',
|
||||
'memory-detailed' => 'centreon::common::jvm::mode::memorydetailed',
|
||||
'threads' => 'ccentreon::common::jvm::mode::threads',
|
||||
'threads' => 'centreon::common::jvm::mode::threads',
|
||||
'work-manager' => 'apps::java::weblogic::jmx::mode::workmanager',
|
||||
);
|
||||
|
||||
|
|
|
@ -189,7 +189,7 @@ sub manage_selection {
|
|||
|
||||
my $mbean = 'java.lang:type=Threading';
|
||||
$self->{request} = [
|
||||
{ mbean => $mbean, attributes => [ { name => 'TotalStartedThreadCount ' }, { name => 'ThreadCount' }, { name => 'DaemonThreadCount ' } ] },
|
||||
{ mbean => $mbean, attributes => [ { name => 'TotalStartedThreadCount' }, { name => 'ThreadCount' }, { name => 'DaemonThreadCount' } ] },
|
||||
];
|
||||
my $result = $self->{connector}->get_attributes(request => $self->{request}, nothing_quit => 1);
|
||||
|
||||
|
|
Loading…
Reference in New Issue