[Nut-upsuser] Re: Computer doesn't shutdown, only broadcasts a message to say low battery

Philip Gaskell philip at pdgaskell.co.uk
Thu Jul 21 09:42:51 UTC 2005


Hi,

thanks for the help.

I am using the Liebert driver. Does anyone know of a better driver to 
use with this UPS?

I have managed to get it working by a rather unelegant hack. In 
upsmon.conf I set the following options:

NOTIFYCMD "/sbin/shutdown -h now"
NOTIFYFLAG LOWBATT WALL+EXEC

which does work and will do for now. I'll have a look at the source for 
the Liebert driver when I have a bit more free time and see what I can 
come up with. The computer invlolved isn't an a critical environment 
(hence the cheap domestic UPS) so waiting 5 mins after the powers back 
on to ensure the LB signal before booting the computer isn't present 
isn't too much of a problem

Phil

arnaud.quette at mgeups.com wrote:
> Hi,
> 
> 
>>I have a Liebert Powersure Personal XT 700 and have followed the
>>installation instructions from here
>>...
>>I have seen the hardware list and know my ups isn't listed so I'm not
>>expecting great things.
>>
>>...
>>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.
> 
> 
> this problem comes from the fact that your unit isn't
> well supported.
> 
> To launch a shutdown, upsmon need to be instructed
> first with an "OB" flag, and then an "OB LB".
> Otherwise, if you have "OL LB", you might have rebooted,
> and the system don't need to be shutdown as the power
> is present... So we clearly can't shutdown upon "OL LB"...
> 
> So the only solution for you is to look at the driver you've used
> (BTW, which one did you use?), and to adapt it to better handle
> your UPS... As a temporary solution, you might have a look at
> upssched to handle your situation, and shutdown upon "OL LB",
> calling "upsmon -c fsd"
> 
> Arnaud
> ---
> Linux / Unix Expert - MGE UPS SYSTEMS - R&D Dpt
> OpenSource Developer - http://arnaud.quette.free.fr/
> Debian Developer - http://people.debian.org/~aquette/
> ... and much more ...
> 
> 
> 
> _______________________________________________
> Nut-upsuser mailing list
> Nut-upsuser at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser
> 



More information about the Nut-upsuser mailing list