mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 07:34:35 +02:00
fix precision percentage
This commit is contained in:
parent
75d3eddd6d
commit
f82e6de157
@ -80,7 +80,7 @@ sub set_counters {
|
||||
key_values => [ { name => 'prct_used' } ],
|
||||
output_template => 'Used : %.2f %%',
|
||||
perfdatas => [
|
||||
{ label => 'used_prct', value => 'prct_used_absolute', template => '%d', min => 0, max => 0,
|
||||
{ label => 'used_prct', value => 'prct_used_absolute', template => '%.2f', min => 0, max => 0,
|
||||
unit => '%' },
|
||||
],
|
||||
}
|
||||
@ -139,7 +139,7 @@ sub set_counters {
|
||||
key_values => [ { name => 'prct_used' } ],
|
||||
output_template => 'Used : %.2f %%',
|
||||
perfdatas => [
|
||||
{ label => 'swap_prct', value => 'prct_used_absolute', template => '%d', min => 0, max => 0,
|
||||
{ label => 'swap_prct', value => 'prct_used_absolute', template => '%.2f', min => 0, max => 0,
|
||||
unit => '%' },
|
||||
],
|
||||
}
|
||||
|
@ -67,7 +67,7 @@ sub set_counters {
|
||||
key_values => [ { name => 'prct_used' } ],
|
||||
output_template => 'Used : %.2f %%',
|
||||
perfdatas => [
|
||||
{ label => 'used_prct', value => 'prct_used_absolute', template => '%d', min => 0, max => 0,
|
||||
{ label => 'used_prct', value => 'prct_used_absolute', template => '%.2f', min => 0, max => 0,
|
||||
unit => '%' },
|
||||
],
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user