Displaying 2 results from an estimated 2 matches for "_notifymessage".
2017 Jan 11
0
NUT Client shuts down when performing runtime calibration on APC UPS
...sed: dash, bash, csh, ksh, ... For example
#!/bin/bash
There seem to be too many case statements in this script.
> case "${1}" in
> shutdown-warning)
> _shutdowntimer=`configxml_get "//ups/shutdowntimer"`;
> _message="${_notifymessage}.
> Shutdown imminent in ${_shutdowntimer} seconds.";;
>
> shutdown)
This is where a test looking for the letters "CAL" in ups.status is
needed. If found, then issue a modified message.
> _message="${_notifymessage}.
> Shutdown in progres...
2017 Jan 11
3
NUT Client shuts down when performing runtime calibration on APC UPS
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