fork unRAID NUT plugin
This commit is contained in:
1
source/nut/etc/ups/nut.conf
Executable file
1
source/nut/etc/ups/nut.conf
Executable file
@ -0,0 +1 @@
|
||||
MODE=standalone
|
3
source/nut/etc/ups/ups.conf
Executable file
3
source/nut/etc/ups/ups.conf
Executable file
@ -0,0 +1,3 @@
|
||||
[ups]
|
||||
driver=none
|
||||
port=auto
|
1
source/nut/etc/ups/upsd.conf
Executable file
1
source/nut/etc/ups/upsd.conf
Executable file
@ -0,0 +1 @@
|
||||
LISTEN 0.0.0.0
|
11
source/nut/etc/ups/upsd.users
Executable file
11
source/nut/etc/ups/upsd.users
Executable 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
6
source/nut/etc/ups/upsmon.conf
Executable 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
source/nut/etc/ups/upssched.conf
Executable file
1
source/nut/etc/ups/upssched.conf
Executable file
@ -0,0 +1 @@
|
||||
|
Reference in New Issue
Block a user