<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Steve,<br>
<br>
Your template routers2.tp worked perfectly. Thanks for all your help
with this.... I appreciate it.<br>
<br>
-Patrick<br>
<br>
--------------------------------<br>
<br>
Steve Shipway wrote:
<blockquote
cite="mid:6B587E8C999646469B54486AF219584606F3E1E918@UXCHANGE7-1.UoA.auckland.ac.nz"
type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<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>
<!--
/* Font Definitions */
@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:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";
        color:black;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
pre
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.EmailStyle18
        {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><!--[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]-->
<div class="Section1">
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: navy;">You should
probably use a cfgmaker
template that will use the alias if available, else the description,
and so on –
as some of your aliases are blank you’ll need alternatives. I’ve
submitted a patch for cfgmaker to Tobi that allows you to specify
multiple
things in the –ifdesc and –ifref in order of preference, which
should help, but until this goes live you’ll need to do it with a
cfgmaker template. Take a look at some of the ones in the library at <a
moz-do-not-send="true"
href="http://www.steveshipway.org/forum/viewforum.php?f=34">http://www.steveshipway.org/forum/viewforum.php?f=34</a><o:p></o:p></span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: navy;"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: navy;">Steve<o:p></o:p></span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: navy;"><o:p> </o:p></span></font></p>
<div
style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; border-width: medium medium medium 1.5pt; padding: 0cm 0cm 0cm 4pt;">
<div>
<div class="MsoNormal" style="text-align: center;" align="center"><font
color="black" face="Times New Roman" size="3"><span
style="font-size: 12pt; color: windowtext;" lang="EN-US">
<hr tabindex="-1" align="center" size="2" width="100%"></span></font></div>
<p class="MsoNormal"><b><font color="black" face="Tahoma" size="2"><span
style="font-size: 10pt; font-family: Tahoma; color: windowtext; font-weight: bold;"
lang="EN-US">From:</span></font></b><font color="black" face="Tahoma"
size="2"><span
style="font-size: 10pt; font-family: Tahoma; color: windowtext;"
lang="EN-US"> <a class="moz-txt-link-abbreviated" href="mailto:mrtg-bounces@lists.oetiker.ch">mrtg-bounces@lists.oetiker.ch</a>
[<a class="moz-txt-link-freetext" href="mailto:mrtg-bounces@lists.oetiker.ch">mailto:mrtg-bounces@lists.oetiker.ch</a>] <b><span
style="font-weight: bold;">On
Behalf Of </span></b>Patrick Topping<br>
<b><span style="font-weight: bold;">Sent:</span></b> Saturday, 11
October 2008
07:01<br>
<b><span style="font-weight: bold;">To:</span></b> Brian A. Seklecki<br>
<b><span style="font-weight: bold;">Cc:</span></b>
<a class="moz-txt-link-abbreviated" href="mailto:mrtg@lists.oetiker.ch">mrtg@lists.oetiker.ch</a><br>
<b><span style="font-weight: bold;">Subject:</span></b> Re: [mrtg]
cfgmaker &
Foundry routers</span></font><font color="black"><span
style="color: windowtext;" lang="EN-US"><o:p></o:p></span></font></p>
</div>
<p class="MsoNormal"><font color="black" face="Times New Roman"
size="3"><span style="font-size: 12pt;"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font color="black" face="Times New Roman"
size="3"><span style="font-size: 12pt;">Brian,<br>
<br>
Below is the ifAlias section of the MIB:<br>
<br>
[root@bandit mrtg]# snmpwalk -c ubaVcj8PYF -v 2c fsigt-001-eqla3.stk
ifAlias<br>
IF-MIB::ifAlias.65 = STRING: <br>
IF-MIB::ifAlias.66 = STRING: <br>
IF-MIB::ifAlias.193 = STRING: fstgt-002-eqla3-ethe4/1<br>
IF-MIB::ifAlias.194 = STRING: fstgt-002-eqla3-ethe4/2<br>
<br>
I have tried '--ifdesc alias' and I get the same output. Any thoughts?<br>
<br>
-Patrick<br>
<br>
---------------------------------------<br>
<br>
<br>
<br>
Brian A. Seklecki wrote: <o:p></o:p></span></font></p>
<blockquote style="margin-top: 5pt; margin-bottom: 5pt;" type="cite">
<pre wrap=""><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">cfgmaker --output=/etc/mrtg/XXXXX.cfg--global "workdir: <o:p></o:p></span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">/var/www/mrtg/rrd" --ifref=descr --ifdesc=descr --global 'op<o:p></o:p></span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">tions[_]: growright,bits' XXXX@XXXXXX:::::2 --no-down<o:p></o:p></span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> <o:p></o:p></span></font></pre>
</blockquote>
<pre wrap=""><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"><o:p> </o:p></span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">what does snmpwalk on the if mib look like? <o:p></o:p></span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"><o:p> </o:p></span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;">~BAS<o:p></o:p></span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"><o:p> </o:p></span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"><o:p> </o:p></span></font></pre>
<pre><font color="black" face="Courier New" size="2"><span
style="font-size: 10pt;"> <o:p></o:p></span></font></pre>
</div>
</div>
</blockquote>
</body>
</html>