Apcupsd (American Power Conversion uninterruptible power supply daemon) is a utility that runs on Linux, UNIX, macOS and Windows. Apcupsd can be used for power management and control. As an example, during a power failure, Apcupsd will inform users about the failure and that a shutdown has occurred and therefore can be used for power management and control. Apcupsd is licensed under the GPL version 2.

Why use a Telegraf plugin for Apcupsd?

Power supply monitoring is important to ensure your networks, servers, and overall infrastructure is operational in the event of a failure. An Uninterruptible Power Supply (UPS) is a backup power source that activates when the main source of power fails. Even if you have a UPS, it is important that you proactively monitor your UPS to help you get through a power outage without any interruptions. The Apcupsd Telegraf plugin collects metrics and events to help you get critical insights on battery charge and performance and allow you to set warnings depending on the thresholds you set. You can also set alerts to warn you when a battery needs to be replaced or when a battery cannot sustain the requirements of a network.

How to monitor Apcupsd using the Telegraf plugin

Getting started with the Apcupsd Telegraf plugin is simple — provide a list of running apcupsd servers to connect, and Telegraf will start ingesting metrics into InfluxDB. You can also set a timeout for the server.

Key Apcupsd metrics to use for monitoring

Some of the important Apcupsd metrics that you should proactively monitor include:

  • status_flags (status-bits)
  • input_voltage
  • load_percent
  • battery_charge_percent
  • time_left_ns
  • output_voltage
  • internal_temp
  • battery_voltage
  • input_frequency
  • time_on_battery_ns
  • battery_date
  • nominal_input_voltage
  • nominal_battery_voltage
  • nominal_power
  • firmware

For more information, please check out the documentation.

Project URL   Documentation

Related Resources

Tomcat Monitoring Template

How to use the Tomcat Monitoring Template

Infrastructure and application monitoring

The solution to monitor your entire infrastructure stack, including servers, containers, databases and cloud services.

Customer Case Study: PayPal

How PayPal built a resilient monitoring solution that works at scale using InfluxDB Enterprise in their environment.

Scroll to Top