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:

Metric Description
service_status Status of UPSD
upsd_battery_status Battery 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_flags Status flags, see apcupsd for details.
upsd_battery_voltage Battery voltage
upsd_input_voltage Input voltage
upsd_output_voltage Output voltage
upsd_load_percent Load of the UPS in percent
upsd_battery_charge_percent Battery charge in percent
upsd_internal_temp Internal temperature in degrees Celsius
upsd_input_frequency Input frequency in Hz
upsd_time_left_seconds Time left on battery in seconds
upsd_time_on_battery_seconds Time spent on battery in seconds