2024-09-13 04:56:15 +00:00
|
|
|
# TODO: setup credentials
|
2024-09-15 22:12:43 +00:00
|
|
|
MONITOR {{ nut_client.ups }}@{{ hostvars[nut_server.ansible_host]['ansible_default_ipv4']['address'] }} 1 monuser admin slave
|
2024-09-13 04:56:15 +00:00
|
|
|
|
|
|
|
|
|
|
|
MINSUPPLIES 1
|
|
|
|
SHUTDOWNCMD "/sbin/shutdown -h +0"
|
|
|
|
NOTIFYCMD /usr/sbin/upssched
|
|
|
|
POLLFREQ 5
|
|
|
|
POLLFREQALERT 5
|
|
|
|
HOSTSYNC 15
|
|
|
|
DEADTIME 15
|
|
|
|
POWERDOWNFLAG /run/killpower
|
|
|
|
|
|
|
|
NOTIFYFLAG ONLINE SYSLOG+WALL+EXEC
|
|
|
|
NOTIFYFLAG ONBATT SYSLOG+WALL+EXEC
|
|
|
|
NOTIFYFLAG LOWBATT SYSLOG+WALL+EXEC
|
|
|
|
|
|
|
|
RBWARNTIME 43200
|
|
|
|
NOCOMMWARNTIME 300
|
|
|
|
|
|
|
|
FINALDELAY 5
|