Skip to content

collectors UPSCollector

Rob Smith edited this page Oct 27, 2012 · 12 revisions

UPSCollector

This class collects data from NUT, a UPS interface for linux.

Dependencies

  • nut/upsc to be installed, configured and running.

Options

  • Generic Options
  • bin: The path to the upsc binary
  • byte_unit: Default numeric output(s)
  • ups_name: The name of the ups to collect data for
  • sudo_cmd: Path to sudo
  • use_sudo: Use sudo?
  • enabled: Enable collecting these metrics

Example Output

servers.hostname.battery.charge.charge 100.0
servers.hostname.battery.charge.low 10.0
servers.hostname.battery.charge.warning 20.0
servers.hostname.battery.runtime.low 300.0
servers.hostname.battery.runtime.runtime 960.0
servers.hostname.battery.voltage.nominal 12.0
servers.hostname.battery.voltage.voltage 4.9
servers.hostname.driver.parameter.pollfreq 30.0
servers.hostname.driver.parameter.pollinterval 2.0
servers.hostname.driver.version.internal 0.34
servers.hostname.input.transfer.high 0.0
servers.hostname.input.transfer.low 0.0
servers.hostname.input.voltage.nominal 120.0
servers.hostname.input.voltage.voltage 121.0
servers.hostname.output.voltage.voltage 120.0
servers.hostname.ups.delay.shutdown 20.0
servers.hostname.ups.delay.start 30.0
servers.hostname.ups.load.load 46.0
servers.hostname.ups.productid.productid 501.0
servers.hostname.ups.realpower.nominal 330.0
servers.hostname.ups.timer.shutdown -60.0
servers.hostname.ups.timer.start 0.0
servers.hostname.ups.vendorid.vendorid 764.0
Clone this wiki locally