<div>After reading your mail I checked my servers and indeed I found out that graphing of apache RRDs does not work. It has been like that since upgrade to 5.0.x, where apache plugin probably changed definition of it's RRD.</div>
<div><br></div><div>I use PHP frontend and these were the changes I did to be able to display new Apache RRDs (without modification, old RRDs work, but cease to work when change is applied).</div><div><br></div><div><a href="https://github.com/bostjan/collectd/commit/2f0642ab7f65bad596566e9161fa028debdf3a12">https://github.com/bostjan/collectd/commit/2f0642ab7f65bad596566e9161fa028debdf3a12</a></div>
<div>I've created a pull request also.</div><div><br></div><div>Florian: do you prefer pull requests to collectd/collectd or octo/collectd?</div><div><br></div><div>
Best regards,</div><div>b.</div><div><br><br><div class="gmail_quote">On 24 February 2012 16:33, Jacek Osiecki <span dir="ltr"><<a href="mailto:vjosh@silvercube.pl" target="_blank">vjosh@silvercube.pl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Fri, 24 Feb 2012 16:27:24 +0100, Bostjan Skufca wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
What if you remove them and restart collectd to let it recreate it?<br>
</blockquote>
<br>
That's not the case - on this server the collectd was installed from scratch<br>
in 5.0.2 version, so RRD's have not been touched by previous collectd's versions.<br>
<br>
Greetings,<br>
-- <br>
Jacek<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
b.<br>
<br>
On 24 February 2012 12:13, Jacek Osiecki wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello again,<br>
<br>
I have been trying to set up apache graphs and still - they don't<br>
work.<br>
All I get are broken images and message in apache log:<br>
<br>
collection.cgi: RRDs::graph: No DS called 'count' in<br>
<br>
</blockquote>
<br>
'/var/lib/collectd/<a href="http://bravo.silvercube.pl/apache-apache80/apache_scoreboard-idle_cleanup.rrd" target="_blank">bravo.<u></u>silvercube.pl/apache-apache80/<u></u>apache_scoreboard-idle_<u></u>cleanup.rrd</a><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
[1]' at /usr/share/collectd/cgi-bin/<u></u>collection.cgi line 787.<br>
<br>
In documentation there is only info in changelog for 5.0.0, saying:<br>
* apache plugin: Backwards compatibility code has been<br>
removed.<br>
<br>
I have just downloaded collectd-5.0.3.tar.bz2 from <a href="http://collectd.org" target="_blank">collectd.org</a><br>
[2], and in<br>
contrib/collection.cgi there is still the same code referring to<br>
'count':<br>
<br>
apache_bytes => ['DEF:min_raw={file}:count:<u></u>MIN',<br>
apache_connections => ['DEF:min={file}:count:MIN',<br>
apache_idle_workers => ['DEF:min={file}:count:MIN',<br>
<br>
...etc.<br>
Is there something wrong with collection.cgi, or is collectd apache<br>
plugin broken?<br>
<br>
Greetings,<br>
--<br>
Jacek<br>
<br>
______________________________<u></u>_________________<br>
collectd mailing list<br>
<a href="mailto:collectd@verplant.org" target="_blank">collectd@verplant.org</a> [3]<br>
<a href="http://mailman.verplant.org/listinfo/collectd" target="_blank">http://mailman.verplant.org/<u></u>listinfo/collectd</a> [4]<br>
</blockquote>
<br>
<br>
<br>
Links:<br>
------<br>
[1]<br>
<br>
<a href="http://bravo.silvercube.pl/apache-apache80/apache_scoreboard-idle_cleanup.rrd" target="_blank">http://bravo.silvercube.pl/<u></u>apache-apache80/apache_<u></u>scoreboard-idle_cleanup.rrd</a><br>
[2] <a href="http://collectd.org" target="_blank">http://collectd.org</a><br>
[3] mailto:<a href="mailto:collectd@verplant.org" target="_blank">collectd@verplant.org</a><br>
[4] <a href="http://mailman.verplant.org/listinfo/collectd" target="_blank">http://mailman.verplant.org/<u></u>listinfo/collectd</a><br>
[5] mailto:<a href="mailto:vjosh@silvercube.pl" target="_blank">vjosh@silvercube.pl</a><br>
</blockquote>
<br>
</blockquote></div><br></div>