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]
So i did test over the cmd : upsmon -c fsd , and the proxmox box as client do shutdown. But if communication fail it don't do anything, it just if the ups get the battery dead. I do see other config as :
nano /etc/nut/upsmon.conf
-=-=-=-=-
sudo nano /etc/nut/upssched.conf
is a script is needed ? Do you have an example or you just used nut at when no more power in the ups, then the proxmox box go for shutoff ?