On 20.6.2014 20:58, lee wrote:
Hi,
what type of cable am I supposed to put into apcupsd.conf for an UPS which is connected to a remote computer and monitored over the network?
Hi Lee.
I have two machines powered by one UPS. M1 controls UPS over USB cable, M2 is neighboring machine.
/etc/apcupsd/apcupsd.conf on M1 contains: UPSCABLE usb UPSTYPE usb DEVICE ... NETSERVER on NISIP <M1_ip_address_here> NISPORT 3551 ... /etc/apcupsd/apcupsd.conf on M2 contains: UPSCABLE ether UPSTYPE net DEVICE <M1_ip_address_here>:3551 ... NETSERVER on NISIP 127.0.0.1 NISPORT 3551 ...
This setup works for me. M1 and M2 does correct shutdown on power fail. Maybe this helps.
Vlado