[Nut-upsuser] howto force shutdown if nut-snmp Communications lost
HL at fh-lausitz.de
Tue Dec 30 21:56:42 UTC 2014
>> Howto force shutdown if nut-snmp Communications lost?
>> My 1. suggestion was option DEADTIME, but seem to be information only. (s. below)
> DEADTIME expiration is a critical condition if the UPS is on battery when comms are lost, otherwise you are correct, it is only
> What about a NOTIFYCMD script that checks for COMMBAD or NOCOMM? (passed in $NOTIFYTYPE) You will also need to set the EXEC
> flag on that event.
Thanks for you answer.
NOTIFYCMD NOCOMM works.
but i found any problems:
- nut send NOCOMM, but ups not reachable if switch rebooted
- nut configured 2 ups, but nut send NOCOMM if 1 ups down
Iam written 2 tools 
Details and variants see 
Infos are welcome.
More information about the Nut-upsuser