[mrtg] FW: MIB query (re HP/Nortel Blade switches )...

Hazell Derek dhazell at aap.com.au
Tue Feb 17 00:04:11 CET 2009


Hi
I finally found out the OID (see below) for the missing port
descriptions from the HP GbE2c blade switches from the support group for
the blade switch
(http://www.bladeconnect.com/modules.php?name=Forums&file=viewtopic&t=16
8). However I am still not sure how to integrate the description data
into the target config file. (I think I was unable to see these OIDs /
descriptions earlier because snmpwalk was not running to completion when
run against the blade switch and instead was getting an error, and that
therefore  cfgmaker likewise gets an error when running against this
target ... and that that is why the output config file for the target is
empty of descriptions ...).

So my question is, is it possible for cfgmaker to get the description
data below and build that data into the mrtg config file (without
writing a fancy script that will somehow insert the desctiption data
into the config file for the target.)

Appreciate any response
rgds

Derek
###########################################
mrtg.syd at mrtg ~
$ snmpwalk -v 1 -c public bs11.bm.syd
1.3.6.1.4.1.11.2.3.7.11.33.4.2.1.1.2.2.1.15
SNMPv2-SMI::enterprises.11.2.3.7.11.33.4.2.1.1.2.2.1.15.1 = STRING: "
description abc "
SNMPv2-SMI::enterprises.11.2.3.7.11.33.4.2.1.1.2.2.1.15.2 = STRING: "
description def "
SNMPv2-SMI::enterprises.11.2.3.7.11.33.4.2.1.1.2.2.1.15.3 = STRING: "
description xxx "
SNMPv2-SMI::enterprises.11.2.3.7.11.33.4.2.1.1.2.2.1.15.4 = STRING: "
description yyy "
SNMPv2-SMI::enterprises.11.2.3.7.11.33.4.2.1.1.2.2.1.15.5 = STRING: "
description aaa "
SNMPv2-SMI::enterprises.11.2.3.7.11.33.4.2.1.1.2.2.1.15.6 = STRING: "
description bbb "
SNMPv2-SMI::enterprises.11.2.3.7.11.33.4.2.1.1.2.2.1.15.7 = STRING: "
description ccc "
SNMPv2-SMI::enterprises.11.2.3.7.11.33.4.2.1.1.2.2.1.15.8 = STRING: "
description vvvv "
SNMPv2-SMI::enterprises.11.2.3.7.11.33.4.2.1.1.2.2.1.15.9 = STRING: "
description www "
SNMPv2-SMI::enterprises.11.2.3.7.11.33.4.2.1.1.2.2.1.15.10 = STRING: "
description 123 "
SNMPv2-SMI::enterprises.11.2.3.7.11.33.4.2.1.1.2.2.1.15.11 = STRING: "
description abc "
SNMPv2-SMI::enterprises.11.2.3.7.11.33.4.2.1.1.2.2.1.15.12 = STRING: "
description abc "
SNMPv2-SMI::enterprises.11.2.3.7.11.33.4.2.1.1.2.2.1.15.13 = STRING: "
description abc "
SNMPv2-SMI::enterprises.11.2.3.7.11.33.4.2.1.1.2.2.1.15.14 = STRING: "
description abc "
SNMPv2-SMI::enterprises.11.2.3.7.11.33.4.2.1.1.2.2.1.15.15 = STRING: "
description abc "
SNMPv2-SMI::enterprises.11.2.3.7.11.33.4.2.1.1.2.2.1.15.16 = STRING: "
description abc "
SNMPv2-SMI::enterprises.11.2.3.7.11.33.4.2.1.1.2.2.1.15.17 = STRING: "
description abc "
SNMPv2-SMI::enterprises.11.2.3.7.11.33.4.2.1.1.2.2.1.15.18 = STRING: "
description abc "
SNMPv2-SMI::enterprises.11.2.3.7.11.33.4.2.1.1.2.2.1.15.19 = STRING: "
description abc "
SNMPv2-SMI::enterprises.11.2.3.7.11.33.4.2.1.1.2.2.1.15.20 = STRING: "
description abc "
SNMPv2-SMI::enterprises.11.2.3.7.11.33.4.2.1.1.2.2.1.15.21 = STRING: "
description abc "
SNMPv2-SMI::enterprises.11.2.3.7.11.33.4.2.1.1.2.2.1.15.22 = STRING: "
description  whatever"
SNMPv2-SMI::enterprises.11.2.3.7.11.33.4.2.1.1.2.2.1.15.23 = STRING:
"Uplink4"
SNMPv2-SMI::enterprises.11.2.3.7.11.33.4.2.1.1.2.2.1.15.24 = STRING:
"Uplink5"

mrtg.syd at mrtg ~
$
#######################################
mrtg.syd at mrtg ~
$ snmpwalk -v 1 -c public bs11.bm.syd > /dev/null
Error: OID not increasing: RFC1213-MIB::ipRouteDest.224.0.0.0
 >= RFC1213-MIB::ipRouteDest.224.0.0.0


mrtg.syd at mrtg ~
$ 
#######################################
 <<Picture (Metafile)>> 
From: Hazell Derek 
Sent: Tuesday, 3 February 2009 10:11 AM
To: 'mrtg at lists.oetiker.ch'
Subject: RE: [mrtg] MIB query (re HP/Nortel Blade switches )...

Hi Scott
I tried the ifdesc-alias option within cfgmaker, but it made little or
no difference - the Description field in the cfgmaker output still comes
up empty.

Seems to me though it is firstly a problem in the setup of the HP/Nortel
GbE2c blade switch. As I mentioned before an snmpwalk against the blade
switch returns info but no port description data. Actually the snmpwalk
command also returns an error (I don't know if that error is significant
- perhaps the missing description data is not being returned because of
this error(?)) (see below).

So I suspect I need to do something in the blade switch so that snmpwalk
will return the description data. Once snmpwalk can see that data then
perhaps mrtg cfgmaker will see the descriptions as well ...

regards
Derek

##########################################
BRIEF OUTPUT OF SNMPWALK COMMAND AGAINST BLADE SWITCH (NOTE ERROR AT THE
END)
$ snmpwalk -v2c -commstring bs11.xx.yyy
SNMPv2-MIB::sysDescr.0 = STRING: GbE2c Ethernet Blade Switch for HP
c-Class BladeSystem
SNMPv2-MIB::sysObjectID.0 = OID:
SNMPv2-SMI::enterprises.11.2.3.7.11.33.4.1.1
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (2364917000) 273 days,
17:12:50.00
SNMPv2-MIB::sysContact.0 = STRING:
SNMPv2-MIB::sysName.0 = STRING: BS11.XX.YYY
SNMPv2-MIB::sysLocation.0 = STRING:
SNMPv2-MIB::sysServices.0 = INTEGER: 6
IF-MIB::ifNumber.0 = INTEGER: 280
IF-MIB::ifIndex.1 = INTEGER: 1
IF-MIB::ifIndex.257 = INTEGER: 257
IF-MIB::ifIndex.258 = INTEGER: 258
.
.
.
IF-MIB::ifInOctets.1 = Counter32: 2727786347
IF-MIB::ifInOctets.257 = Counter32: 142588718
IF-MIB::ifInOctets.258 = Counter32: 1280817
IF-MIB::ifInOctets.259 = Counter32: 0
.
.
.
IF-MIB::ifOutOctets.1 = Counter32: 1559593044
IF-MIB::ifOutOctets.257 = Counter32: 3928445505
IF-MIB::ifOutOctets.258 = Counter32: 272537458
IF-MIB::ifOutOctets.259 = Counter32: 262899569
.
.
.
Error: OID not increasing: RFC1213-MIB::ipRouteDest.224.0.0.0
 >= RFC1213-MIB::ipRouteDest.224.0.0.0



-----Original Message-----
From: mrtg-bounces at lists.oetiker.ch
[mailto:mrtg-bounces at lists.oetiker.ch] On Behalf Of Scott Ocken
Sent: Tuesday, 3 February 2009 2:37 AM
To: mrtg at lists.oetiker.ch
Subject: Re: [mrtg] MIB query (re HP/Nortel Blade switches )...


For the Nortel 8600 switch you want to use --ifdesc=alias in cfgmaker.
Alias seems to work for most Nortel switches.  In the past I hacked in  
an alias2 for the 4500 series, but after upgrading MRTG I lost that,  
and I don't think it was needed after that anyway.

Hope that helps with the Nortel Switches.  Let me know if you have any  
other Nortel switch issues as that is the only switch we use here.

Scott



**********************************************************************
This email is intended for the use of the addressee only. If you receive this email in error, please delete it immediately. This email may contain information which is confidential and/or legally privileged. You must not use or disclose the contents of this email, or add the sender's email address to any database, list or mailing list unless you are expressly authorised to do so.

The statements or views expressed in this email are those of the individual sender and are not those of Australian Associated Press Pty Ltd (AAP). These statements are not binding on AAP, except where the sender expressly and with authority, states them to be.

AAP is unable to review the contents of all the email on its system. To the extent permitted by law, AAP disclaims all liability for any loss or damage caused by the contents of this email. 

www.aap.com.au
**********************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20090217/1bc55552/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/bmp
Size: 454 bytes
Desc: Picture 
Url : http://lists.oetiker.ch/pipermail/mrtg/attachments/20090217/1bc55552/attachment-0001.bin 


More information about the mrtg mailing list