+ Fix #403
This commit is contained in:
parent
6161e75b66
commit
a8ca1796e5
|
@ -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' },
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue