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 connection. The Raspberry Pi stops communicating with the UPS
- rebooting the Pi resolves the issue.
I have a couple of things to do (like updating the software on the Pi),
which I am hoping might resolve the connection problem but my question is;
Is there a way (has anyone done it) to reboot (not shutdown!!) the host if
communications to the UPS fails - I want to automatically reboot my Pi after
a couple of minutes of no communications.
Has anyone done this? Is there a setting that I can add to monitor nut or
the usb subsystem and find out that comms has failed, then run a script to
reboot?
I note that there is a message "Communications with UPS [email protected]
<mailto:[email protected]> lost" which occurs in /var/daemon.log if that
helps!
It always seems to fall over sometime during the night and then I usually
wake up to 80 - 100 email messages from my NAS box saying it has lost the
connection.
Best Regards,
Paul Smith
_______________________________________________
Nut-upsuser mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser