On Tue, 18 Jun 2019, Roger Price wrote:

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.

Ah, thanks, I see there is even a branch with the code... not merged thou...


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.

Hm, ok, I'll write the script to search for alarms for all the UPS devices, as I have a central monitoring for them. Doing that on each of them would not be feasible.

Roger

Thanks anyway

Adam Pribyl

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

Reply via email to