BB Unix Network Monitor - Message

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

RE: {bb} BB 1.9e and MRTG



I don't use the RRD tool, some big user of MRTG is gonna go through the roof on this one, but I found RRD really, REALLY, slowed MRTG down. I suspect it was the 14all script. In any case the code I provided works, the thing is obviously you need to set the variables, for example, $FileName is actually the name of the host I am monitoring, $DN is domain name, $TLD is top level domain name,  etc...
 
Michael
-----Original Message-----
From: owner-bb@bb4.com [mailto:owner-bb@bb4.com]On Behalf Of Esquivel, Vicente
Sent: June 1, 2004 10:44
To: 'bb@bb4.com'
Subject: RE: {bb} BB 1.9e and MRTG

Thanks I did just look at the scripts on Dead Cat, but do I need the RDDtools in order to display the graphs on BB?

 

 


From: Cole, Michael - MLMC Toronto [mailto:mcole@munichre.ca]
Sent: Tuesday, June 01, 2004 9:20 AM
To: bb@bb4.com
Subject: RE: {bb} BB 1.9e and MRTG

There is a script on Dead Cat to do this, or you can write your own, if you write your own MRTG to BB script you will need the following code:
 
#BBHOME=/home/bb/bb; export BBHOME
if test "$BBHOME" = ""
then
        echo "BBHOME is not set... exiting."
        exit 1
fi
 
if test ! "$BBTMP"
then
        echo *** LOADING BBDEF ***
        . $BBHOME/etc/bbdef.sh
fi
 
COLOR="green"
 
HTMLOUT1="<P align=center> <b>$FileName</b><br><br>"
HTMLOUT2="<A HREF="" border=0"
HTMLOUT2="$HTMLOUT2 src="">HTMLOUT3=" --- </p><br><br>"
MACHINE="$FileName,$DN,$TLD"
LINE="status $MACHINE.$TEST $COLOR `date +%c`
Performance on the Ethernet Link between $FileName and the Core switch
$HTMLOUT1
$HTMLOUT2
$HTMLOUT3"
$BB $BBDISP "$LINE"
-----Original Message-----
From: owner-bb@bb4.com [mailto:owner-bb@bb4.com]On Behalf Of Esquivel, Vicente
Sent: June 1, 2004 10:16
To: bb@bb4.com
Subject: {bb} BB 1.9e and MRTG

I am running BB 1.9e with RedHat ES 3.0 on a dell server.  I have MRTG running on this server also and it is graphing everything correctly.  How do I get BB to display the graphs and alert on them.  Thanks everyone for the help in advance
 
Vince

 

 

Home | Main Index | Thread Index