--
MikeGore - 04 Mar 2013
APCUPSD setup and networking notes for Ubuntu
This document contains minimal basic instructions for using a standalone or cluster managed networked UPS. Please See the documentation link for full details.
External documentation
Installation
Configuration
Standalone USB UPS
- Make the following changes to /etc/default/apcupsd
- Make the following changes to /etc/apcupsd/apcupsd.conf
- UPSCABLE usb
- UPSTYPE usb
- DEVICE
Network Server
In this example we have two private networks we want to share APC status on
- Make the following changes to /etc/default/apcupsd
- Make the following changes to /etc/apcupsd/apcupsd.conf
- UPSCABLE usb
- UPSTYPE usb
- DEVICE
- NETSERVER on*
- NISIP 127.0.0.1 10.0.2.1 192.168.2.1
- You must always have 127.0.0.1 listed
Network Client
We will listen on the 10.0.2.1 interface example above
- Make the following changes to /etc/default/apcupsd
- Make the following changes to /etc/apcupsd/apcupsd.conf
- UPSCABLE ether
- UPSTYPE net
- DEVICE 10.0.2.1:3551
- POLLTIME 10
- Note: Likely want to poll quickly
Running and Testing
Starting service
Stopping service
Getting Status - gives LOTS of detailed information on the UPS state