<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:m="http://schemas.microsoft.com/office/2004/12/omml" 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 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle18
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">OK, so I patched cfgmaker on my MRTG 2.16.2 to get interface descriptions working on Avaya Enterprise Routing Switch 55xxs:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">$ rpm -q mrtg<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">mrtg-2.16.2-7.el6.x86_64<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">$ diff -u /usr/bin/cfgmaker cfgmaker<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">--- /usr/bin/cfgmaker 2012-11-12 06:44:43.000000000 -0500<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">+++ cfgmaker 2014-10-01 11:53:25.896216255 -0400<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">@@ -187,6 +187,9 @@<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> if ($descr =~ m/Passport-8610/ ) {<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> push @Variables, "ppPortName";<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> }<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">+ if ($descr =~ m/Ethernet Routing Switch 55/ ) {<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">+ push @Variables, "ifAlias";<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">+ }<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> foreach my $var (@Variables) {<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> debug('base',"Walking $var");<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">This works if I set --ifdesc=alias.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">It would be even better if cfgmaker used ifAlias whenever --ifdesc=alias is set, without having the Avaya ERS 55xx special cased in.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Please include in the next (upstream) release of MRTG.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Wrolf Courtney<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> mrtg [mailto:mrtg-bounces+wrolf.courtney=nyct.com@lists.oetiker.ch]
<b>On Behalf Of </b>Courtney, Wrolf<br>
<b>Sent:</b> Wednesday, October 01, 2014 11:27 AM<br>
<b>To:</b> mrtg@lists.oetiker.ch<br>
<b>Subject:</b> Re: [mrtg] Interface Descriptions for Avaya/Nortel 5510 in cfgmaker<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">The ifAlias is set for port 2, but it never shows up in cfgmaker:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">$ snmpwalk -v2c -c public 10.1.1.1 ifAlias | head -2<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">IF-MIB::ifAlias.1 = STRING:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">IF-MIB::ifAlias.2 = STRING: ISP<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Wrolf<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> mrtg [<a href="mailto:mrtg-bounces+wrolf.courtney=nyct.com@lists.oetiker.ch">mailto:mrtg-bounces+wrolf.courtney=nyct.com@lists.oetiker.ch</a>]
<b>On Behalf Of </b>Courtney, Wrolf<br>
<b>Sent:</b> Wednesday, October 01, 2014 10:27 AM<br>
<b>To:</b> <a href="mailto:mrtg@lists.oetiker.ch">mrtg@lists.oetiker.ch</a><br>
<b>Subject:</b> [mrtg] Interface Descriptions for Avaya/Nortel 5510 in cfgmaker<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Does anyone know how to get interface names for Avaya/Nortel 5510s in descriptions for cfgmaker? I have no problem with 8600s, just the 5510s. I have tried all parameters in the man page for --ifdesc.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:#365F91">Wrolf Courtney<o:p></o:p></span></p>
</div>
</body>
</html>