Community discussions

MikroTik App
 
troy
Member
Member
Topic Author
Posts: 320
Joined: Thu Jun 30, 2005 6:47 pm

SNMP - Different OIDs on different boards...

Sat Nov 23, 2013 7:40 pm

Ok, in the past, I've just accepted this, but as I'm wanting to monitor more and more devices, it's starting to get really annoying.

I checked a few different devices for ifDescr.1

CCR = sfp1
RB1100 = Ether12
RB435 = Ether1
RB1200 = Ether10

This is so random... can we get some degree of predictability between products? It would be so nice if you could throw an OID at any given RB product and always get Ether1.

A suggestion:
1NN = EtherNN
2NN = SfpNN
3NN = WlanNN

Not sure how best to handle dynamic interfaces, maybe a configuration option that defaults to 1NNN that can be overridden so that if a connection changes from a GRE tunnel to a VPLS tunnel, I can keep the ifIndex value to minimize changes made to the monitoring system.

In addition, there are 3 strings available. It would be very cool if ifName would always use the default interface names (Ether1, Wlan1, Bridge1, Gre1, etc...), while ifAlias contained a user-provided name and ifDescr contained the user-provided comment.

ifName.101 = Ether1
ifAlias.101 = WAN1
ifDescr.101 = Cogent GigE


Anyways, just a thought for ROS7 (or maybe a near-future version of ROS6).
 
iqt
just joined
Posts: 23
Joined: Fri Jun 07, 2013 11:04 am

Re: SNMP - Different OIDs on different boards...

Thu May 25, 2023 8:44 am

Quite an old post, but on my cAP Lite 6.49.8 the naming issue still remains:
ifName = current interface name
ifDescr = current interface name
ifAlias = empty

It would be really helpful if we could get the original interface name as well as the new name (shown in WinBox).

Has this been changed with ROS 7?

Dirk

Who is online

Users browsing this forum: baragoon, Google [Bot], JDF, RHWwijk and 90 guests