apt-get install nut
- Edit
/etc/nut/nut.conf
:
MODE=netclient
- Edit
/etc/nut/upsmon.conf
:MONITOR <system> <powervalue> <username> <password> ("master"|"slave")
:
MONITOR [email protected] 1 upsmon password slave
- Start monitoring:
upsmon start
- To check UPS status:
upsc <name>
for direct attached units orupsc <name>@<address>
for remote
upsc [email protected]
This is nice.