#APCUPSD install
apt-get -y install apcupsd
apt-get install snmp -y
snmpwalk -v2c -c wesups 192.168.1.7
nano /etc/default/apcupsd
ISCONFIGURED=yes
sudo nano /etc/apcupsd/apcupsd.conf
UPSCABLE ether
UPSTYPE snmp
DEVICE 192.168.1.7:161:APC:wesups
service apcupsd restart