add case for tomcat 8

This commit is contained in:
qgarnier 2017-12-20 15:01:30 +01:00
parent 8804178d1e
commit 30500a885b
1 changed files with 2 additions and 0 deletions

View File

@ -159,6 +159,8 @@ sub manage_selection {
$self->{request} = [
{ mbean => "*:type=DataSource,class=*,context=*,host=*,name=*", attributes =>
[ { name => 'numActive' }, { name => 'numIdle' }, { name => 'maxIdle' }, { name => 'maxTotal' }, { name => 'maxActive' } ] },
{ mbean => "*:type=DataSource,class=*,path=*,host=*,name=*", attributes =>
[ { name => 'numActive' }, { name => 'numIdle' }, { name => 'maxIdle' }, { name => 'maxTotal' }, { name => 'maxActive' } ] },
];
my $result = $options{custom}->get_attributes(request => $self->{request}, nothing_quit => 1);