Package Details: network-ups-tools 2.7.4-5

Git Clone URL: https://aur.archlinux.org/network-ups-tools.git (read-only)
Package Base: network-ups-tools
Description: NUT is a collection of programs for monitoring and administering UPS hardware
Upstream URL: http://www.networkupstools.org/
Licenses: GPL2
Submitter: Atsutane
Maintainer: The-Compiler
Last Packager: The-Compiler
Votes: 79
Popularity: 0.262846
First Submitted: 2010-09-21 19:10
Last Updated: 2017-04-28 20:10

Latest Comments

« First ‹ Previous ... 2 3 4 5 6 7 8 Next › Last »

Anonymous comment on 2012-07-11 16:14

"USB drivers requested, but libusb not found." error while trying to compile.
Solved by installing libusb-compat. Dependencies should probably be updated.
To build a new version, change pkgver to 2.6.4 and md5sum to 78d672fbbcd90683e49c667665a95f87

andrej commented on 2012-06-09 14:53

Those udev rules were moved to /usr/lib/udev/rules.d, so --with-udev-dir=/usr/lib/udev might be a better option. Only files created and edited by users hould be in /etc/udev, AFAIK.

dimich commented on 2012-06-03 00:14

Sience udev is replaced with systemd-tools NUT doesn't work with Megatec/Q1 USB device (blazer_usb) from scratch.
Workaround is to copy /lib/udev/rules.d/52-nut-usbups.rules to /etc/udev/rules.d/.
Better solution is to add --with-udev-dir=/etc/udev to the PKGBUILD.

ghen commented on 2012-05-06 07:10

As a workaround I rebuilt my package with "--with-drivers=usbhid-ups" to install only the UPS driver I need.

ghen commented on 2012-05-06 07:07

This package now conflicts with rhino from [extra] (dependency for jre7-openjdk) due to /usr/bin/rhino UPS driver...

Perhaps it's a better idea to install the drivers in another location than /usr/bin?

kite commented on 2011-12-15 16:13

2andrej: not every "UPS's firmware" supports delay before shutdown... So "upscmd shutdown" should be executed only after all filesystems are mounted in readolny and raid arrays are stopped. It's very dangerous to execute it on "/etc/rc.d/upsd stop".

andrej commented on 2011-09-25 01:27

It would be nice to have support for automatic load shutdown on system shutdown. If you do not shut down the load, the UPS keeps powering the machines in their standby mode (which can be tens of watts for enterprise-class servers). This may shorten the battery lifetime due to deep discharge.

All the necessary information is contained in the default comments in /etc/ups/upsmon.conf. When upsmon shuts the system down, it first creates a file called /etc/killpower. The shutdown scripts should then check for this file's existence and shut down the UPS when it's present. This can be (of course) delayed by the UPS's firmware to allow proper shutdown of the hardware. Supposing one has a UPS called 'eaton', a suitable command would look like this:

/usr/bin/upscmd eaton shutdown.return

The delay before shutdown can be configured by driver-specific commands or at driver startup. A command similar to the above could be included in the stop() function of /etc/rc.d/upsd, such as if [ -f /etc/killpower ]; then ... ; fi.

jimduchek commented on 2011-07-19 18:10

Suggest the nut.install also remove the user 'nut' -- a much older version of this package used that instead of 'ups' as the username (but with the same ID -- 55, so the useradd ups fails).

Thanks.

realx commented on 2011-07-18 08:34

updated to 2.6.1-2,
without tcp_wrappers dependency

ghen commented on 2011-07-17 16:33

Could you please rebuild without tcp_wrappers dependency / --without-wrap?