BB Unix Network Monitor - Message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: {bb} Larrd apache script
- To: bb@bb4.com
- Subject: RE: {bb} Larrd apache script
- From: "Homan, Charles" <Charles.Homan@gdc4s.com>
- Date: Tue, 31 Aug 2004 08:14:19 -0400
- Content-class: urn:content-classes:message
- Content-transfer-encoding: 8bit
- Content-type: text/plain; charset=iso-8859-1
- Reply-to: bb@bb4.com
- Sender: owner-bb@bb4.com
- Thread-index: AcSO4OvtUu6jeQzySoSqLX8vMeA1CwAcWB5A
- Thread-topic: {bb} Larrd apache script
Hi, Misty,
In lieu of expert advice, here is mine. :-)
I dug into this a little bit, and here is what I have come up with. Yes, this is a BB-server-side script; it only needs to run on the machine that has your $BBVAR directory. In apache-larrd.pl, the section starting around line 100 actually connects to the /server-
status page on your apache server (as defined at about line 60 in the %host_h definition section) to gather the data. It then stuffs the data into an RRD file. So to have this working you need to have the URL http://myserver.my.dom/server-status?auto accessible from your BB server. I believe the default for Apache is that this is not enabled.
Here's how to enable the /server-status page. In your httpd.conf file you need to uncomment the line:
ExtendedStatus On
and uncomment the section that starts:
<Location /server-status>
and ends:
</Location>
Then re-start Apache.
Note that it is considered a (low) security risk to enable this, so you may want to tweak the "Allow from" line to only allow your BB server to access it.
Regards,
Charles
> -----Original Message-----
> From: owner-bb@bb4.com [mailto:owner-bb@bb4.com]On Behalf Of Misty
> Stanley-Jones
> Sent: Monday, August 30, 2004 6:01 PM
> To: bb@bb4.com
> Subject: Re: {bb} Larrd apache script
>
>
> Now I'm really confused. Is this a server-side script? I
> think Apache does
> have some kind of statistics page that you can enable somehow
> (through a
> module?) I am not an Apache expert. I don't have LARRD
> installed on any
> clients at all and hope I don't have to. I will await some
> expert advice.
>
> Misty
>
> On Monday 30 August 2004 08:36, Homan, Charles wrote:
> > Hmm, I think I owe you an apology, Misty. I was under the misguided
> > assumption that the Apache-LARRD stuff worked the same way
> that other LARRD
> > tests do. That is, that there is a script on the client
> that gathers data,
> > then a second script on the server that stuffs that data
> into the RRD file.
> > However, after looking at apache-larr.pl, I see that this
> is not the case.
> >
> > In apache-larrd.pl, which should NOT be in the "bf"
> directory, but should
> > be in the $LARRDHOME, there is a %host_h section. Have you
> configured that
> > to match your domain name, apache port, etc? Now, having
> never set this up
> > before I have to plead ignorance about what should be in
> the "url" part.
> > It looks like it expects some CGI that responds with server
> status, but my
> > version of apache (1.3.26) has no such script. I think
> this is likely to
> > be the part that is messing you up. Perhaps someone more
> familiar with
> > Apache-LARRD integration can jump in here...
> >
> > [Note that this means you do NOT want "apache" in the
> BFMETS variable in
> > bf-larrd.sh, but you DO want it in @DATALIST in
> larrd-config.pl. Also,
> > this should ONLY runon the server, as you had assumed.]
> >
> > Regards,
> > Charles
> >
> > > -----Original Message-----
> > > From: owner-bb@bb4.com [mailto:owner-bb@bb4.com]On Behalf Of Misty
> > > Stanley-Jones
> > > Sent: Friday, August 27, 2004 4:51 PM
> > > To: bb@bb4.com
> > > Subject: Re: {bb} Larrd apache script
> > >
> > > On Friday 27 August 2004 12:01, Homan, Charles wrote:
> > > > Hi, Misty,
> > > >
> > > > I just noticed that you said the apache BF file is in
> > >
> > > $BBCLIENT/ext/bf. It
> > >
> > > > should be in $LARRDHOME/bf. Is $BBCLIENT/ext/bf a link to
> > >
> > > $LARRDHOME/bf?
> > >
> > > > Also, is the file called apache-bf.sh?
> > >
> > > One of these hosts is my BBNET/BBDISPLAY server. Here is how
> > > those files are
> > > linked on it:
> > > bb@baa:~/bbclient/ext> ls
> > > bb-ncp.sh bf bf-larrd.sh ext-proto nwvol
> > > bb@baa:~/bbclient/ext> ls -l bf
> > > lrwxrwxrwx 1 bb users 19 2004-07-19 09:05 bf ->
> /usr/local/larrd/bf
> > > bb@baa:~/bbclient/ext> ls -l bf-larrd.sh
> > > lrwxrwxrwx 1 bb users 28 2004-07-19 09:05 bf-larrd.sh
> > > -> /usr/local/larrd/bf-larrd.sh
> > >
> > > The other one is just a bbclient, which I thought you didn't
> > > have to install
> > > LARRD onto. On that host, I have got the entire bf/
> > > directory and the
> > > bf-larrd.sh just copied over. It does work for all my other
> > > BB scripts.
> > >
> > > On both hosts, it is called apache-larrd.pl and lives under bf/.
> > >
> > > WHOA. It's looking for apache-bf.sh. Why do I have
> > > apache-larrd.pl? Is this
> > > a bug?
> > >
> > >
> > > --
> > >
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
> > > To unsubscribe from this list, or to subscribe to the
> bb-digest list
> > > send e-mail to mailto:majordomo@bb4.com with unsubscribe
> bb -and/or-
> > > subscribe bb-digest in the BODY of the message.
> >
> > --
> >
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
> > To unsubscribe from this list, or to subscribe to the bb-digest list
> > send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
> > subscribe bb-digest in the BODY of the message.
> --
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
> To unsubscribe from this list, or to subscribe to the bb-digest list
> send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
> subscribe bb-digest in the BODY of the message.
>
>
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.
Home |
Main Index |
Thread Index