fork unRAID NUT plugin

This commit is contained in:
dmacias72
2017-04-28 20:14:39 -06:00
parent 93227ee85c
commit 0540297384
28 changed files with 670 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
MODE=standalone
+3
View File
@@ -0,0 +1,3 @@
[ups]
driver=none
port=auto
+1
View File
@@ -0,0 +1 @@
LISTEN 0.0.0.0
+11
View File
@@ -0,0 +1,11 @@
[admin]
password=adminpass
actions=set
actions=fsd
instcmds=all
[monuser]
password=monpass
upsmon master
[slaveuser]
password=slavepass
upsmon slave
+6
View File
@@ -0,0 +1,6 @@
MONITOR ups@localhost 1 monuser monpass master
SHUTDOWNCMD "/usr/local/sbin/powerdown"
POWERDOWNFLAG /etc/ups/flag/killpower
NOTIFYFLAG ONBATT SYSLOG+EXEC
NOTIFYFLAG ONLINE SYSLOG+EXEC
NOTIFYCMD "/etc/ups/notifycmd"
+1
View File
@@ -0,0 +1 @@