Community discussions

MikroTik App
 
User avatar
Hammy
Forum Veteran
Forum Veteran
Topic Author
Posts: 776
Joined: Fri May 28, 2004 5:53 pm
Location: DeKalb, IL
Contact:

New SNMP Type (and other Dragonwave related SNMP quests)

Fri Apr 18, 2014 3:08 am

I'm trying to create a line on the map that shows signal and throughput similar to how The Dude does for Wi-Fi based links, but for a DragonWave link. I can't see how to define a new SNMP type so that the information I poll ends up on the map.

I know I'll need to determine what OIDs I need (which I'm working on), but what I'm missing is how to get them onto the map.
Last edited by Hammy on Tue Apr 22, 2014 7:36 pm, edited 1 time in total.
 
lebowski
Forum Guru
Forum Guru
Posts: 1619
Joined: Wed Aug 27, 2008 5:17 pm

Re: New SNMP Type

Fri Apr 18, 2014 6:36 pm

Device appearance?

Make a function then put the function on the appearance of a device or on the appearance of the map or the global settings label...

Lebowski
 
User avatar
Hammy
Forum Veteran
Forum Veteran
Topic Author
Posts: 776
Joined: Fri May 28, 2004 5:53 pm
Location: DeKalb, IL
Contact:

Re: New SNMP Type

Sat Apr 19, 2014 3:42 am

Well, I was referring to the speed and signal information that pops up on the squiggly link for a wireless link. However, I may have to do what you suggested.

Sent from my EVO using Tapatalk
 
lebowski
Forum Guru
Forum Guru
Posts: 1619
Joined: Wed Aug 27, 2008 5:17 pm

Re: New SNMP Type

Mon Apr 21, 2014 5:32 pm

It didn't make much sense to me earlier since I don't have any mikrotik wireless links. I put signal level in the appearance and use customized links but those links only show speed and not signal.

Lebowski
 
rhance
just joined
Posts: 7
Joined: Thu Mar 01, 2012 7:16 pm

Re: New SNMP Type

Mon Apr 21, 2014 8:36 pm

I setup something similar for some microwave radio's using the following.

Set the link settings to Mastering Type: SNMP
Change the link appearance label to:
[oid_raw("1.3.6.1.4.1.2378.1.1.2.2.2.2.1.1.5.1", 5, 5, "192.168.1.12")] dBm 
[oid_raw("1.3.6.1.4.1.2378.1.1.2.2.2.2.1.1.5.1", 5, 5, "192.168.1.13")] dBm
this ended up displaying my RSL on the label for both sides of the link. Replace the 192... with your device IPs. You might need to crawl to find your correct OID if this one doesn't work. Hope it helps. Also not sure if the setting of Mastering Type is required as I did this long ago and just pulled up my working settings to share.
 
User avatar
Hammy
Forum Veteran
Forum Veteran
Topic Author
Posts: 776
Joined: Fri May 28, 2004 5:53 pm
Location: DeKalb, IL
Contact:

Re: New SNMP Type

Tue Apr 22, 2014 12:24 am

Just for reference, here is where I'm referring to wanting to know how to create my own SNMP type.
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: New SNMP Type

Tue Apr 22, 2014 1:11 am

I put all our wireless bridges on one map and added the function that reads the rssi to the device label for the map. This was nice since all our bridges are the same vendor.

I don't think you can add an snmp type. Wish 10gig was in there, we will be mostly 10g backbone by the end of the year...

Thanks rhance for the karma!
Lebowski
bridgelinks.png
You do not have the required permissions to view the files attached to this post.
 
User avatar
Hammy
Forum Veteran
Forum Veteran
Topic Author
Posts: 776
Joined: Fri May 28, 2004 5:53 pm
Location: DeKalb, IL
Contact:

Re: New SNMP Type

Tue Apr 22, 2014 1:30 am

This is what an MT wireless link looks like.
You do not have the required permissions to view the files attached to this post.
 
User avatar
Hammy
Forum Veteran
Forum Veteran
Topic Author
Posts: 776
Joined: Fri May 28, 2004 5:53 pm
Location: DeKalb, IL
Contact:

Re: New SNMP Type

Tue Apr 22, 2014 2:56 am

Okay, I apparently don't need a new type. I can just use oid_raw to change that link's appearance.
 
User avatar
Hammy
Forum Veteran
Forum Veteran
Topic Author
Posts: 776
Joined: Fri May 28, 2004 5:53 pm
Location: DeKalb, IL
Contact:

Re: New SNMP Type

Tue Apr 22, 2014 3:18 am

Rx: [oid_raw("1.3.6.1.4.1.7262.2.5.3.1.4.9.0", 5, 5)/100] mbit
Tx: [oid_raw("1.3.6.1.4.1.7262.2.5.3.1.4.10.0", 5, 5)/100] mbit

That's what I enter for it to show the current throughput in mbit/s in the appearance dialog. However, the same code (within the brackets) produces 0 in the "Data Sources" window when I'm trying to chart it. There isn't a lot of data over that link now, but it isn't zero.

For reference, to get the RSL out, you use:

[oid_raw("1.3.6.1.4.1.7262.2.5.4.2.1.1.3.1", 5, 5)/10] dBm
 
User avatar
Hammy
Forum Veteran
Forum Veteran
Topic Author
Posts: 776
Joined: Fri May 28, 2004 5:53 pm
Location: DeKalb, IL
Contact:

Re: New SNMP Type

Tue Apr 22, 2014 5:22 pm

In the data source section, you ditch the brackets.
 
User avatar
Hammy
Forum Veteran
Forum Veteran
Topic Author
Posts: 776
Joined: Fri May 28, 2004 5:53 pm
Location: DeKalb, IL
Contact:

Re: New SNMP Type

Tue Apr 22, 2014 6:00 pm

Okay, does anyone know why the chart is ignoring my /100? The data source screen shows the scale correctly in that there is less than one megabit going through the link. However, in the chart, it seems to have ignored that and thinks there's 500 megabit going through the link.
You do not have the required permissions to view the files attached to this post.
 
User avatar
Hammy
Forum Veteran
Forum Veteran
Topic Author
Posts: 776
Joined: Fri May 28, 2004 5:53 pm
Location: DeKalb, IL
Contact:

Re: New SNMP Type (and other Dragonwave related SNMP quests)

Tue Apr 22, 2014 7:56 pm

The chart eventually corrected itself.
 
rhance
just joined
Posts: 7
Joined: Thu Mar 01, 2012 7:16 pm

Re: New SNMP Type (and other Dragonwave related SNMP quests)

Tue Apr 29, 2014 6:52 pm

The OID differs per microwave radio vendor. I use a number of different vendors and that one was from a NERA RSL I believe. Glad you sorted it out.
 
User avatar
Hammy
Forum Veteran
Forum Veteran
Topic Author
Posts: 776
Joined: Fri May 28, 2004 5:53 pm
Location: DeKalb, IL
Contact:

Re: New SNMP Type (and other Dragonwave related SNMP quests)

Tue Apr 29, 2014 7:17 pm

The OID differs per microwave radio vendor. I use a number of different vendors and that one was from a NERA RSL I believe. Glad you sorted it out.
Right.

Who is online

Users browsing this forum: No registered users and 25 guests