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
client:
upsmon.conf>POLLFREQ(5 sec by default)server:
ups.conf>pollinterval(2 sec by default)Although, full doc is worth the time and not too long/complex as other
manentries often get:https://networkupstools.org/docs/man/ups.conf.html
https://networkupstools.org/docs/man/upsmon.conf.html