Révision 50cb1d89
nutups2: add runtime graph to monitor UPS's remaining runtime
| plugins/power/nutups2_ | ||
|---|---|---|
| 133 | 133 |
config => \&common_config, |
| 134 | 134 |
fetch => \&common_fetch, |
| 135 | 135 |
}, |
| 136 |
runtime => {
|
|
| 137 |
filter => qr/^(.*)\.runtime$/, |
|
| 138 |
title => 'UPS runtime', |
|
| 139 |
args => '--base 1000 -l 0', |
|
| 140 |
vlabel => 'Seconds', |
|
| 141 |
config => \&common_config, |
|
| 142 |
fetch => \&common_fetch, |
|
| 143 |
}, |
|
| 136 | 144 |
); |
| 137 | 145 |
|
| 138 | 146 |
sub read_ups_values {
|
Formats disponibles : Unified diff