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
source/nut/etc/ups/nut.conf Executable file
View File

@ -0,0 +1 @@
MODE=standalone

3
source/nut/etc/ups/ups.conf Executable file
View File

@ -0,0 +1,3 @@
[ups]
driver=none
port=auto

1
source/nut/etc/ups/upsd.conf Executable file
View File

@ -0,0 +1 @@
LISTEN 0.0.0.0

11
source/nut/etc/ups/upsd.users Executable file
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
source/nut/etc/ups/upsmon.conf Executable file
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"

View File

@ -0,0 +1 @@