I'm trying to setup collecd-web but somehow my collection.conf isn't
parsed.
check_deps.sh says all looks ok and cgi scripts run fine.
For every line in collection.conf i get a message in my log:
GET /cgi-bin/collection.modified.cgi?action=hostlist_json HTTP/1.1"
200 -
Cannot parse line: DataDir "/var/lib/collectd/rrd/", referer:
http://192.168.1.50/collectd-web/
Cannot parse line: GraphWidth 400, referer:
http://192.168.1.50/collectd-web/
Cannot parse line: <Type apache_bytes>, referer:
http://192.168.1.50/collectd-web/
Cannot parse line: DataSources count, referer:
http://192.168.1.50/collectd-web/
Cannot parse line: DSName "count Bytes/s", referer:
http://192.168.1.50/collectd-web/
Cannot parse line: RRDTitle "Apache Traffic", referer:
http://192.168.1.50/collectd-web/
Cannot parse line: RRDVerticalLabel "Bytes/s", referer:
http://192.168.1.50/collectd-web/
Cannot parse line: RRDFormat "%5.1lf%s", referer:
http://192.168.1.50/collectd-web/
Cannot parse line: Color count 0000ff, referer:
http://192.168.1.50/collectd-web/
Cannot parse line: </Type>, referer:
http://192.168.1.50/collectd-web/
...
The collection.conf looks like this:
DataDir "/var/lib/collectd/rrd/"
GraphWidth 400
#UnixSockAddr "/var/run/collectd-unixsock"
<Type apache_bytes>
DataSources count
DSName "count Bytes/s"
RRDTitle "Apache Traffic"
RRDVerticalLabel "Bytes/s"
RRDFormat "%5.1lf%s"
Color count 0000ff
</Type>
Is this the correct layout of collection.conf ?
using centos5.6, collectd-4.10
Regards,
cabaz