How is UPS monitoring started? I have Network UPS Tools (NUT) core system loaded on ubuntu 11.04 (client), but can find no application to run from the system menus. The software center description says the following programs in NUT are run from a terminal: upsc, upscmd, upsd, upsdrvctl, upslog, upsmon, upsrw, upssched. I want to monitor and configure a single UPS via a GUI interface. I checked device manager and the UPS is visible (via usb port). I also checked sysv-rc-conf to confirm that NUT is running on levels 2-5. Is there another interface I need to install? What's the next step?
Configuration is mostly done with text files in
If you have multiple systems on one UPS you will need to decide if files need to be modified per system or type.
You can configure and control your UPS with the
For on-line configuration, I have had success with
I wrote the following script to dump load shortly after a power failure (Don´t trigger them on the monitoring server. I don't use it any more, but may give you an idea how to do it.
#!/bin/bash # /etc/nut/upssched-cmd - Run scheduled commands case $1 in apc1-on-batt) /sbin/shutdown -h now +0 ;; belkin-on-batt) /sbin/shutdown -h now +0 ;; *) logger -t upssched-cmd "Unrecognized command: $1" ;; esac # EOF