packages/net/nut/files/nut_monitor
Daniel F. Dickinson a2f64b3bac nut: Reduce user error with POWERDOWNFLAG
Instead of making POWERDOWNFLAG an uci option the user can
only change it via initscript edits.  This avoids chance for users
to miss the required change to nut-driver when setting an UCI option
for nut-monitor which results in failure to do FSD on the UPS.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
2018-08-29 00:17:19 -04:00

52 lines
1.8 KiB
Text

#config upsmon 'upsmon'
# option runas nutmon
# option minsupplies 1
# option shutdowncmd '/usr/sbin/nutshutdown'
# option notifycmd /path/to/cmd
# list defaultnotify SYSLOG
# option pollfreq 5
# option pollfreqalert 5
# option hostsync 15
# option deadtime 15
# option onlinemsg "online message"
# option onbattmsg "on battery message"
# option lowbattmsg "low battery message"
# option fsdmsg "forced shutdown message"
# option comokmsg "communications restored message"
# option combadmsg "communications bad message"
# option shutdowmsg "shutdown message"
# option replbattmsg "replace battery message"
# option nocommmsg "no communications message"
# option noparentmsg "no parent message"
# option onlinenotify "online notify flag 1|0"
# option onbattnotify "on battery notify flag 1|0"
# option lowbattnotify "low battery notify flag 1|0"
# option fsdnotify "forced shutdown notify flag 1|0"
# option comoknotify "communications restored notify flag 1|0"
# option combadnotify "communications bad notify flag 1|0"
# option shutdownotify "shutdown notify flag 1|0"
# option replbattnotify "replace battery notify flag 1|0"
# option nocommnotify "no communications notify flag 1|0"
# option noparentnotify "no parent notify flag 1|0"
# option rbwarntime 4200 # replace battery warn time
# option nocommwarntime 300 # no communications warn time
# option finaldelay 5 # final delay
# option certpath /path/to/ca/dir
# option certverify 0
# option forcessl 0
#config master
# option upsname upsname
# option hostname localhost
# option port # optional port number
# option powervalue 1
# option username upsuser
# option password upspassword
#config slave
# option upsname upsname
# option hostname localhost
# option port # optional port number
# option powervalue 1
# option username upsuser
# option password upspassword