apc ups.png
Data is collected using Telegraf from apcupsd, which communicates with the UPS.
There is no need for any special configuration, just enable the apcupsd input in the Telegraf.
Tested with USB connected APC UPS categories: Back-UPS RS and Back-UPS CS.