Hi,
I'm using 0.4.0 collectd-web on SL6 with collectd 4.10.3. The
collection.conf in /etc/collectd/ contains only line datadir: "/var/
lib/collectd/" which indeed hosts the rrd files under /var/lib/
collectd/myhost/. I've unpacked the collectd-web git snapshot to a
directory and set up the following settings in apache:
<Directory "/storage0/www/collectd/">
SSLRequireSSL
Order deny,allow
Deny from all
Allow from
192.168.1.0/24
</Directory>
Alias /stats /storage0/www/collectd/
When I open
https://myserver/stats in the browser, I can select myhost
in the hosts list, and it lists all the enabled plugins as expected.
Whenever I click a plugin, it just briefly shows a loading circle and
then displays the hostname but no graph (not even an empty graph).
I have checked that the rrd files really contain valid data by
creating images with drraw directly. I've also ran the following query
in the console:
./collection.modified.cgi action=show_graph host=myhost plugin=memory
timespan=day type=memory format=SVG > test.svg
and indeed a valid looking SVG output is produced (and when I remove
the Content-Type: image/svg+xml; charset=ISO-8859-1 from the
beginning, I can open it in my browser and see the graph).
check_deps.pl output is:
Carp looks ok
CGI looks ok
CGI::Carp looks ok
HTML::Entities looks ok
URI::Escape looks ok
RRDs looks ok
Data::Dumper looks ok
JSON looks ok
Do you have any idea of where to start debugging this?