Apache graphs broken (NAN)
list Iain Conochie
Hiya people,
OK. So I have managed to break (part) of my hobbit install. The background is as follows.
I have a host (say host.org) and it used to monitor a website (www.host.org) and used the apache check (apache=http://www.host.org/server-status?auto) to generate the apache graphs. This host was also running various other websites using virtual hosts.
Anyway, I moved the www.host.org site from the host.org machine and wanted to monitor the host.org site (no www). So I changed the entry in bb-hosts. and restarted. The apache graphs have since stopped updating. I have tried removing the rrd file, removeing the .chk files in tmp (both when hobbit was stoppped)
I guess there must be something I am missing here; can anyone point out what it is?
Cheers
PS. Nothing in the hobbit logs
list Charles Jones
▸
Iain Conochie wrote:
Anyway, I moved the www.host.org site from the host.org machine and wanted to monitor the host.org site (no www). So I changed the entry in bb-hosts. and restarted. The apache graphs have since stopped updating. I have tried removing the rrd file, removeing the .chk files in tmp (both when hobbit was stoppped)
Can you hit "http://host.org/server-status?auto"; from your browser, or, if you restricted it to the hobbit server it, with wget? If you cannot check your apache config, and make sure that the server-status is not enabled for a specific vhost (www) entry -Charles
list Iain M Conochie
▸
Charles Jones wrote:
Iain Conochie wrote:Anyway, I moved the www.host.org site from the host.org machine and wanted to monitor the host.org site (no www). So I changed the entry in bb-hosts. and restarted. The apache graphs have since stopped updating. I have tried removing the rrd file, removeing the .chk files in tmp (both when hobbit was stoppped)Can you hit "http://host.org/server-status?auto"; from your browser, or, if you restricted it to the hobbit server it, with wget?
Doh! Realised I have made some DNS changes so the forward name and the reverse name for my monitoring box are now different, and so apache did not like it. Adding the server IP into the allowed list fixed it! Thanks for the help. I knew I must have done something dumb :) Cheers Iain
▸
If you cannot check your apache config, and make sure that the server-status is not enabled for a specific vhost (www) entry -Charles