[collectd] Collectd generated rrd shows nothing

Franklin, Dave Dave.Franklin at arrisi.com
Mon Dec 2 16:16:22 CET 2013

Have you tried to use a CSV plugin rather than RRD to more easily observe the output? If the CSV also produces NaN then it may not be a RRD problem; but if CSV produces valid results then the RRD isn't configured correctly.

I also like to configure collectd with --enable-debug and set up the LogLevel to "debug" rather than "info"; that might help you narrow down where the problem lies.
= Dave

From: collectd-bounces at verplant.org [mailto:collectd-bounces at verplant.org] On Behalf Of Jimmy John
Sent: Thursday, November 07, 2013 4:15 PM
To: collectd at verplant.org
Subject: [collectd] Collectd generated rrd shows nothing


   I have a basic installation of collected(5.0) on Ubuntu and have enabled some plugins like load / cpu / log etc. I see collectd generating rrd files. But when I try to query the rrd (via rrdtool fetch for the last 10 hours), I only get NaN results.

  I looked at the /var/log/collectd and did not see any errors.

 My config looks like:

#Hostname "localhost"
FQDNLookup true
BaseDir "/var/lib/collectd"
PluginDir "/usr/lib/collectd"
TypesDB "/usr/share/collectd/types.db"
Interval 300
#Timeout 2
#ReadThreads 5

#LoadPlugin logfile

# --------------------------
# active plugins start
# --------------------------
LoadPlugin syslog
<Plugin syslog>
            LogLevel info
LoadPlugin cpu
LoadPlugin df
<Plugin df>
   Device "/dev/xvda1"
   MountPoint "/"
   FSType "ext4"
   IgnoreSelected false
   ReportByDevice false
   ReportReserved false
   ReportInodes false
LoadPlugin load
LoadPlugin memory
LoadPlugin rrdtool
<Plugin rrdtool>
   DataDir "/var/lib/collectd/rrd"
   CacheTimeout 120
   CacheFlush 900
   WritesPerSecond 30
   RandomTimeout 0

# The following settings are rather advanced
# and should usually not be touched:
   #StepSize 10
   #HeartBeat 20
   RRARows 1200
   RRATimespan 158112000
   XFF 0.1

How do I debug it?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20131202/bf6b6e91/attachment.html>

More information about the collectd mailing list