lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

nut_monitor (1866B)


      1 #config upsmon 'upsmon'
      2 #	option runas run-as-user
      3 #	option minsupplies 1
      4 #	option shutdowncmd /sbin/halt
      5 #	option notifycmd /path/to/cmd
      6 #	list defaultnotify SYSLOG
      7 #	option pollfreq 5
      8 #	option pollfreqalert 5
      9 # 	option hostsync 15
     10 #	option deadtime 15
     11 #	option powerdownflags /var/run/killpower
     12 #	option onlinemsg "online message"
     13 #	option onbattmsg "on battery message"
     14 #	option lowbattmsg "low battery message"
     15 #	option fsdmsg "forced shutdown message"
     16 #	option comokmsg "communications restored message"
     17 #	option combadmsg "communications bad message"
     18 #	option shutdowmsg "shutdown message"
     19 #	option replbattmsg "replace battery message"
     20 #	option nocommmsg "no communications message"
     21 #	option noparentmsg "no parent message"
     22 #	option onlinenotify "online notify flag 1|0"
     23 #	option onbattnotify "on battery notify flag 1|0"
     24 #	option lowbattnotify "low battery notify flag 1|0"
     25 #	option fsdnotify "forced shutdown notify flag 1|0"
     26 #	option comoknotify "communications restored notify flag 1|0"
     27 #	option combadnotify "communications bad notify flag 1|0"
     28 #	option shutdownotify "shutdown notify flag 1|0"
     29 #	option replbattnotify "replace battery notify flag 1|0"
     30 #	option nocommnotify "no communications notify flag 1|0"
     31 #	option noparentnotify "no parent notify flag 1|0"
     32 #	option rbwarntime 4200 # replace battery warn time
     33 #	option nocommwarntime 300 # no communications warn time
     34 #	option finaldelay 5 # final delay
     35 #	option certpath /path/to/ca/dir
     36 #	option certverify 0
     37 #	option forcessl 0
     38 
     39 #config master
     40 #	option upsname upsname
     41 #	option hostname localhost
     42 #	option port # optional port number
     43 #	option powervalue 1
     44 #	option username upsuser
     45 #	option password upspassword
     46 
     47 #config slave
     48 #	option upsname upsname
     49 #	option hostname localhost
     50 #	option port # optional port number
     51 #	option powervalue 1
     52 #	option username upsuser
     53 #	option password upspassword
     54