<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v =
"urn:schemas-microsoft-com:vml" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3492" name=GENERATOR><!--[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>@font-face {
        font-family: Tahoma;
}
@font-face {
        font-family: Times New Roman;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; }
v\:* {
        BEHAVIOR: url(#default#VML)
}
o\:* {
        BEHAVIOR: url(#default#VML)
}
w\:* {
        BEHAVIOR: url(#default#VML)
}
.SHAPE {
        BEHAVIOR: url(#default#VML)
}
st1:unknown {
        
}
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: blue; TEXT-DECORATION: underline
}
P {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
SPAN.EmailStyle18 {
        COLOR: navy; FONT-FAMILY: Arial; mso-style-type: personal
}
SPAN.EmailStyle19 {
        COLOR: navy; FONT-FAMILY: Arial; mso-style-type: personal
}
SPAN.EmailStyle20 {
        COLOR: navy; FONT-FAMILY: Arial; mso-style-type: personal-reply
}
DIV.Section1 {
        page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-GB vLink=blue link=blue ocsi="x">
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=749124422-17022009>Maybe you can help with this? I have save the
template as nortel_gbe2.tp And tried to run it with cfgmaker but get and
error. I have only used one template before so am not sure of what I am
doing except for trial and error. I don't have much time to spend on this
specific task.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=749124422-17022009>Here is what I have and what I am
getting</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=749124422-17022009></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=749124422-17022009>[root@mrtg mrtg]# /usr/bin/cfgmaker
--if-template=nortel_gbe2.tp --global 'WorkDir: /usr/local/rrd_data' --global
'LogFormat: rrdtool' --global 'routers.cgi*Options[_]: scaled' --global
'Options[_]: bits,growright' --ifdesc=alias --snmp-options=:::::2 --output
/etc/mrtg/blswr7e5at.cfg <A
href="mailto:da1sy@blswr7e5a.beverlycorp.com">da1sy@blswr7e5a.beverlycorp.com</A><BR>Evaluation
of the contents in the file </SPAN></FONT></DIV>
<DIV> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=749124422-17022009>nortel_gbe2.tp<BR>gave the error </SPAN></FONT></DIV>
<DIV> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=749124422-17022009>"Undefined subroutine &SNMPv1_Session::getaddrinfo
called at /usr/bin/../lib64/mrtg2/SNMP_Session.pm line 650, <IF_TEMPLATE>
line 23.<BR>"</SPAN></FONT></DIV>
<DIV> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=749124422-17022009>Exiting cfgmaker</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=749124422-17022009></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=749124422-17022009></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=749124422-17022009>Thanks for your help, maybe working together we can get
this to work.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=749124422-17022009></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=749124422-17022009></SPAN></FONT> </DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> mrtg-bounces@lists.oetiker.ch
[mailto:mrtg-bounces@lists.oetiker.ch] <B>On Behalf Of </B>Steve
Shipway<BR><B>Sent:</B> Tuesday, February 17, 2009 2:54 PM<BR><B>To:</B>
'dhazell@aap.com.au'; 'mrtg@lists.oetiker.ch'<BR><B>Subject:</B> Re: [mrtg] FW:
MIB query (re HP/Nortel Blade switches )...<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">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 face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" size=2><SPAN lang=EN-NZ
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">my($hpoid) =
oid_pick($router_connect,$v3opt,"</SPAN></FONT><FONT face="Courier New"
size=2><SPAN
style="FONT-SIZE: 10pt; 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
face="Courier New" size=2><SPAN lang=EN-NZ
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">",<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Courier New" size=2><SPAN lang=EN-NZ
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">
"</SPAN></FONT><FONT face=Arial color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">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="Courier New" size=2><SPAN lang=EN-NZ
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">");<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-NZ
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-NZ
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">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 face=Arial color=navy size=2><SPAN lang=EN-NZ
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-NZ
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">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 face=Arial color=navy size=2><SPAN lang=EN-NZ
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN lang=EN-NZ
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Steve<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<DIV
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: medium none; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: blue 1.5pt solid; PADDING-TOP: 0cm; BORDER-BOTTOM: medium none">
<DIV>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT
face="Times New Roman" size=3><SPAN lang=EN-US
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'">
<HR tabIndex=-1 align=center width="100%" SIZE=2>
</SPAN></FONT></DIV>
<P class=MsoNormal><B><FONT face=Tahoma size=2><SPAN lang=EN-US
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</SPAN></FONT></B><FONT
face=Tahoma size=2><SPAN lang=EN-US
style="FONT-SIZE: 10pt; 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 face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">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 face=Arial color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">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 face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'"> <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">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 face=Arial color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">[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 face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'"> <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'"> <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">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 face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'"> <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'"><o:p> </o:p></SPAN></FONT></P>
<P><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">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><p></p><p>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.</BODY></HTML>