BB Unix Network Monitor - Message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: {bb} Larrd apache script



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.


Home | Main Index | Thread Index