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 2 months ago

Jonher937 commented 2 months 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