Closed
Description
Relevant telegraf.conf:
# Monitor APC UPSes connected to apcupsd
[[inputs.apcupsd]]
# A list of running apcupsd server to connect to.
# If not provided will default to tcp://127.0.0.1:3551
servers = ["tcp://127.0.0.1:3551"]
## Timeout for dialing server.
timeout = "5s"
System info:
Telegraf 1.12.0 (git: master 43bb694)
OS: Archlinux
Steps to reproduce:
Based on the Doku there should be an field online
in the plugin output but this is missing.
There is an undokumented field status_flags
in the output.
- telegraf --config /etc/telegraf/telegraf.conf --config-directory /etc/telegraf/telegraf.d/ --input-filter apcupsd --test
Expected behavior:
The field online
should be printed.
Actual behavior:
There is an field status_flags
but no online
.
Additional info:
Example Output:
2019-09-10T07:02:34Z I! Starting Telegraf 1.12.0
> apcupsd,host=pandora,serial=3B0746X61711,status=ONLINE,ups_name=pandora battery_charge_percent=100,battery_voltage=13.5,input_frequency=50,input_voltage=224,internal_temp=29.2,load_percent=16,output_voltage=230,status_flags=83886088i,time_left_ns=594000000000i,time_on_battery_ns=0i 1568098954000000000