mdlayher / apcupsd_exporter

Prometheus exporter that exposes metrics from apcupsd's NIS. MIT Licensed.
MIT License
156 stars 65 forks source link

Add reason for the last transfer to battery #31

Open Jonher937 opened 1 month ago

Jonher937 commented 1 month ago
# HELP apcupsd_last_transfer_on_battery_reason Reason for last transfer to battery.
# TYPE apcupsd_last_transfer_on_battery_reason gauge
apcupsd_last_transfer_on_battery_reason{reason="Input frequency out of range",ups="ups"} 1
$ apcaccess status | grep LASTXFER
LASTXFER : Input frequency out of range