[collectd] Collectd generated rrd shows nothing

Poil poil at quake.fr
Mon Dec 2 17:27:38 CET 2013


Hi,

Generally when I have this error that is because my date/time are not 
the same on my client/server

Best regards,

Le 02/12/2013 16:16, Franklin, Dave a écrit :
>
> 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
>
> Hello,
>
>    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
>
> </Plugin>
>
> LoadPlugin cpu
>
> LoadPlugin df
>
> <Plugin df>
>
>    Device "/dev/xvda1"
>
>    MountPoint "/"
>
>    FSType "ext4"
>
>    IgnoreSelected false
>
>    ReportByDevice false
>
>    ReportReserved false
>
>    ReportInodes false
>
> </Plugin>
>
> 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
>
> </Plugin>
>
> How do I debug it?
>
>
> @jimmyislive
>
>
>
> _______________________________________________
> collectd mailing list
> collectd at verplant.org
> http://mailman.verplant.org/listinfo/collectd

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


More information about the collectd mailing list