When I run snmpwalk on my interfaces I get the following:<br>(I believe that the devmon template is using this ... notice that they are all the same.  A transform won't help)<br>IF-MIB::ifName.70 = STRING: AT5/0/0<br>IF-MIB::ifName.71 = STRING: AT5/0/0<br>
IF-MIB::ifName.72 = STRING: AT5/0/0<br>IF-MIB::ifName.73 = STRING: AT5/0/0<br>IF-MIB::ifName.74 = STRING: AT5/0/0<br><br>(This could be used, but you would end up w/ very long names.  G0/0 would become GigabitEthernet0/0)<br>
IF-MIB::ifDescr.70 = STRING: ATM5/0/0<br>IF-MIB::ifDescr.71 = STRING: ATM5/0/0-atm layer<br>IF-MIB::ifDescr.72 = STRING: ATM5/0/0.0-atm subif<br>IF-MIB::ifDescr.73 = STRING: ATM5/0/0-aal5 layer<br>IF-MIB::ifDescr.74 = STRING: ATM5/0/0.0-aal5 layer<br>
<br>(This may be helpful ... somehow ignore all type 37 and type 49, and sub interface 0 ??)<br>IF-MIB::ifType.70 = INTEGER: sonet(39)<br>IF-MIB::ifType.71 = INTEGER: atm(37)<br>IF-MIB::ifType.72 = INTEGER: atmSubInterface(134)<br>
IF-MIB::ifType.73 = INTEGER: aal5(49)<br>IF-MIB::ifType.74 = INTEGER: aal5(49)<br><br>I will open a bug if you like.  Is the issue that originated this thread the same as the one I am experiencing?<br><br>Robert<br><br><div class="gmail_quote">
On Fri, Oct 31, 2008 at 9:19 AM, Buchan Milne <span dir="ltr"><<a href="mailto:bgmilne@staff.telkomsa.net">bgmilne@staff.telkomsa.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Friday 31 October 2008 17:35:44 Robert Holden wrote:<br>
> I have seen this as well.  I finally determined it was caused by ATM<br>
> interfaces.  Devmon does not give different components of an ATM circuit<br>
> (the physical interface, the -atm layer, .0 sub interface, -aal5 layer)<br>
> unique names.  So rrd was receiving data for 5 interfaces all with the same<br>
> name.  As a temporary interface, I stopped monitoring the atm interfaces,<br>
> but this is a bug.<br>
><br>
> Interface names:<br>
> ATM5/0/0<br>
> ATM5/0/0-atm layer<br>
> ATM5/0/0.0-atm subif<br>
> ATM5/0/0-aal5 layer<br>
> ATM5/0/0.0-aal5 layer<br>
<br>
</div>It's the spaces in the interface names.<br>
<div class="Ih2E3d"><br>
> Devmon sees these all as: ATM5/0/0  because devmon templates (atleast for<br>
> 6509's) are looking at ifName as the main identifier, which is not always<br>
> unique.<br>
<br>
</div>No, on earlier IOSs, there will still many interface names for ATM interfaces,<br>
but there were no spaces in the names. I have adjusted my template in this<br>
case as follows to avoid the problem with spaces:<br>
<br>
in transforms:<br>
<br>
ifNameFixed     : REGSUB        : {ifName} /(\S+)(\s*)?(\S+)$/$1$3/<br>
<br>
then replace ifName with ifNameFixed in the message file.<br>
<div class="Ih2E3d"><br>
> Not sure on a solution yet.  MRTG uses ifIndex as it's unique key.<br>
<br>
</div>Well, this is not the issue, but using ifIndex is not a solution either.<br>
<br>
(BTW, there isn't a bug filed on this issue, so so far I've just been wanting<br>
to fix this for my own setup ...)<br>
<br>
Regards,<br>
<font color="#888888">Buchan<br>
</font></blockquote></div><br>