Help:Nut

From MMAE

Jump to: navigation, search

Network UPS Tools does UPS monitoring.

Software homepage
http://www.networkupstools.org/
http://freshmeat.net/projects/networkupstools/
Software availability
will be installed on Roman64 cluster
A windows client is available
Other related software
APCUPSD
command to type to run
View online documentation
Location of example files

[edit] installation

Nut is currently located on the new Arcadius.

The source code is in /home/ssd/src/nut-2.0.5, and the compiled binaries are in /opt/nut-205/. All of the configuration files (including samples) are in /opt/nut-205/etc.

To run the daemon as the nut user (for reading config files and being able to write to var/spool/nut) use the command /opt/nut-205/sbin/upsd -u nut

The current status of nut is working. You can run it and get information about the UPS that is hooked up onto /dev/usb/hiddev01. The problem is that the method for the hidups driver is unacceptable for mapping multiple USB devices, since you have to hardcode the ports to a specific UPS. The driver that needs to be compiled is the newhidups driver, which gives linking errors to libusb when you try to compile it. I am unsure of how to fix this.

The configure command line used was: ./configure --with-user=nut --prefix=/opt/nut-205 --with-driver=newhidups

Personal tools