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: