I have had to rebuild my monitoring server (backups hit with same corruption) and Im having issues with the APC UPSD monitoring with Telegraf.
The APC agent is running on my monitoring server and can query the UPS, telegraf is installed and other instances are working fine, but for some reason it errors every time I try and monitor the APCUPS daemon.
I have tried moving the APC daemon to another computer and running telegraf from another also, but each time I receive this error and cannot find what is wrong as the telefraf.conf file is very simple and minimal for APCUPSD.
IT basically has this for the output plugins. (default for apcupsd)
“# A list of running apcupsd server to connect to.”
“# If not provided will default to tcp://127.0.0.1:3551”
servers = [“tcp://192.168.0.1:3551”]
“## Timeout for dialing server.”
" #timeout = “5s”"
I have tried adding the timeout and various duration,but this error always remains. Has anyone see this before or know how to debug telegraf?
Telegraf 1.14.5 & 1.16.2