[collectd] Collectd crashes with invalid configuration file

Alessandro Iurlano alessandro.iurlano at gmail.com
Thu Sep 11 14:21:15 CEST 2008


Collectd crashes if I have this in my collectd configuration:
<Plugin filecount>
  <Directory "/var/qmail">
     Instance "Qmail queue"
#       <Directory "/path/to/dir">
#               Instance "foodir"
#               Name "*.conf"
#               MTime "-5m"
#               Size "+10k"
#  </Directory>               <----  NOT A TYPO
</Plugin>

If you remove the # from the </Directory> line, collectd starts
without problems.
This is /var/log/messages content:

collectdmon[26978]: Warning: collectd terminated with exit status 1
collectdmon[26978]: Warning: restarting collectd
collectdmon[26978]: Warning: collectd terminated with exit status 1
collectdmon[26978]: Warning: restarting collectd
collectdmon[26978]: Warning: collectd terminated with exit status 1
collectdmon[26978]: Warning: restarting collectd
collectdmon[26978]: Warning: collectd terminated with exit status 1
collectdmon[26978]: Warning: restarting collectd
collectdmon[26978]: Warning: collectd terminated with exit status 1
collectdmon[26978]: Error: collectd is respawning too fast - disabled
for 300 seconds


Regards,
Alessandro



More information about the collectd mailing list