BB Unix Network Monitor - Message

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

RE: {bb} mrtg and larrd problems



I am using bbmrtg.sh to get the stats for me.
I have uncommented one of the ports and I am not getting anything and
its been quite a while, much longer than a day. I can go and add routers
all day long and not have a problem. I don't know what it is with the
switches that is causing a problem. 

---
Are you trying to do this with LARRD or bb-mrtg.[pl/sh] ?
Doing this with LARRD (IMHO) wouldn't be a good idea.

This is more of a regular mrtg configuration issue.
The ports are probably commented out because there might not 
be an individual speed setting via snmp displayed.  I don't 
know Dell switches, but just uncomment the lines for the ports 
you want to monitor and have a go at putting them into BB.

At least let it monitor for an hour or so to see if the data 
on each port is graphed individually.  Sometimes monitoring 
each port shows the same data or doesn't display the true 
amount of data traversing through the switch.  It could 
be you end up monitoring the backplane.

Paul

>>> aaron.clasby@cicadacorp.com 12/29/05 5:35 PM >>>
I am having a difficult time setting up new hosts in mrtg/larrd. My
goal
is to monitor each port on our Dell PowerConnects 48 port switches.

First, I setup the bbmrtg script with the following lines as an
example.

172.20.100.200_1 sw4_1 mrtg 80% 90% 10000000 Bits/s In Out
172.20.100.200_2 sw4_2 mrtg 80% 90% 10000000 Bits/s In Out
172.20.100.200_3 sw4_3 mrtg 80% 90% 10000000 Bits/s In Out
172.20.100.200_4 sw4_4 mrtg 80% 90% 10000000 Bits/s In Out
172.20.100.200_5 sw4_5 mrtg 80% 90% 10000000 Bits/s In Out
172.20.100.200_6 sw4_6 mrtg 80% 90% 10000000 Bits/s In Out
172.20.100.200_7 sw4_7 mrtg 80% 90% 10000000 Bits/s In Out
172.20.100.200_8 sw4_8 mrtg 80% 90% 10000000 Bits/s In Out
172.20.100.200_9 sw4_9 mrtg 80% 90% 10000000 Bits/s In Out
172.20.100.200_11 sw4_10 mrtg 80% 90% 10000000 Bits/s In Out
172.20.100.200_11 sw4_11 mrtg 80% 90% 10000000 Bits/s In Out
172.20.100.200_12 sw4_12 mrtg 80% 90% 10000000 Bits/s In Out
172.20.100.200_13 sw4_13 mrtg 80% 90% 10000000 Bits/s In Out
172.20.100.200_14 sw4_14 mrtg 80% 90% 10000000 Bits/s In Out
172.20.100.200_15 sw4_15 mrtg 80% 90% 10000000 Bits/s In Out
172.20.100.200_16 sw4_16 mrtg 80% 90% 10000000 Bits/s In Out
172.20.100.200_17 sw4_17 mrtg 80% 90% 10000000 Bits/s In Out
172.20.100.200_18 sw4_18 mrtg 80% 90% 10000000 Bits/s In Out
172.20.100.200_19 sw4_19 mrtg 80% 90% 10000000 Bits/s In Out
172.20.100.200_20 sw4_20 mrtg 80% 90% 10000000 Bits/s In Out
172.20.100.200_21 sw4_21 mrtg 80% 90% 10000000 Bits/s In Out
172.20.100.200_22 sw4_22 mrtg 80% 90% 10000000 Bits/s In Out
172.20.100.200_23 sw4_23 mrtg 80% 90% 10000000 Bits/s In Out
172.20.100.200_24 sw4_24 mrtg 80% 90% 10000000 Bits/s In Out

Then I ran the following to create the config portion.
/usr/bin/cfgmaker --ifref=descr --global 'WorkDir: /home/mrtg/html'
--global 'Options[_]: bits,growright' --output
/home/mrtg/cfg/mrtgtest.cfg c1cada@172.20.100.200 

I end up with the following result.

#Target[172.20.100.200_@]: 2:c1cada@172.20.100.200: 
#SetEnv[172.20.100.200_2]: MRTG_INT_IP="" MRTG_INT_DESCR=""
#MaxBytes[172.20.100.200_2]: 12500000
#Title[172.20.100.200_2]: Traffic Analysis for (SW4 port 2) --
#PageTop[172.20.100.200_2]: <H1>Traffic Analysis for (SW4 port 2) --
</H1>
# <TABLE>
#   <TR><TD>System:</TD>     <TD> in </TD></TR>
#   <TR><TD>Maintainer:</TD> <TD></TD></TR>
#   <TR><TD>Description:</TD><TD>  </TD></TR>
#   <TR><TD>ifType:</TD>     <TD>ethernetCsmacd (6)</TD></TR>
#   <TR><TD>ifName:</TD>     <TD></TD></TR>
#   <TR><TD>Max Speed:</TD>  <TD>100.0 Mbits/s</TD></TR>
# </TABLE>

and then modify it by unremarking the needed lines.

### Interface 2 >> Descr: '' | Name: '' | Ip: '' | Eth: '' ###
### The following interface is commented out because:
### * --ifref=descr is not unique for this interface
#
Target[172.20.100.200_2]: 2:c1cada@172.20.100.200: 
SetEnv[172.20.100.200_2]: MRTG_INT_IP="" MRTG_INT_DESCR=""
MaxBytes[172.20.100.200_2]: 12500000
Title[172.20.100.200_2]: Traffic Analysis for (SW4 port 2) --
PageTop[172.20.100.200_2]: <H1>Traffic Analysis for (SW4 port 2) --
</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD> in </TD></TR>
   <TR><TD>Maintainer:</TD> <TD></TD></TR>
   <TR><TD>Description:</TD><TD>  </TD></TR>
   <TR><TD>ifType:</TD>     <TD>ethernetCsmacd (6)</TD></TR>
   <TR><TD>ifName:</TD>     <TD></TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>100.0 Mbits/s</TD></TR>
 </TABLE>

I then placed the modified data into the mrtg.cfg file.

I thought it was weird that all of the lines in the config were
remarked
out, not sure if this is a standard thing or if I am possibly missing
something. Thought this may be closely related to the reason on why
mrtg
isnt working for me properly.

Regards,



DISCLAIMER: This email and any files transmitted with it are
confidential
and intended solely for the use of the individual or entity to whom
they are
addressed. If you have received this email in error please notify the
system
manager. Please note that any views or opinions presented in this email
are
solely those of the author and do not necessarily represent those of
Cicada
Companies. Finally, the recipient should check this email and any
attachments for the presence of viruses. Cicada Companies accepts no
liability for any damage caused by any virus transmitted by this
email.


--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
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.


DISCLAIMER: This email and any files transmitted with it are confidential
and intended solely for the use of the individual or entity to whom they are
addressed. If you have received this email in error please notify the system
manager. Please note that any views or opinions presented in this email are
solely those of the author and do not necessarily represent those of Cicada
Companies. Finally, the recipient should check this email and any
attachments for the presence of viruses. Cicada Companies accepts no
liability for any damage caused by any virus transmitted by this email.


--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
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