<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1479" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV dir=ltr align=left><SPAN class=601424804-07022005><FONT face=Arial
color=#0000ff size=2>That was excellent advice! It is working nicely now. Thank
you sir!</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=601424804-07022005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=601424804-07022005><FONT face=Arial
color=#0000ff size=2>Kevin</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Charles Jones [mailto:jonescr@cisco.com]
<BR><B>Sent:</B> Sunday, February 06, 2005 11:28 PM<BR><B>To:</B>
hobbit@hswn.dk<BR><B>Subject:</B> Re: [hobbit] Apache tag<BR><B>Importance:</B>
Low<BR></FONT><BR></DIV>
<DIV></DIV>Okay, first you must make the indicated addition to your apache
httpd.conf (or you can make a hobbit.conf in apaches conf.d directory).
<BR><BR>Then, you must restart apache for the change to take effect
(/etc/init.d/httpd restart).<BR><BR>Then, manually test the server-stats url to
make sure it's working, by using your browser and going to <A
class=moz-txt-link-freetext
href="http://your.server.com/server-status?auto">http://your.server.com/server-status?auto</A>
(you can also go to <A class=moz-txt-link-freetext
href="http://your.server.com/server-status/">http://your.server.com/server-status/</A>
to get some nice extended apache performance info). You should get back
something like this:<BR><BR><PRE>Total Accesses: 131577
Total kBytes: 796036
CPULoad: 1.0401
Uptime: 21595
ReqPerSec: 6.09294
BytesPerSec: 37746.7
BytesPerReq: 6195.16
BusyWorkers: 43
IdleWorkers: 13
Scoreboard: RR__RWR___RR_R_RR_RRRRRRRRR_RRRRRRR__RRR_RRRRCRRRRR_RRRR........................................................................................................................................................................................................
</PRE>Now, assuming you are getting back the server-status info, time to make
sure your bb-hosts is correctly configured to collect and graph the data.
Heres what I have in mine:<BR><BR>1.2.3.4 my.server.com #
conn ssh <A class=moz-txt-link-freetext href="http://1.2.3.4">http://1.2.3.4</A>
apache=<A class=moz-txt-link-freetext
href="http://1.2.3.4/server-status?auto">http://1.2.3.4/server-status?auto</A>
LARRD:*,apache:apache|apache1|apache2|apache3<BR><BR>From what you said of your
setup, I'm guessing your only problem is using the wrong url for the apache tag
(you used "apache=<A class=moz-txt-link-freetext
href="http://192.168.1.25/hobbit/">http://192.168.1.25/hobbit/</A>" which just
won't work - that's the kind of URL you would use for the http tag).<BR><BR>Hope
this helped.<BR><BR>-Charles<BR><BR><BR><BR>Kevin Hanrahan wrote:
<BLOCKQUOTE cite=midEF22302EC121A246A79988281A534DFC082D@hermes.ewormhole
type="cite">
<META content="MSHTML 6.00.2800.1479" name=GENERATOR>
<DIV dir=ltr align=left><SPAN class=107341414-06022005><FONT face=Arial
color=#0000ff size=2>thanks for the reply. I did exactly as in the example
before I wrote the previous email and got nothing. That is why I was
asking for help or further clarification. </FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Charles Jones [<A
class=moz-txt-link-freetext
href="mailto:jonescr@cisco.com">mailto:jonescr@cisco.com</A>] <BR><B>Sent:</B>
Saturday, February 05, 2005 12:48 AM<BR><B>To:</B> <A
class=moz-txt-link-abbreviated
href="mailto:hobbit@hswn.dk">hobbit@hswn.dk</A><BR><B>Subject:</B> Re:
[hobbit] Apache tag<BR><B>Importance:</B> Low<BR></FONT><BR></DIV>
<H2>PERFORMANCE MONITORING TESTS</H2>
<DL compact>
<DT>apache[=URL]
<DD>If you are running an Apache webserver, adding this tag makes <I><A
href="http://192.168.0.103/hobbit/help/manpages/man1/bbtest-net.1.html">bbtest-net</A>(1)</I>
collect performance statistics from the Apache webserver by querying the URL
<B><A
href="http://IP.ADDRESS.OF.HOST/server-status?auto">http://IP.ADDRESS.OF.HOST/server-status?auto</A></B>.
The response is sent as a data-report and processed by the Hobbit
hobbitd_larrd module into an RRD file and an "apache" graph. If your
webserver requires e.g. authentication, or runs on a different URL for the
server-status, you can provide the full URL needed to fetch the
server-status page, e.g. <B>apache=<A
href="http://LOGIN:PASSWORD@10.0.0.1/server-status?auto">http://LOGIN:PASSWORD@10.0.0.1/server-status?auto</A></B>
for a password protected server-status page, or <B>apache=<A
href="http://10.0.0.1:8080/apache/server-status?auto">http://10.0.0.1:8080/apache/server-status?auto</A></B>
for a server listening on port 8080 and with a different path to the
server-status page.
<P><FONT color=#ff0000>Note that you need to enable the server-status URL in
your Apache configuration</FONT>. The following configuration is needed:
</P>
<P> <Location /server-status>
<BR> SetHandler server-status
<BR> Order deny,allow
<BR> Deny from all
<BR>
allow from 127.0.0.1 <BR> </Location>
<BR> ExtendedStatus On </P>
<P>Change "127.0.0.1" to the IP-address of the server that runs your network
tests. </P></DD></DL><BR>Kevin Hanrahan wrote:
<BLOCKQUOTE cite=midEF22302EC121A246A79988281A534DFC082C@hermes.ewormhole
type="cite"><PRE wrap="">
Please explain the apache performance tag further. I added the following to
my bb-hosts for a host running apache:
apache=<A class=moz-txt-link-freetext href="http://192.168.1.25/hobbit/">http://192.168.1.25/hobbit/</A>
It is in fact the hobbit host. I get no apache column or anything
related....where did I make my mistake?
</PRE></BLOCKQUOTE><BR></BLOCKQUOTE><BR></BODY></HTML>