The apcaccess command outputs STATUS, with values such as:
ONLINE
ONBATT
This would be extremely useful to know when a device switches to using the battery. I think something like this other exporter could be merged into this exporter:
https://github.com/damomurf/apcupsd-exporter
I'm proposing adding this as a label in apcupsd_info so that it would look something like:
Hi there,
The
apcaccess
command outputsSTATUS
, with values such as:This would be extremely useful to know when a device switches to using the battery. I think something like this other exporter could be merged into this exporter: https://github.com/damomurf/apcupsd-exporter
I'm proposing adding this as a label in
apcupsd_info
so that it would look something like:Using such a label would allows us to create alerts such as: