apcupsd wip
This commit is contained in:
parent
ec1b52aa2f
commit
95e00d4d71
2 changed files with 12 additions and 2 deletions
10
bundles/apcupsd/README.md
Normal file
10
bundles/apcupsd/README.md
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
http://www.apcupsd.org/manual/manual.html#power-down-during-shutdown
|
||||||
|
|
||||||
|
- onbattery: power lost
|
||||||
|
- battery drains
|
||||||
|
- when BATTERYLEVEL or MINUTES threshold is reached, server is shut down and
|
||||||
|
the ups is issued to cut the power
|
||||||
|
- when the mains power returns, the ups will reinstate power to the server
|
||||||
|
- the server will reboot
|
||||||
|
|
||||||
|
NOT IMPLEMENTED
|
|
@ -146,12 +146,12 @@ ONBATTERYDELAY 6
|
||||||
# If during a power failure, the remaining battery percentage
|
# If during a power failure, the remaining battery percentage
|
||||||
# (as reported by the UPS) is below or equal to BATTERYLEVEL,
|
# (as reported by the UPS) is below or equal to BATTERYLEVEL,
|
||||||
# apcupsd will initiate a system shutdown.
|
# apcupsd will initiate a system shutdown.
|
||||||
BATTERYLEVEL 5
|
BATTERYLEVEL 10
|
||||||
|
|
||||||
# If during a power failure, the remaining runtime in minutes
|
# If during a power failure, the remaining runtime in minutes
|
||||||
# (as calculated internally by the UPS) is below or equal to MINUTES,
|
# (as calculated internally by the UPS) is below or equal to MINUTES,
|
||||||
# apcupsd, will initiate a system shutdown.
|
# apcupsd, will initiate a system shutdown.
|
||||||
MINUTES 3
|
MINUTES 5
|
||||||
|
|
||||||
# If during a power failure, the UPS has run on batteries for TIMEOUT
|
# If during a power failure, the UPS has run on batteries for TIMEOUT
|
||||||
# many seconds or longer, apcupsd will initiate a system shutdown.
|
# many seconds or longer, apcupsd will initiate a system shutdown.
|
||||||
|
|
Loading…
Reference in a new issue