[Nut-upsuser] upssched script doesn't start on event [SOLVED]

Arnaud Quette aquette.dev at gmail.com
Wed Jun 27 16:15:45 UTC 2012


Hi Anna,

2012/6/25 Anna Skorokhodova (Yandex) <anatanna at yandex.ru>

> Dear Roger, Thank you for your reply.
>
> This was a permission error.
>

just to be sure, for other members, was it a "chmod 770
/var/run/nut/upssched/" or anything similar?


> PS: Do you know is there any possibility to simulate UPS to go to OB
> without pulling out the power plug from UPS? (any test command to upsmon to
> generate OB or LB event) I need to test upssched activities but UPS-box is
> located under the roof.
>

http://www.networkupstools.org/docs/user-manual.chunked/ar01s06.html#Shutdown_design
you will especially be interest in "upsmon -c fsd"

another possibility is using the dummy-ups driver:
http://www.networkupstools.org/docs/developer-guide.chunked/ar01s10.html#dev-simu

cheers,
Arnaud
-- 
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org
Debian Developer - http://www.debian.org
Free Software Developer - http://arnaud.quette.free.fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20120627/a419c87f/attachment.html>


More information about the Nut-upsuser mailing list