On Mon, 17 Jun 2019, Adam Pribyl wrote:

I found one of UPS has a
ups.alarm  :  Battery charger fail! Internal UPS fault!

Is there a way to monitor for this kind of failure? In upsmon I did not find and event type for alarms like this...

See github issue "upsmon: add ALARM support #415"
https://github.com/networkupstools/nut/issues/415
dated 4th April 2017.

Meanwhile, it would be simple to run a cron job every 8 hours which read ups.alarm and compared that value with the previous value. If the value has changed, notify the sysadmin.

Roger

_______________________________________________
Nut-upsuser mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser

Reply via email to