Skip to content

UPSD

Auto-Discovery
Health Check
Metrics
Logs

The agent gathers metrics on UPS, you need to install and configure nut-server.

To configure NUT, please refer to the documentation.

You may need to provide the UPSD user credentials to the agent depending on your configuration.

If some auto-detected parameters are wrong, you can manually override them by adding the following to /etc/glouton/conf.d/99-local.conf:

service:
[...]
- type: "upsd"
address: "127.0.0.1"
port: 3128
# UPSD user credentials.
username: ""
password: ""

The following metrics are gathered:

MetricDescription
service_statusStatus of UPSD
upsd_battery_statusBattery status. The status is critical when the UPS is overloaded, on battery and when the battery is low or needs to be replaced.
upsd_status_flagsStatus flags, see apcupsd for details.
upsd_battery_voltageBattery voltage
upsd_input_voltageInput voltage
upsd_output_voltageOutput voltage
upsd_load_percentLoad of the UPS in percent
upsd_battery_charge_percentBattery charge in percent
upsd_internal_tempInternal temperature in °C
upsd_input_frequencyInput frequency in Hz
upsd_time_left_secondsTime left on battery in seconds
upsd_time_on_battery_secondsTime spent on batttery in seconds