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

Steve Shipway s.shipway at auckland.ac.nz
Tue Feb 17 21:53:55 CET 2009


Might be able to use both OIDs in the oid_pick in case either works:

 

my($hpoid) =
oid_pick($router_connect,$v3opt,"1.3.6.1.4.1.11.2.3.7.11.33.4.2.1.1.2.2.1.15
.$ifindex",

      "1.3.6.1.4.1.11.2.3.7.11.33.1.2.1.1.2.2.1.15.$ifindex");

 

Its possible as well that the HP MIB doesn't use $ifindex as the suffix but
some other index of their own, which would be a nuisance.

 

As someone else suggested, using --ifref=name --ifdesc=name as options is
also a good idea; my rough script just grabbed the default identifier to use
if it can't find an HP one.

 

Steve

 

  _____  

From: mrtg-bounces at lists.oetiker.ch [mailto:mrtg-bounces at lists.oetiker.ch]
On Behalf Of Mersberger, Robert
Sent: Wednesday, 18 February 2009 05:02
To: 'Sean Cheesman'; mrtg at lists.oetiker.ch
Subject: Re: [mrtg] FW: MIB query (re HP/Nortel Blade switches )...

 

Try changing the OID in the template to
.1.3.6.1.4.1.11.2.3.7.11.33.1.2.1.1.2.2.1.15.$ifindex. 

sample of output.

 

I have the same switched and when I do an snmpwalk to this oid I get the
following. 

[root at mrtg ~]# snmpwalk -v 2c -c da1sy blswr7e5a
.1.3.6.1.4.1.11.2.3.7.11.33.1.2.1.1.2.2.1.15   
SNMPv2-SMI::enterprises.11.2.3.7.11.33.1.2.1.1.2.2.1.15.1 = STRING: "Blade
Server 751"
SNMPv2-SMI::enterprises.11.2.3.7.11.33.1.2.1.1.2.2.1.15.2 = STRING:
"Downlink2"

 

 

Hope this helps. I have not looked at the template yet but will look as it
as time permits.

 

 

Please consider the environment before printing this e-mail. 

CONFIDENTIAL NOTICE:
This e-mail message and any attachment(s) (collectively, this 'Email') are
intended 
only for the confidential use of the recipient(s) named above. If the reader
of this 
message is not the intended recipient named above or an agent responsible
for 
delivering it to the intended recipient named above, you have received this
Email in error. 
Please notify the sender immediately and permanently delete this Email and
any copies thereof.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20090218/b5e0cd7d/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3133 bytes
Desc: not available
Url : http://lists.oetiker.ch/pipermail/mrtg/attachments/20090218/b5e0cd7d/attachment.bin 


More information about the mrtg mailing list