[Nut-upsdev] Stopping Machine powering off

Gernot Zander
Mon, 07 Dec 2015 21:21:34 -0000

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