BB Unix Network Monitor - Message

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

Re: {bb} BB and MRTG



The problem with your configuration is that you are pointing all the ports to 
the same name 'frart1001.ac.com'. This is why you are getting reports on only 
one port.

You need to enter into the $BBHOME/etc/bb-hosts file all the ports you are 
monitoring on the router.  For example: I'm monitoring a 3com Netbuilder with 
Frame relay and 2 leased lines. This is how I set it up in the "mrtg" file:
	 my %mrtgfiletag =
	 	(
	    '192.168.10.10.2' => 'irv2sxn_leased' ,
            '192.168.10.10.3' => 'irv2hol-leased' ,
            '192.168.10.10.4' => 'netbuilder_FR'  , 
            '192.168.10.10.8' => 'irv-enet8'
            );
            
          
          And this is how it looks like in bb-hosts files:
          
          	
		group-compress <H3><I>3Com NetBuilder II </I></H3>
		192.168.10.10   irv-enet8
		0.0.0.0         irv2sxn-leased
		0.0.0.0         irv2hol-leased
		0.0.0.0         netbuilder-FR


The first name "192.168.10.10   irv-enet8" is the name of the router as defined 
in the DNS table. The rest of the names such as 'netbuilder_FR', you need to 
come up with to describe that certain port, and this is what gets displayed in 
BB for that port.

Hope this helps,

-Raed Nashef


> From bb-owner@taex001.tamu.edu Thu May 27 08:47 PDT 1999
> X-Authentication-Warning: taex001.tamu.edu: majordom set sender to owner-bb 
using -f
> From: timothy.m.cross@ac.com
> X-Lotus-FromDomain: ANDERSEN CONSULTING
> To: bb@taex001.tamu.edu
> Date: Thu, 27 May 1999 16:49:25 +0100
> Subject: {bb} BB and MRTG
> Mime-Version: 1.0
> Content-Disposition: inline
> 
> 
> Sorry if this has been brought up before.  If it has, please let me know where 
I
> can find the info...
> 
> I just implemented MRTG with BB.  It works, but I think it is only monitoring
> one port of the router I am using MRTG to collect stats from.  I am a bit
> confused on how to use the "my %mrtgfiletag ="  variable.  This is what I
> currently have:
> 
>         my %mrtgfiletag =
>             (
>             'frart1001.1' => 'frart1001.ac.com' ,
>             'frart1001.2' => 'frart1001.ac.com' ,
>             'frart1001.3' => 'frart1001.ac.com' ,
>             'frart1001.4' => 'frart1001.ac.com' ,
>             'frart1001.5' => 'frart1001.ac.com' ,
>             'frart1001.6' => 'frart1001.ac.com' ,
>             'frart1001.7' => 'frart1001.ac.com' ,
>             'frart1001.8' => 'frart1001.ac.com' ,
>             'frart1001.11' => 'frart1001.ac.com' ,
>             'frart1001.15' => 'frart1001.ac.com'
>             );
> 
> However, the MRTG dot in BB only links to the status of the port frart1001.15.
> Is BB checking all the ports?  Can it?
> 
> Also, to use this combination with other devices, do I need seperate 
customized
> mrtg script files for each one?
> 
> I am using BB v1.2a and MRTG 2.7.4b.
> 
> Thanks!
> Tim Cross
> 
> 
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>   Please send mail for the mailing list to: bb@taex001.tamu.edu
>   To [un]subscribe to this list, send e-mail to majordomo@taex001.tamu.edu
>      with [un]subscribe bb in the BODY of the message.
>   Please contact the mailing-list-owner as: bb-owner@taex001.tamu.edu
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Please send mail for the mailing list to: bb@taex001.tamu.edu
  To [un]subscribe to this list, send e-mail to majordomo@taex001.tamu.edu
     with [un]subscribe bb in the BODY of the message.
  Please contact the mailing-list-owner as: bb-owner@taex001.tamu.edu


Home | Main Index | Thread Index