number of interfaces OID

i would like to monitor with snmp the amount of interfces (to see how many pppoe users are connected).

at interface the print oid dont show it
and with a MIB browser also the oid I found is not working.

I am using a windows based program called PRTG.

anybody is doing it?

You could query the OID 1.3.6.1.2.1.2.1

This gives the number of all interfaces. If you subtract the (known) number of static interfaces (like ethernet, wireless) you get the number of dynamically created interfaces. So if you box is only doing PPPoE (no wireless AP or the like), this should give the number of connected PPPoE sessions…

thanks. but this is what my MIB browser give sme. must be the right one.
but the PRTG dont retreive any value at this oid, but works perfectly with all others.

this is very strange.