[Nut-upsuser] Computer doesn't shutdown,
only broadcasts a message to say low battery
Philip Gaskell
philip at pdgaskell.co.uk
Wed Jul 20 16:58:05 UTC 2005
Hi,
I have a Liebert Powersure Personal XT 700 and have followed the
installation instructions from here
http://www.networkupstools.org/doc/2.0.0/INSTALL.html. I'm pretty sure
I've got the ups.conf, upsd.conf and ups.users correct. I have setup
upsmon.conf as suggested in the installtion guide with the exception of
FINALDELAY which I set to 0 when I found things weren't working correctly.
I have seen the hardware list and know my ups isn't listed so I'm not
expecting great things.
What happens is when I yank the plug the UPS starts beeping correctly,
/usr/local/ups/bin/upsc myupsname at localhost ups.status gives OL. When
the battery starts running out I get a message broadcast on all active
terminals saying battery is low but the system doesn't shutdown.
Wondering if I had `shutdown` and its associated files wrong I changed
the SHUTDOWNCMD from `/sbin/shutdown -h +0` to `touch
/tmp/should.be.shutting.down`, however this file isn't created after the
broadcast message saying the battery is low. `/usr/local/ups/bin/upsc
myupsname at localhost ups.status` gives "OL LB", when the battery is low.
Is there a vital option I have not set, when firing up upsdrvctl, upsd
and upsmon no errors are given.
thanks for any help,
Phil
Oh, by the way I'm running Slackware 10.1 with the 2.6.10 kernel from
/testing. Though I think I'm almost there, perhaps its something to do
with it thinking its got power when its not.
More information about the Nut-upsuser
mailing list