[Nut-upsuser] Monitoring for an alarm

Roger Price roger at rogerprice.org
Tue Jun 18 09:58:56 BST 2019


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



More information about the Nut-upsuser mailing list