Displaying 2 results from an estimated 2 matches for "_notify_events".
2015 Aug 29
2
Loses connection after a month or so
Hi,
I have a Liebert UPS which I have connected to a FreeNAS Box. I had all
sorts of issues making FreeNAS (FreeBSD based) talk to the UPS over USB.
My solution seemed to be to buy a Raspberry Pi then connect it to the UPS
(works fine), then make my NAS read the UPS status from the Pi over a TCP/IP
connection. Convoluted I know, but it works well...for about a month, then
it just loses
2015 Aug 31
0
Loses connection after a month or so
...t there is a message ?Communications with UPS Liebert at 192.x.x.x lost? which occurs in /var/daemon.log if that helps!
>
The "communications lost" message corresponds to the "COMMBAD" event. The list of events is here:
http://www.networkupstools.org/docs/man/upsmon.html#_notify_events
There is a similar event, "NOCOMM", which is probably closer to what you are looking for. The `upsmon` daemon checks to see if it has been in the lost-comms state for a certain amount of time (controlled by the "NOCOMMWARNTIME" variable in upsmon.conf; defaults to five minutes)...