aboutsummaryrefslogtreecommitdiff
path: root/net/nut/files/nut_monitor
blob: a3de4f5de403ac091da6a779409ea3ea65be05a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#config upsmon 'upsmon'
#	option runas nutmon
#	option minsupplies 1
#	option shutdowncmd '/usr/sbin/nutshutdown'
#	option notifycmd /path/to/cmd
#	list defaultnotify SYSLOG # can be SYSLOG or EXEC or IGNORE
#	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"
#	list onlinenotify SYSLOG # can be SYSLOG or EXEC or IGNORE
#	list onbattnotify SYSLOG # can be SYSLOG or EXEC or IGNORE
#	list lowbattnotify SYSLOG # can be SYSLOG or EXEC or IGNORE
#	list fsdnotify SYSLOG # can be SYSLOG or EXEC or IGNORE
#	list comoknotify SYSLOG # can be SYSLOG or EXEC or IGNORE
#	list combadnotify SYSLOG # can be SYSLOG or EXEC or IGNORE
#	list shutdownotify SYSLOG # can be SYSLOG or EXEC or IGNORE
#	list replbattnotify SYSLOG # can be SYSLOG or EXEC or IGNORE
#	list nocommnotify SYSLOG # can be SYSLOG or EXEC or IGNORE
#	list noparentnotify SYSLOG # can be SYSLOG or EXEC or IGNORE
#	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