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