[collectd] Collectd 5.8.1 complains about config errors without giving details

Mitch Patenaude mpatenaude at shutterfly.com
Mon Mar 9 19:28:49 CET 2020


I’m running collectd-5.8.1-5.el7.x86_64 on CentOS 7.7.  I have a problem on two machines where collectd complains on startup about config errors:

[root at xapp04-lv mpatenaude]# collectd
plugin_load: plugin "cpu" successfully loaded.
plugin_load: plugin "interface" successfully loaded.
plugin_load: plugin "load" successfully loaded.
plugin_load: plugin "memory" successfully loaded.
Error: Reading the config file failed!
Read the logs for details.

However, there aren't any errors in the logs:
Mar 09 11:23:15 xapp04-lv collectd[63551]: plugin_load: plugin "syslog" successfully loaded.
Mar 09 11:23:15 xapp04-lv collectd[63551]: plugin_load: plugin "apache" successfully loaded.
Mar 09 11:23:15 xapp04-lv collectd[63551]: plugin_load: plugin "df" successfully loaded.
Mar 09 11:23:15 xapp04-lv collectd[63551]: plugin_load: plugin "perl" successfully loaded.
Mar 09 11:23:15 xapp04-lv collectd[63551]: perl: Initializing Perl interpreter...
Mar 09 11:23:15 xapp04-lv collectd[63551]: Reading Config file ...
Mar 09 11:23:15 xapp04-lv collectd[63551]: plugin_load: plugin "processes" successfully loaded.
Mar 09 11:23:15 xapp04-lv collectd[63551]: plugin_load: plugin "python" successfully loaded.
Mar 09 11:23:15 xapp04-lv collectd[63551]: plugin_load: plugin "aggregation" successfully loaded.                                                                                         
Mar 09 11:23:15 xapp04-lv collectd[63551]: plugin_load: plugin "contextswitch" successfully loaded.
Mar 09 11:23:15 xapp04-lv collectd[63551]: plugin_load: plugin "disk" successfully loaded.
Mar 09 11:23:15 xapp04-lv collectd[63551]: plugin_load: plugin "fhcount" successfully loaded.
Mar 09 11:23:15 xapp04-lv collectd[63551]: plugin_load: plugin "match_regex" successfully loaded.
Mar 09 11:23:15 xapp04-lv collectd[63551]: plugin_load: plugin "protocols" successfully loaded.
Mar 09 11:23:15 xapp04-lv collectd[63551]: plugin_load: plugin "swap" successfully loaded.
Mar 09 11:23:15 xapp04-lv collectd[63551]: plugin_load: plugin "target_replace" successfully loaded.
Mar 09 11:23:15 xapp04-lv collectd[63551]: plugin_load: plugin "uptime" successfully loaded.
Mar 09 11:23:15 xapp04-lv collectd[63551]: plugin_load: plugin "vmem" successfully loaded.
Mar 09 11:23:15 xapp04-lv collectd[63551]: plugin_load: plugin "write_graphite" successfully loaded.

I've tried commenting out various parts of the config file without success.

Any idea what could be going wrong?  I have been looking for a way to increase the verbosity of the logging, but haven't found it.

Thanks,
  -- Mitch Patenaude.   mpatenaude at shutterfly.com



More information about the collectd mailing list