apt-get install nut
- Edit
/etc/nut/nut.conf:
MODE=netclient
- Edit
/etc/nut/upsmon.conf:MONITOR <system> <powervalue> <username> <password> ("master"|"slave"):
MONITOR ups@10.2.0.2 1 upsmon password slave
- Start monitoring:
upsmon start
- To check UPS status:
upsc <name>for direct attached units orupsc <name>@<address>for remote
upsc ups@10.2.0.2
Wow, this is way simpler than I thought. Looked everywhere for this, thank you!