Community discussions

MikroTik App
 
jmay
Member
Member
Topic Author
Posts: 336
Joined: Tue Jun 23, 2009 8:26 pm

Graphing RF Power Levels on PTP Links

Wed Aug 30, 2017 6:46 pm

I have MT's setup as backhauls all over the place. When I snmpwalk them each link will have a slightly different OID for graphing rf levels. I don't see a universal one. Is there a way to over come this? I have to create a probe for every link and if a MT gets swapped out I have to rebuild the snmp each time. It would be nice if I could use 1 probe for all. Is this possible?

Here's what I've been using. The numbers at the end always change. Can a wild card be used?

iso.org.dod.internet.private.enterprises.mikrotik.mikrotikExperimentalModule.mtXRouterOs.mtxrWireless.mtxrWlRtabTable.mtxrWlRtabEntry.mtxrWlRtabStrength.212.202.109.45.73.137.2
 
pe1chl
Forum Guru
Forum Guru
Posts: 10223
Joined: Mon Jun 08, 2015 12:09 pm

Re: Graphing RF Power Levels on PTP Links

Wed Aug 30, 2017 9:22 pm

The reason is that there are separate levels per MAC address. The varying numbers are the MAC address of your peer.
On a point-to-point link it is useless, but on an AP with 2 or more clients you need this in order to plot your clients independently.
When you use snmpwalk, just omit those final digits and it will return the (varying) OID automatically.
 
jmay
Member
Member
Topic Author
Posts: 336
Joined: Tue Jun 23, 2009 8:26 pm

Re: Graphing RF Power Levels on PTP Links

Wed Aug 30, 2017 9:41 pm

Are u saying to use this? I tried this and it returned nothing.

iso.org.dod.internet.private.enterprises.mikrotik.mikrotikExperimentalModule.mtXRouterOs.mtxrWireless.mtxrWlRtabTable.mtxrWlRtabEntry.mtxrWlRtabStrength
 
pe1chl
Forum Guru
Forum Guru
Posts: 10223
Joined: Mon Jun 08, 2015 12:09 pm

Re: Graphing RF Power Levels on PTP Links

Wed Aug 30, 2017 9:50 pm

For me it works. With "snmpwalk" of course, not with "snmpget".
 
jmay
Member
Member
Topic Author
Posts: 336
Joined: Tue Jun 23, 2009 8:26 pm

Re: Graphing RF Power Levels on PTP Links

Wed Aug 30, 2017 10:08 pm

I'm confused. I'm using SNMPWalk from within the Dude to find the OID's I want. Then I graph them also using the Dude. What is snmpget?

Maybe my sytax is wrong. I'm testing right now by putting this into a network map in the dude. Is this correct?

[oid("iso.org.dod.internet.private.enterprises.mikrotik.mikrotikExperimentalModule.mtXRouterOs.mtxrWireless.mtxrWlRtabTable.mtxrWlRtabEntry.mtxrWlRtabTxStrength")]
 
pe1chl
Forum Guru
Forum Guru
Posts: 10223
Joined: Mon Jun 08, 2015 12:09 pm

Re: Graphing RF Power Levels on PTP Links

Wed Aug 30, 2017 10:23 pm

Ah you are talking about snmpwalk from Dude. I don't have experience with that, I use it as a generic Linux command.
I leave it to others to comment about Dude.
 
lebowski
Forum Guru
Forum Guru
Posts: 1619
Joined: Wed Aug 27, 2008 5:17 pm

Re: Graphing RF Power Levels on PTP Links  [SOLVED]

Sat Sep 02, 2017 12:01 am

Solectek bridges have kind of the same trouble where the OID is actually something different on each link even though they use the same hardware something is tacked onto the end of the RSSI OID.

For example the actual oid is 1.3.6.1.4.1.2890.7.6.2.1.5.6.0.128.72.116.21.168 on one bridge, Since it is the only OID in the column it works for every radio even though everything past 6.0 is unique...

This is the function that I use for solectek radios.
if(oid_column("1.3.6.1.4.1.2890.7.6.2.1.5.6", 10 ,5),oid_column("1.3.6.1.4.1.2890.7.6.2.1.5.6", 10 ,5),"False")
 
jmay
Member
Member
Topic Author
Posts: 336
Joined: Tue Jun 23, 2009 8:26 pm

Re: Graphing RF Power Levels on PTP Links

Sat Sep 02, 2017 4:43 pm

Solectek bridges have kind of the same trouble where the OID is actually something different on each link even though they use the same hardware something is tacked onto the end of the RSSI OID.

For example the actual oid is 1.3.6.1.4.1.2890.7.6.2.1.5.6.0.128.72.116.21.168 on one bridge, Since it is the only OID in the column it works for every radio even though everything past 6.0 is unique...

This is the function that I use for solectek radios.
if(oid_column("1.3.6.1.4.1.2890.7.6.2.1.5.6", 10 ,5),oid_column("1.3.6.1.4.1.2890.7.6.2.1.5.6", 10 ,5),"False")
yay.png
Lebowski! I wanna give you a hug! This works. I never knew about columns. I've been creating separate probes for links for years. You are a life saver! Wanna go bowling some time? lol For the future somebody that finds this, heres what it looks like after you put it into a dude probe.
You do not have the required permissions to view the files attached to this post.
 
lebowski
Forum Guru
Forum Guru
Posts: 1619
Joined: Wed Aug 27, 2008 5:17 pm

Re: Graphing RF Power Levels on PTP Links

Tue Sep 05, 2017 4:57 pm

Thanks that rocks, glad I could help out. If your around Denver sometime :)

Who is online

Users browsing this forum: No registered users and 31 guests