enhance output memory
This commit is contained in:
parent
2775596274
commit
5c116a05cc
|
@ -78,7 +78,7 @@ sub set_counters {
|
|||
},
|
||||
{ label => 'usage-prct', display_ok => 0, nlabel => 'memory.usage.percentage', set => {
|
||||
key_values => [ { name => 'prct_used' } ],
|
||||
output_template => 'Used : %.2f %%',
|
||||
output_template => 'Ram Used : %.2f %%',
|
||||
perfdatas => [
|
||||
{ label => 'used_prct', value => 'prct_used_absolute', template => '%.2f', min => 0, max => 100,
|
||||
unit => '%' },
|
||||
|
@ -137,7 +137,7 @@ sub set_counters {
|
|||
},
|
||||
{ label => 'swap-prct', display_ok => 0, nlabel => 'swap.usage.percentage', set => {
|
||||
key_values => [ { name => 'prct_used' } ],
|
||||
output_template => 'Used : %.2f %%',
|
||||
output_template => 'Swap Used : %.2f %%',
|
||||
perfdatas => [
|
||||
{ label => 'swap_prct', value => 'prct_used_absolute', template => '%.2f', min => 0, max => 100,
|
||||
unit => '%' },
|
||||
|
|
Loading…
Reference in New Issue