Uploaded image for project: 'TrueNAS'
  1. TrueNAS
  2. NAS-104580

collectd is spamming /var/log/messages

    XMLWordPrintable

Details

    • TFE-402-53808

    Description

      Ever since the rrdcached plugin was added to collectd, if we fail to start rrdcached but start collectd, /var/log/messages is spammed by collectd. It does this at such a violent rate, that we lose access to all /var/log/message* because it rolls them over so quickly.

      We need to prevent collectd from spamming at such a high rate.

       

      Messages that fill up the logs are below:

       

      Jan  3 14:04:32 tn21a collectd[39567]: rrdcached plugin: Failed to connect to RRDCacheD at unix:/var/run/rrdcached.sock: Unable to connect to rrdcached: No such file or directory (status=2)
      Jan  3 14:04:32 tn21a collectd[39567]: rrdcached plugin: Failed to connect to RRDCacheD at unix:/var/run/rrdcached.sock: Unable to connect to rrdcached: No such file or directory (status=2)
      Jan  3 14:04:32 tn21a collectd[39567]: rrdcached plugin: Failed to connect to RRDCacheD at unix:/var/run/rrdcached.sock: Unable to connect to rrdcached: No such file or directory (status=2)
      Jan  3 14:04:32 tn21a collectd[39567]: rrdcached plugin: Failed to connect to RRDCacheD at unix:/var/run/rrdcached.sock: Unable to connect to rrdcached: No such file or directory (status=2)
      Jan  3 14:04:32 tn21a collectd[39567]: rrdcached plugin: Failed to connect to RRDCacheD at unix:/var/run/rrdcached.sock: Unable to connect to rrdcached: No such file or directory (status=2)
      Jan  3 14:04:32 tn21a collectd[39567]: rrdcached plugin: Failed to connect to RRDCacheD at unix:/var/run/rrdcached.sock: Unable to connect to rrdcached: No such file or directory (status=2)
      Jan  3 14:04:32 tn21a collectd[39567]: rrdcached plugin: Failed to connect to RRDCacheD at unix:/var/run/rrdcached.sock: Unable to connect to rrdcached: No such file or directory (status=2)
      Jan  3 14:04:32 tn21a collectd[39567]: rrdcached plugin: Failed to connect to RRDCacheD at unix:/var/run/rrdcached.sock: Unable to connect to rrdcached: No such file or directory (status=2)
      Jan  3 14:04:32 tn21a collectd[39567]: rrdcached plugin: Failed to connect to RRDCacheD at unix:/var/run/rrdcached.sock: Unable to connect to rrdcached: No such file or directory (status=2)
      Jan  3 14:04:32 tn21a collectd[39567]: rrdcached plugin: Failed to connect to RRDCacheD at unix:/var/run/rrdcached.sock: Unable to connect to rrdcached: No such file or directory (status=2)
      Jan  3 14:04:32 tn21a collectd[39567]: rrdcached plugin: Failed to connect to RRDCacheD at unix:/var/run/rrdcached.sock: Unable to connect to rrdcached: No such file or directory (status=2)
      Jan  3 14:04:32 tn21a collectd[39567]: rrdcached plugin: Failed to connect to RRDCacheD at unix:/var/run/rrdcached.sock: Unable to connect to rrdcached: No such file or directory (status=2)
      Jan  3 14:04:32 tn21a collectd[39567]: rrdcached plugin: Failed to connect to RRDCacheD at unix:/var/run/rrdcached.sock: Unable to connect to rrdcached: No such file or directory (status=2)
      Jan  3 14:04:32 tn21a collectd[39567]: rrdcached plugin: Failed to connect to RRDCacheD at unix:/var/run/rrdcached.sock: Unable to connect to rrdcached: No such file or directory (status=2)
      Jan  3 14:04:32 tn21a collectd[39567]: rrdcached plugin: Failed to connect to RRDCacheD at unix:/var/run/rrdcached.sock: Unable to connect to rrdcached: No such file or directory (status=2)
      Jan  3 14:04:32 tn21a collectd[39567]: rrdcached plugin: Failed to connect to RRDCacheD at unix:/var/run/rrdcached.sock: Unable to connect to rrdcached: No such file or directory (status=2)
      Jan  3 14:04:32 tn21a collectd[39567]: rrdcached plugin: Failed to connect to RRDCacheD at unix:/var/run/rrdcached.sock: Unable to connect to rrdcached: No such file or directory (status=2)
      Jan  3 14:04:32 tn21a collectd[39567]: rrdcached plugin: Failed to connect to RRDCacheD at unix:/var/run/rrdcached.sock: Unable to connect to rrdcached: No such file or directory (status=2)
      Jan  3 14:04:32 tn21a collectd[39567]: rrdcached plugin: Failed to connect to RRDCacheD at unix:/var/run/rrdcached.sock: Unable to connect to rrdcached: No such file or directory (status=2)
      

       

      Attachments

        Attachments

          JEditor

            Activity

              People

                vladimirv Vladimir Vinogradenko
                caleb Caleb St. John
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: