collectd-web 0.4.0 graphs empty

745 views
Skip to first unread message

Jens Bräuer

unread,
Apr 9, 2011, 1:56:27 PM4/9/11
to Collectd-web Users
Hello group,

as the screenshots of collectd-web really look promising, i decided to
give it a try. But so far i have been unsuccesful. The web-interface
seem to run fine, but all graphs are empty (correct time and legend,
but all data is either nan or 0). I can see the hostname that collectd
runs on and all available plugins.

My setup is:
- CentOs 5.5
- rrdtool and perl-rrdtool 1.3.9
- collectd 4.10.2

My collectd.conf reads:

---- <collectd.conf> ----
FQDNLookup true
BaseDir "/var/lib/collectd"
PIDFile "/var/run/collectd.pid"
LoadPlugin syslog
LoadPlugin logfile
<Plugin logfile>
LogLevel "debug"
File "/var/log/collectd.log"
Timestamp true
PrintSeverity false
</Plugin>
<Plugin syslog>
LogLevel info
</Plugin>
LoadPlugin cpu
LoadPlugin interface
LoadPlugin load
LoadPlugin memory
LoadPlugin rrdtool
<Plugin rrdtool>
DataDir "/var/lib/collectd/rrd"
CacheTimeout 120
CacheFlush 900
</Plugin>
Include "/etc/collectd.d"
---- </collectd.conf> ----

The logfile does not report and error.

I checked the troubeshooting-tipps in the wiki (http://collectd.org/
wiki/index.php/Troubleshooting).
The last_update-time of the rrd-file is changing.

The collect-web configuration is as follows:
--- <collection.conf> ---
datadir: "/var/lib/collectd/rrd/"
libdir: "/usr/lib64/collectd/"
--- </collection.conf> ---

runserver.py seems happy to:
-----
Collectd-web server running at http://127.0.0.1:8888/
localhost.localdomain - - [09/Apr/2011 13:52:02] "GET /cgi-bin/
collection.modified.cgi?
action=show_graph;plugin=cpu;type=cpu;plugin_instance=0;host=ip-10-234-227-124.eu-
west-1.compute.internal;timespan=hour;start=18:52%20Apr
%209%202011;end=19:52%20Apr%209%202011; HTTP/1.1" 200 -
localhost.localdomain - - [09/Apr/2011 13:52:03] "GET /cgi-bin/
collection.modified.cgi?
action=show_graph;plugin=cpu;type=cpu;plugin_instance=1;host=ip-10-234-227-124.eu-
west-1.compute.internal;timespan=hour;start=18:52%20Apr
%209%202011;end=19:52%20Apr%209%202011; HTTP/1.1" 200 -
------

Any ideas what else to check? I am happy to debug into this, but so
far i have no ideas left.
I /really/ appreciate any help, so please point me google/websites in
case i missed the obvious.

Regards,
Jens

Jens Bräuer

unread,
Apr 9, 2011, 2:55:05 PM4/9/11
to collectd-...@googlegroups.com
Hi group,
seem i was to impatient ;-) and the rrd-files needed some time to fill.
Everything works fine now.

Cheers,
Jens

Kenneth Belitzky

unread,
Apr 9, 2011, 5:46:16 PM4/9/11
to Collectd-web Users
;) great!

i first thought it might have been because there was an issue on the
first release of 0.4 where graphs used local time instead of server
time. but that is already fixed now.

just let me know if you have more questions.

greetz,
Kenny
> > Collectd-web server running athttp://127.0.0.1:8888/

Jens Bräuer

unread,
Apr 10, 2011, 4:10:01 AM4/10/11
to collectd-...@googlegroups.com
Hi all,

although most of the graphs now data now, i still have an issue with the df-graphs. I found issue #31 (https://github.com/httpdss/collectd-web/issues/31) related to missing graphs, but it did not give me enough information how to process.

So the df-part of my config is:
------
<Plugin df>
Device "/dev/sda1"
IgnoreSelected false
ReportByDevice false
ReportReserved true
ReportInodes true
</Plugin>
-------

Reporting inodes is very important to me, as i had issue with running out of inodes.
Any information on how to debug this, add graph definition, etc is very welcome.

Regards,
Jens

Kenneth Belitzky

unread,
Apr 11, 2011, 11:21:47 PM4/11/11
to Collectd-web Users
hey Jens!

Graph definitions can be added with some knowledge on hoy graph
definitions work for rrdtool and editing the cgi-bin/
collection.modified.cgi (on the lines where de graphdefs are defined)

feel free to make your contribution when you get the inode graph...
its not difficult ;)

Regards,
Kenny
Reply all
Reply to author
Forward
0 new messages