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.
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). https://github.com/bostjan/collectd/commit/2f0642ab7f65bad596566e9161fa028debdf3a12 I've created a pull request also. Florian: do you prefer pull requests to collectd/collectd or octo/collectd? Best regards, b. On 24 February 2012 16:33, Jacek Osiecki <[email protected]> wrote: > On Fri, 24 Feb 2012 16:27:24 +0100, Bostjan Skufca wrote: > >> What if you remove them and restart collectd to let it recreate it? >> > > That's not the case - on this server the collectd was installed from > scratch > in 5.0.2 version, so RRD's have not been touched by previous collectd's > versions. > > Greetings, > -- > Jacek > > b. >> >> On 24 February 2012 12:13, Jacek Osiecki wrote: >> >> Hello again, >>> >>> I have been trying to set up apache graphs and still - they don't >>> work. >>> All I get are broken images and message in apache log: >>> >>> collection.cgi: RRDs::graph: No DS called 'count' in >>> >>> >> '/var/lib/collectd/bravo.**silvercube.pl/apache-apache80/** >> apache_scoreboard-idle_**cleanup.rrd<http://bravo.silvercube.pl/apache-apache80/apache_scoreboard-idle_cleanup.rrd> >> >>> [1]' at /usr/share/collectd/cgi-bin/**collection.cgi line 787. >>> >>> In documentation there is only info in changelog for 5.0.0, saying: >>> * apache plugin: Backwards compatibility code has been >>> removed. >>> >>> I have just downloaded collectd-5.0.3.tar.bz2 from collectd.org >>> [2], and in >>> contrib/collection.cgi there is still the same code referring to >>> 'count': >>> >>> apache_bytes => ['DEF:min_raw={file}:count:**MIN', >>> apache_connections => ['DEF:min={file}:count:MIN', >>> apache_idle_workers => ['DEF:min={file}:count:MIN', >>> >>> ...etc. >>> Is there something wrong with collection.cgi, or is collectd apache >>> plugin broken? >>> >>> Greetings, >>> -- >>> Jacek >>> >>> ______________________________**_________________ >>> collectd mailing list >>> [email protected] [3] >>> http://mailman.verplant.org/**listinfo/collectd<http://mailman.verplant.org/listinfo/collectd>[4] >>> >> >> >> >> Links: >> ------ >> [1] >> >> http://bravo.silvercube.pl/**apache-apache80/apache_** >> scoreboard-idle_cleanup.rrd<http://bravo.silvercube.pl/apache-apache80/apache_scoreboard-idle_cleanup.rrd> >> [2] http://collectd.org >> [3] mailto:[email protected] >> [4] >> http://mailman.verplant.org/**listinfo/collectd<http://mailman.verplant.org/listinfo/collectd> >> [5] mailto:[email protected] >> > >
_______________________________________________ collectd mailing list [email protected] http://mailman.verplant.org/listinfo/collectd
