This commit is contained in:
garnier-quentin 2016-05-18 13:44:17 +02:00
parent 6161e75b66
commit a8ca1796e5
1 changed files with 2 additions and 2 deletions

View File

@ -96,9 +96,9 @@ sub set_counters {
}, },
{ label => 'time', set => { { label => 'time', set => {
key_values => [ { name => 'upsAdvBatteryRunTimeRemaining' } ], key_values => [ { name => 'upsAdvBatteryRunTimeRemaining' } ],
output_template => 'Remaining time : %s minutes', output_template => 'Remaining time : %.2f minutes',
perfdatas => [ perfdatas => [
{ label => 'load_time', value => 'upsAdvBatteryRunTimeRemaining_absolute', template => '%s', { label => 'load_time', value => 'upsAdvBatteryRunTimeRemaining_absolute', template => '%.2f',
min => 0, unit => 'm' }, min => 0, unit => 'm' },
], ],
} }