[collectd] Bug#743881: collectd: collection.cgi don't graph apache stats

Sebastian Harl tokkee at debian.org
Sat Apr 26 18:35:48 CEST 2014

tags 743881 + fixed-upstream


On Mon, Apr 07, 2014 at 05:19:34PM -0300, Fabiano Pires wrote:
> When I tried to graph apache2 stats with collectd/collection.cgi, I got these results:
> * No graph is generated for this plugin (others plugins are graphing ok).
> * Apache have mod_status enabled and configured (I can access it via brwoser and wget).
> * Apache's log contains some lines like this:
>   collection.cgi: RRDs::graph: No DS called 'count' in '/var/lib/collectd/rrd/jb1.example.org/apache-raiz/apache_bytes.rrd' at /usr/lib/cgi-bin/collection.cgi line 787
> After some googling, I found somewhere that the DS name in the rrd files changed from 'count' to 'value'.
> So I opened collection.cgi in vim and did ":960,1021s/count/value". This solved the issue.

Thanks you for reporting this and providing a patch!

I've submitted your fix to the upstream repository:

It'll be included in the next upstream release.


Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/

Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety.         -- Benjamin Franklin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20140426/1a4e6569/attachment.pgp>

More information about the collectd mailing list