<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
v\:* {
        BEHAVIOR: url(#default#VML)
}
o\:* {
        BEHAVIOR: url(#default#VML)
}
w\:* {
        BEHAVIOR: url(#default#VML)
}
.SHAPE
        {BEHAVIOR: url(#default#VML)
;}
st1:unknown {
        
}
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Times New Roman";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-GB link=blue vlink=blue ocsi=x>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Might be able to use both OIDs in the
oid_pick in case either works:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-NZ
style='font-size:10.0pt;font-family:"Courier New"'>my($hpoid) =
oid_pick($router_connect,$v3opt,"</span></font><font size=2
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>1.3.6.1.4.1.11.2.3.7.11.33.4.2.1.1.2.2.1.15.$ifindex</span></font><font
size=2 face="Courier New"><span lang=EN-NZ style='font-size:10.0pt;font-family:
"Courier New"'>",<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span lang=EN-NZ
style='font-size:10.0pt;font-family:"Courier New"'> "</span></font><font
size=2 color=blue face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:blue'>1.3.6.1.4.1.11.2.3.7.11.33.1.2.1.1.2.2.1.15.$ifindex</span></font><font
size=2 face="Courier New"><span lang=EN-NZ style='font-size:10.0pt;font-family:
"Courier New"'>");<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-NZ
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-NZ
style='font-size:10.0pt;font-family:Arial;color:navy'>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.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-NZ
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-NZ
style='font-size:10.0pt;font-family:Arial;color:navy'>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.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-NZ
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-NZ
style='font-size:10.0pt;font-family:Arial;color:navy'>Steve<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt;font-family:
"Times New Roman"'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span lang=EN-US
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma'>
mrtg-bounces@lists.oetiker.ch [mailto:mrtg-bounces@lists.oetiker.ch] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Mersberger, Robert<br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, 18 February 2009
05:02<br>
<b><span style='font-weight:bold'>To:</span></b> 'Sean Cheesman';
mrtg@lists.oetiker.ch<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [mrtg] FW: MIB query
(re HP/Nortel Blade switches )...</span></font><font face="Times New Roman"><span
lang=EN-US style='font-family:"Times New Roman"'><o:p></o:p></span></font></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>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. </span></font><font
face="Times New Roman"><span style='font-family:"Times New Roman"'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>sample of output.</span></font><font
face="Times New Roman"><span style='font-family:"Times New Roman"'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt;font-family:"Times New Roman"'> <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>I have the same switched and when I do an
snmpwalk to this oid I get the following. </span></font><font
face="Times New Roman"><span style='font-family:"Times New Roman"'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>[root@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 <br>
SNMPv2-SMI::enterprises.11.2.3.7.11.33.1.2.1.1.2.2.1.15.1 = STRING: "Blade
Server 751"<br>
SNMPv2-SMI::enterprises.11.2.3.7.11.33.1.2.1.1.2.2.1.15.2 = STRING:
"Downlink2"</span></font><font face="Times New Roman"><span
style='font-family:"Times New Roman"'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt;font-family:"Times New Roman"'> <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt;font-family:"Times New Roman"'> <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>Hope this helps. I have not looked at the
template yet but will look as it as time permits.</span></font><font
face="Times New Roman"><span style='font-family:"Times New Roman"'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt;font-family:"Times New Roman"'> <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt;font-family:"Times New Roman"'><o:p> </o:p></span></font></p>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>Please
consider the environment before printing this e-mail. <br>
<br>
CONFIDENTIAL NOTICE:<br>
This e-mail message and any attachment(s) (collectively, this 'Email') are
intended <br>
only for the confidential use of the recipient(s) named above. If the reader of
this <br>
message is not the intended recipient named above or an agent responsible for <br>
delivering it to the intended recipient named above, you have received this
Email in error. <br>
Please notify the sender immediately and permanently delete this Email and any
copies thereof.<o:p></o:p></span></font></p>
</div>
</div>
</body>
</html>