enhance output memory

This commit is contained in:
garnier-quentin 2019-10-29 13:49:37 +01:00
parent 2775596274
commit 5c116a05cc
1 changed files with 2 additions and 2 deletions

View File

@ -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 => '%' },