[Nut-upsdev] Stopping Machine powering off

Gernot Zander debian at scorpio.in-berlin.de
Mon Dec 7 21:21:34 UTC 2015


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 at localhost 1 monmaster masterpass master
MONITOR  testups at 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.

CU,
Gernot





More information about the Nut-upsdev mailing list