apache perf monitoring leaves http test purple
I set up Apache performance monitoring today and it's pretty cool. apache.rrd is filling up with data, graphs are working fine and displaying in my trends page, yada yada yaday. I did run into a problem though, my http column remains purple even though I didn't configure Hobbit to monitor a specific url.
This is the entry in bb-hosts:
0.0.0.0 hostname.domain.com # "apache=http://1.2.3.4:80/server-status?auto" LARRD:*,vmstat:vmstat|vmstat3|vmstat4|vmstat5,apache:apache|apache2|apache3
The http column remains purple, and clicking through to the status page shows a blank purple page with no data whatsoever and an empty "HTTP Response Times Last 48 Hours" graph.
What can I do to get rid of this status, w/o having to set up a http test that points to a proper website?
Tom
On Fri, Apr 29, 2005 at 03:48:33PM -0400, Tom Georgoulias wrote:
I set up Apache performance monitoring today and it's pretty cool. apache.rrd is filling up with data, graphs are working fine and displaying in my trends page, yada yada yaday. I did run into a problem though, my http column remains purple even though I didn't configure Hobbit to monitor a specific url.
This is the entry in bb-hosts:
0.0.0.0 hostname.domain.com # "apache=http://1.2.3.4:80/server-status?auto" LARRD:*,vmstat:vmstat|vmstat3|vmstat4|vmstat5,apache:apache|apache2|apache3
The http column remains purple, and clicking through to the status page shows a blank purple page with no data whatsoever and an empty "HTTP Response Times Last 48 Hours" graph.
Could be a bug ... I hadn't thought that you would want to collect performance data from a webserver, without monitoring that it was actually running.
Will look at it tomorrow.
Henrik
On Sat, Apr 30, 2005 at 12:32:47AM +0200, Henrik Stoerner wrote:
On Fri, Apr 29, 2005 at 03:48:33PM -0400, Tom Georgoulias wrote:
I set up Apache performance monitoring today and it's pretty cool. apache.rrd is filling up with data, graphs are working fine and displaying in my trends page, yada yada yaday. I did run into a problem though, my http column remains purple even though I didn't configure Hobbit to monitor a specific url.
Could be a bug ... I hadn't thought that you would want to collect performance data from a webserver, without monitoring that it was actually running.
Confirmed ... an "apache" test with no "http" tests for the same host ends up sending a completely bogus http status message to Hobbit.
The attached patch fixes it, and I'll include this in the next release (real soon now - promise!)
Henrik
Henrik Stoerner wrote:
Confirmed ... an "apache" test with no "http" tests for the same host ends up sending a completely bogus http status message to Hobbit.
The attached patch fixes it, and I'll include this in the next release (real soon now - promise!)
The patch got rid of the purple http column. Thanks for providing it.
I've got a problem now with apache perf monitoring, and before I go and blame the patch for doing this, I'd like to make sure I've checked out everything on my end.
My apache.rrd file's last time stamp was 3.5 hours ago.
I can use the command line "GET http://1.2.3.4:80/server-status?auto" on my hobbit server and the apache process I'm monitoring gives back good data.
I still have this line in bb-hosts:
0.0.0.0 hostname.domain.com # "apache=http://1.2.3.4:80/server-status?auto" LARRD:*,vmstat:vmstat|vmstat3|vmstat4|vmstat5,apache:apache|apache2|apache3
How can I watch the hobbitd channel and see what errors or data is coming in from teh apache test?
Thanks,
Tom
On Mon, May 02, 2005 at 01:39:32PM -0400, Tom Georgoulias wrote:
Henrik Stoerner wrote:
Confirmed ... an "apache" test with no "http" tests for the same host ends up sending a completely bogus http status message to Hobbit.
The attached patch fixes it, and I'll include this in the next release (real soon now - promise!)
The patch got rid of the purple http column. Thanks for providing it.
I've got a problem now with apache perf monitoring, and before I go and blame the patch for doing this, I'd like to make sure I've checked out everything on my end.
It's OK to blame the patch, 'cause re-reading it now I think it is broken. Thanks for testing - I'll have a second look at it later tonight.
How can I watch the hobbitd channel and see what errors or data is coming in from teh apache test?
Login as the hobbit user, then run
~/server/bin/bbcmd hobbitd_channel --channel=data cat
The "apache" test is sent in a "data" message, hence the "--channel=data". This dumps all data messages - including vmstat, netstat and such - but you should be able to recognize the apache one. However, I think my patch just stopped sending it ...
Henrik
participants (2)
-
henrik@hswn.dk
-
tgeorgoulias@mcclatchy.com