[Nut-upsuser] "upsmon -c fsd" cause system shutdown

Charles Lepple clepple at gmail.com
Mon Sep 14 12:28:19 UTC 2015

On Sep 11, 2015, at 5:21 AM, d tbsky <tbskyd at gmail.com> wrote:
> hi:
>    my testing server has two power supply and attach to two ups. one
> of the ups is connect to the server with usb.
> my upsmon.conf like below:
> # for two ups
> MONITOR ftups at localhost 1 monmaster nutmaster master
> MONITOR ftups at 1 monslave nutslave slave
> # for early shutdown
> NOTIFYCMD /usr/sbin/upssched
>    the early shutdown script use "upsmon -c fsd" to set  FSD to
> master ups. but when testing, the "upsmon -c fsd" not only set FSD to
> ups, it also create /etc/killpower and run SHUTDOWNCMD and terminate
> itself, although I have a live second ups connection.
>    I wonder if there are other commands to set ups FSD? I can not
> find any. only "upsmon -c fsd", but that command seems do too much.

"upsmon -c fsd" sets the FSD flag on all of the UPSes attached to upsd.

In the per-UPS context, FSD means that the UPS was commanded to shut down from an external source (a control panel, for instance).

If you want to experiment with various combinations of OB+LB on multiple UPSes, I would recommend swapping out one or more drivers with dummy-ups.

Charles Lepple
clepple at gmail

More information about the Nut-upsuser mailing list