`sadc_path 'is not defined in` * system.SystemStats

telegraf

#1

I installed telegraf 1.9 on centos 6.8.
telegraf.conf to use inputs.sysstat

# [[inputs.sysstat]]
    sadc_path = "/ usr / lib64 / sa / sadc"

The following error occurred:
[telegraf] Error running agent: Error parsing /etc/telegraf/telegraf.conf, line 3467: field corresponding to sadc_path 'is not defined in * system.SystemStats'

Help


#2

The # indicates a comment in TOML; right now the [[inputs.sysstat]] section of your config file is still commented out, which deactivates the plugin. In order to activate it, uncomment the section.

I suspect you will also have to remove the spaces from the sadc_path.

[[inputs.sysstat]]
  sadc_path = "/usr/libr64/sa/sadc"