...
Code Block |
---|
UPSNAME MyUPS
UPSCABLE usb
UPSTYPE usb
DEVICE
NETSERVER on
NISIP 0.0.0.0
NISPORT 3551
#NISPORT 3493
# If during a power failure, the remaining battery percentage
# (as reported by the UPS) is below or equal to BATTERYLEVEL,
# apcupsd will initiate a system shutdown.
BATTERYLEVEL 50
# If during a power failure, the remaining runtime in minutes
# (as calculated internally by the UPS) is below or equal to MINUTES,
# apcupsd, will initiate a system shutdown.
MINUTES 10 |
Restart apcupsd
Code Block |
---|
$ /etc/init.d/apcupsd restart |
...
Code Block |
---|
UPSCABLE ether
UPSTYPE net
#DEVICE <masterIP>:<port>
DEVICE 192.168.1.50:3551
# If during a power failure, the remaining battery percentage
# (as reported by the UPS) is below or equal to BATTERYLEVEL,
# apcupsd will initiate a system shutdown.
BATTERYLEVEL 50
# If during a power failure, the remaining runtime in minutes
# (as calculated internally by the UPS) is below or equal to MINUTES,
# apcupsd, will initiate a system shutdown.
MINUTES 10
|
Restart apcupsd
Code Block |
---|
$ /etc/init.d/apcupsd restart |
...