1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-21 18:41:03 +00:00

nutups2: add runtime graph to monitor UPS's remaining runtime

This commit is contained in:
Kim B. Heino 2021-03-31 12:30:00 +03:00 committed by Lars Kruse
parent 4af69a6d07
commit 50cb1d8997

View file

@ -133,6 +133,14 @@ my %config = (
config => \&common_config, config => \&common_config,
fetch => \&common_fetch, fetch => \&common_fetch,
}, },
runtime => {
filter => qr/^(.*)\.runtime$/,
title => 'UPS runtime',
args => '--base 1000 -l 0',
vlabel => 'Seconds',
config => \&common_config,
fetch => \&common_fetch,
},
); );
sub read_ups_values { sub read_ups_values {