Skip to content

collectors ApcupsdCollector

Rob Smith edited this page Oct 29, 2012 · 9 revisions

ApcupsdCollector

Collects the complete status of most American Power Conversion Corp. (APC) UPSes provided you have the apcupsd daemon installed, properly configured and running. It can access status information from any APC UPS attached to the localhost or attached to any computer on the network which is running apcuspd in NIS mode.

Dependencies

  • apcuspd in NIS mode

Options - Generic Options

Setting Default Description Type
metrics LINEV, LOADPCT, BCHARGE, TIMELEFT, BATTV, NUMXFERS, TONBATT, MAXLINEV, MINLINEV, OUTPUTV, ITEMP, LINEFREQ, CUMONBATT, List of metrics. Valid metric keys can be found at (http://www.apcupsd.com/manual/manual.html#status-report-fields) list
hostname localhost Hostname to collect from str
enabled False Enable collecting these metrics bool
port 3551 port to collect from. defaults to 3551 int
byte_unit byte Default numeric output(s) str

Example Output

servers.hostname.apcupsd.localhost.BATTV 27.3
servers.hostname.apcupsd.localhost.BCHARGE 100.0
servers.hostname.apcupsd.localhost.LINEV 124.0
servers.hostname.apcupsd.localhost.LOADPCT 5.0
servers.hostname.apcupsd.localhost.NUMXFERS 0.0
servers.hostname.apcupsd.localhost.TIMELEFT 73.9
servers.hostname.apcupsd.localhost.TONBATT 0.0
Clone this wiki locally