Differences between current version and predecessor to the previous major change of UPSNotes.
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 3 | Last edited on Thursday, August 30, 2007 12:18:23 pm | by JohnMcPherson | |
Older page: | version 1 | Last edited on Wednesday, June 20, 2007 4:18:11 pm | by JohnMcPherson | Revert |
@@ -8,8 +8,11 @@
! APC Smart-UPS
If you are using an APC SMART UPS unit, and connecting it via the [USB] port rather than the proprietary serial cable, then in ''/etc/nut/ups.conf'' your configuration stanza should use the non-obvious driver named __newhidups__, rather than the driver called ''apcsmart''. (The older ''hidups'' driver results in syslog getting lots of "<tt>hidups: Unhandled event 0x84005x</tt>" messages). This is with nut version 2.0.4.
-The port should be __
/dev/usb/hiddev0__
. This device file needs to be read/writable by the "nut" group. nut comes with [UDev] rules to do this, but if you install nut after connecting the [USB] cable then you can either modify the permissions of the file manually, or simply unplug and replug in the cable.
+The device file for this (for me) is
/dev/usb/hiddev0. This device file needs to be read/writable by the "nut" group. nut comes with [UDev] rules to do this, but if you install nut after connecting the [USB] cable then you can either modify the permissions of the file manually, or simply unplug and replug in the cable.
+In /etc/nut/ups.conf, I originally had the ''port'' set to /dev/usb/hiddev0, but this resulted in nut occasionally losing the connection (and consequently nagios telling me that there is a problem with the UPS). I assume this is caused by the UPS doing its own self-test or something, but changing the ''port'' setting to be __auto__ seems to have stopped it losing the connection (or at least, automatically reconnecting).
+
+See NutNotes for more.
----
See also [CactiUPS].