PRTG sensors monitoring Mikrotik RB2011 interfaces

Hi

I am using PRTG for monitoring network traffic and have setup traffic flow on RB2011. It works great, but I am running into a problem in trying to work out which interface the sensor is reading on the RB2011.

the PRTG sensors require the field ‘Interface’ to be put in the sensor.
Where x is the number of the interface on the RB2011…allegedly.
except it doesnt seem to relate to any interface order that I can find in the RB2011

I have a bunch of interfaces setup, and Capsman bridges and interfaces too. I have worked out some by trial and error but can’t seem to find the rest.

does anyone have any idea what order the PRTG ‘Interface’ would be working to when it scans the RB2011 so I can stop fishing in the dark.

thanks
Mark

Run print command in interface and see the numbers. They should correspond or maybe they need to be shifted +1. Just an idea…

That means either PRTG is broken, or you have not completely understood its possibilities (I don’t know this program).
In SNMP monitoring of interfaces, you have to retrieve a table of interfaces from the target, let the user decide
what interfaces they want to monitor, and use that information to derive the interface numbers.

E.g. when you run this (on a Linux box with snmptools installed):

snmpwalk -v1 -c public 192.168.88.1 IF-MIB::ifName

you will get a table of interface names. You can see the numbers in that table.
In theory, the numbers can change at reboot. In practice this does not appear to be the case for MikroTik, but I have
seen it happen in other equipment. So a program like PRTG should not rely on numbers but should be consulting
this table itself.
(of course on a MikroTik you can change these interface names as well!! so be careful)

Using PRTG SNMP traffic counters is pretty straightforward for me. Just select which interfaces you’re interested in.
prtg.PNG