On Dec 7, 2015, at 4:21 PM, Gernot Zander <[email protected]> wrote:
> 
> Hi,
> 
> am  7 Dez schrieb Marks, Connor:
>> Well I just need to monitor the UPS battery for testing and I do about
>> 10 UPS's a day. So having to restart my computer every time gets old
>> real quick.
> 
> In that case - what about not starting nut-client (upsmon) at all? upsc
> (to see the output of the ups) requires nut-server only.
> 
> Or, if you really want upsmon:
> - Set up a dummy ups _and_ the ups to be tested.
> - in upsmon.conf set
> MONITOR dummyups@localhost 1 monmaster masterpass master
> MONITOR  testups@localhost 0 monmaster masterpass master
> and
> MINSUPPLIES 1
> 
> That way the dummy ups will "power your computer" and the testups will
> supply 0 power so its power outage gets ignored.

To simplify, you could eliminate "dummyups" and use "MINSUPPLIES 0".

Or Rob's suggestion of changing "SHUTDOWNCMD" would work - it really depends on 
what portion of upsmon you are still using (if at all). As Gernot mentioned, 
upsc does not require upsmon, and neither does upslog. (I can't remember if you 
mentioned what flavor of Linux you are using, but the service names 
("nut-server" for upsd, and "ups-client" for upsmon) might be slightly 
different.)

-- 
Charles Lepple
clepple@gmail




_______________________________________________
Nut-upsdev mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsdev

Reply via email to