[collectd] Collectd 5.8.1 complains about config errors without giving details
Ruben Kerkhof
ruben at rubenkerkhof.com
Tue Mar 10 11:02:15 CET 2020
On Mon, Mar 9, 2020 at 7:29 PM Mitch Patenaude
<mpatenaude at shutterfly.com> wrote:
>
> 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.
Could you show us your config?
Kind regards,
Ruben
More information about the collectd
mailing list