mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-09-24 10:18:42 +02:00
enhance output memory
This commit is contained in:
parent
6fcacbdf5b
commit
e8c2d37c23
@ -78,7 +78,7 @@ sub set_counters {
|
|||||||
},
|
},
|
||||||
{ label => 'usage-prct', display_ok => 0, nlabel => 'memory.usage.percentage', set => {
|
{ label => 'usage-prct', display_ok => 0, nlabel => 'memory.usage.percentage', set => {
|
||||||
key_values => [ { name => 'prct_used' } ],
|
key_values => [ { name => 'prct_used' } ],
|
||||||
output_template => 'Used : %.2f %%',
|
output_template => 'Ram Used : %.2f %%',
|
||||||
perfdatas => [
|
perfdatas => [
|
||||||
{ label => 'used_prct', value => 'prct_used_absolute', template => '%.2f', min => 0, max => 100,
|
{ label => 'used_prct', value => 'prct_used_absolute', template => '%.2f', min => 0, max => 100,
|
||||||
unit => '%' },
|
unit => '%' },
|
||||||
@ -137,7 +137,7 @@ sub set_counters {
|
|||||||
},
|
},
|
||||||
{ label => 'swap-prct', display_ok => 0, nlabel => 'swap.usage.percentage', set => {
|
{ label => 'swap-prct', display_ok => 0, nlabel => 'swap.usage.percentage', set => {
|
||||||
key_values => [ { name => 'prct_used' } ],
|
key_values => [ { name => 'prct_used' } ],
|
||||||
output_template => 'Used : %.2f %%',
|
output_template => 'Swap Used : %.2f %%',
|
||||||
perfdatas => [
|
perfdatas => [
|
||||||
{ label => 'swap_prct', value => 'prct_used_absolute', template => '%.2f', min => 0, max => 100,
|
{ label => 'swap_prct', value => 'prct_used_absolute', template => '%.2f', min => 0, max => 100,
|
||||||
unit => '%' },
|
unit => '%' },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user