b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | #config upsmon 'upsmon' |
| 2 | # option runas nutmon |
| 3 | # option minsupplies 1 |
| 4 | # option shutdowncmd '/usr/sbin/nutshutdown' |
| 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 onlinemsg "online message" |
| 12 | # option onbattmsg "on battery message" |
| 13 | # option lowbattmsg "low battery message" |
| 14 | # option fsdmsg "forced shutdown message" |
| 15 | # option comokmsg "communications restored message" |
| 16 | # option combadmsg "communications bad message" |
| 17 | # option shutdowmsg "shutdown message" |
| 18 | # option replbattmsg "replace battery message" |
| 19 | # option nocommmsg "no communications message" |
| 20 | # option noparentmsg "no parent message" |
| 21 | # option onlinenotify "online notify flag 1|0" |
| 22 | # option onbattnotify "on battery notify flag 1|0" |
| 23 | # option lowbattnotify "low battery notify flag 1|0" |
| 24 | # option fsdnotify "forced shutdown notify flag 1|0" |
| 25 | # option comoknotify "communications restored notify flag 1|0" |
| 26 | # option combadnotify "communications bad notify flag 1|0" |
| 27 | # option shutdownotify "shutdown notify flag 1|0" |
| 28 | # option replbattnotify "replace battery notify flag 1|0" |
| 29 | # option nocommnotify "no communications notify flag 1|0" |
| 30 | # option noparentnotify "no parent notify flag 1|0" |
| 31 | # option rbwarntime 4200 # replace battery warn time |
| 32 | # option nocommwarntime 300 # no communications warn time |
| 33 | # option finaldelay 5 # final delay |
| 34 | # option certpath /path/to/ca/dir |
| 35 | # option certverify 0 |
| 36 | # option forcessl 0 |
| 37 | |
| 38 | #config master |
| 39 | # option upsname upsname |
| 40 | # option hostname localhost |
| 41 | # option port # optional port number |
| 42 | # option powervalue 1 |
| 43 | # option username upsuser |
| 44 | # option password upspassword |
| 45 | |
| 46 | #config slave |
| 47 | # option upsname upsname |
| 48 | # option hostname localhost |
| 49 | # option port # optional port number |
| 50 | # option powervalue 1 |
| 51 | # option username upsuser |
| 52 | # option password upspassword |