Apache stats with dns/resolved ip

Francesco Duranti fduranti at q8.it
Wed Sep 27 19:54:28 CEST 2006


Hi Henrik, 
I've a problem with ip/name resolution this time with the apache
statistics grab.

If i don't put the url in the bb-hosts or the ip-address it did not
work:

This 2 example will work:
0.0.0.0 itromclivr01    #
cont=IVRnode;http://itromclivr01/clusternode;"Cluster[[:space:]]Node"
apache=http://itromclivr01/server-status?auto
10.90.2.67 itromclivr01 #
cont=IVRnode;http://itromclivr01/clusternode;"Cluster[[:space:]]Node"
apache

This one will not work or at least it seems to not work because i get no
data into the rrd with this:
0.0.0.0 itromclivr01    #
cont=IVRnode;http://itromclivr01/clusternode;"Cluster[[:space:]]Node"
apache

I think it try to get data from 0.0.0.0.
It's possible to change the behaviour to get the data using the hostname
(or the resolved ip address if the ip is 0.0.0.0) just like you did with
the pulldata some time ago?

Thanks
Francesco



More information about the Xymon mailing list