I've setup nas4free (latest version 11.0.0.4, which has NUT 2.7.4) in a VM and configured it via webinterface to my APC UPS and set "shutdown mode" to "UPS goes on battery" with a timer of 30s. Then I started runtime calibration on the UPS and after 30s nas4free has shut down! I think this is not the correct behavior, since the status was "OB CAL". The system should not shut down, if the UPS is on battery due to a runtime calibration running.
Can someone help me understand, if this is a wrong behavior of NUT, or a wrong configuration of NUT by nas4free? Here are the configuration files of NUT, generated by nas4free: ----------------------------------------------------------------------------------------------------------- nas4free: etc# more ups.conf [ups] driver = snmp-ups port = 192.168.123.92 mibs=apcc ----------------------------------------------------------------------------------------------------------- nas4free: etc# more upsd.conf MAXAGE 15 MAXCONN 1024 LISTEN 127.0.0.1 3493 LISTEN ::1 3493 ----------------------------------------------------------------------------------------------------------- nas4free: etc# more upsmon.conf MONITOR ups@localhost 1 root <secret> master MINSUPPLIES 1 SHUTDOWNCMD "/sbin/shutdown -p now" NOTIFYCMD /usr/local/sbin/upssched POLLFREQ 5 POLLFREQALERT 5 HOSTSYNC 15 DEADTIME 15 POWERDOWNFLAG /var/etc/killpower NOTIFYFLAG ONLINE SYSLOG+WALL+EXEC NOTIFYFLAG ONBATT SYSLOG+WALL+EXEC NOTIFYFLAG LOWBATT SYSLOG+WALL+EXEC NOTIFYFLAG FSD SYSLOG+WALL+EXEC NOTIFYFLAG COMMOK SYSLOG+WALL+EXEC NOTIFYFLAG COMMBAD SYSLOG+WALL+EXEC NOTIFYFLAG SHUTDOWN SYSLOG+WALL+EXEC NOTIFYFLAG REPLBATT SYSLOG+WALL+EXEC NOTIFYFLAG NOCOMM SYSLOG+WALL+EXEC NOTIFYFLAG NOPARENT SYSLOG+WALL+EXEC RBWARNTIME 43200 NOCOMMWARNTIME 300 FINALDELAY 5 ----------------------------------------------------------------------------------------------------------- nas4free: etc# more upssched.conf CMDSCRIPT /usr/local/bin/upssched-cmd PIPEFN /var/run/upssched.pipe LOCKFN /var/run/upssched.lock AT COMMOK * EXECUTE notify AT COMMBAD * EXECUTE notify AT REPLBATT * EXECUTE notify AT NOCOMM * EXECUTE notify AT FSD * EXECUTE forced-shutdown AT NOPARENT * EXECUTE notify AT SHUTDOWN * EXECUTE notify AT ONLINE * CANCEL-TIMER shutdown AT ONLINE * EXECUTE resume AT ONBATT * START-TIMER shutdown 30 AT ONBATT * EXECUTE shutdown-warning AT LOWBATT * START-TIMER shutdown AT LOWBATT * EXECUTE shutdown-warning ________________________ This email was scanned by Bitdefender _______________________________________________ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser