update weblogic workmanage mode with class counter

This commit is contained in:
garnier-quentin 2019-04-19 15:05:47 +02:00
parent 2a7af133a7
commit dec0e1b191
1 changed files with 6 additions and 6 deletions

View File

@ -57,29 +57,29 @@ sub set_counters {
}
},
{ label => 'request-completed', set => {
key_values => [ { name => 'completed', diff => 1 }, { name => 'runtime' } ],
key_values => [ { name => 'completed', diff => 1 }, { name => 'display' } ],
output_template => 'Requests completed : %s',
perfdatas => [
{ label => 'request_completed', value => 'completed_absolute', template => '%s',
min => 0, label_extra_instance => 1, instance_use => 'runtime_absolute' },
min => 0, label_extra_instance => 1, instance_use => 'display_absolute' },
],
}
},
{ label => 'request-pending', set => {
key_values => [ { name => 'pending' }, { name => 'runtime' } ],
key_values => [ { name => 'pending' }, { name => 'display' } ],
output_template => 'Requests pending : %s',
perfdatas => [
{ label => 'request_pending', value => 'pending_absolute', template => '%s',
min => 0, label_extra_instance => 1, instance_use => 'runtime_absolute' },
min => 0, label_extra_instance => 1, instance_use => 'display_absolute' },
],
}
},
{ label => 'thread-stuck', set => {
key_values => [ { name => 'stuck' }, { name => 'runtime' } ],
key_values => [ { name => 'stuck' }, { name => 'display' } ],
output_template => 'Threads stuck : %s',
perfdatas => [
{ label => 'thread_stuck', value => 'stuck_absolute', template => '%s',
min => 0, label_extra_instance => 1, instance_use => 'runtime_absolute' },
min => 0, label_extra_instance => 1, instance_use => 'display_absolute' },
],
}
},