Retrieve Mikrotik Wireless Registration Table by SNMP

Started by dmartl, April 23, 2014, 12:35:15 PM

Previous topic - Next topic

dmartl

Hi!

We're new using netxms and we're trying to using it to monitor about 3000 Mikrotik devices using snmp. So, i'm doing some test to see if it's usable for our enviorement. I imported Mikrotik MIB and create some nodes on netxms. I can get SNMP values such number of wireless clients connected to an access point, temperature, throughput per interface... IT'S COOL!.

The last thing i need to configure is retrieve a table of wireless clients from an Access Point. On this table, Mikrotik show some values of each wireless client such MAC address, remote radio name, RouterOS version, signal strength... I tried to configure following this steps:
1. On AP node, right click and select "Data Collecion Configuration"
2. Right click and select "New Table"
3. On "General", set a name to this probe, set "Origin" as SNMP, and, on Parameter, set to .1.3.6.1.4.1.14988.1.1.1.2.1.
4. If i click on "Select" and then on "Walk", i can see all table.
5. Set probe interval on 5 sec.
6. Add a new column, for example to get RouterOS version. I think that is on this step where i have the problem. I set "Name" and "Display Name" to ROS. Data type is set to same data type that snmp walk tells me "RouterOS" column is (String). "Aggregation function" is set to default "SUM" and below checkboxes are not checked. SNMP Object ID is set to .1.3.6.1.4.1.14988.1.1.1.2.1.10 and is verified by snmp walk.
7. After some time, i tried to view table values, but the only thing i can see are the columns i defined, but without any value.

On logs, i don't see any error.

What i'm doing wrong?

Thank you!

andrey--k

Can you provide output
$ nxadm -c " sh po " | grep -v 'wait'
5 seconds is wery small interval I think.

dmartl

Hi!,

Output of command is:

PT  TIME                   STATE



i think that it means that there isn't any probe on wait state, isn't it?

So, i will modify probe interval and set it to 120 sec to test and tell you soon.

thank you for your fast response!

andrey--k

That means that all probes in wait state.
You have no active probes at the moment...

dmartl


andrey--k

Try to make configuration and status poll on node via nxmc.

dmartl

using nxmc do you mean using windows app? if answer is yes, i'm configuring it by nxmc now. i don't know other way to add a node to netxms.

regards

Victor Kirhenshtein

Hi!

All steps you do are correct. Can you please post screenshot of your table configuration? Also, is it possible to provide me with SNMP access to some test Mikrotik device so I can test if there are any bug withing NetXMS?

Best regards,
Victor

dmartl

Hi,

We are going to create a lab with one ap and two clients, asign a public ip address an send all data to you soon.

Thank you.

dmartl

Hi Victor,

I send you a private message with all data you need to get access to the lab.

Thank you.

Alex Kirhenshtein

Note about Mikrotik support — it's already implemented and will be included in upcoming 1.2.14

Victor Kirhenshtein

I just realize that SNMP table was not working because you have to provide one of table OIDs to collect instances. If you change table OID to .1.3.6.1.4.1.14988.1.1.1.2.1 it should work. It is not very convenient nor straight forward, I know :) SNMP tables definitely need improvement.

Best regards,
Victor

dmartl

Quote from: dmartl on May 15, 2014, 01:43:11 PM
Hi Victor,

I send you a private message with all data you need to get access to the lab.

Thank you.

Cooool!!!

I downloaded new version and it works like a charm. The driver apears to be a very earlier version, because in wireless clients doesn't show wireless strenght, ccq, and other values that mikrotik provides in registration table.

So, i'll try to modify driver source to add this values. if i have any improvement, i'll post here.

Thank you very much.

aeixea

Hello:

I have the same problem, have a registration table completelly blank... but my  <nxadm -c "sh po" | grep -v 'wait'> commnad, tell's:

PT  TIME                   STATE
A   30/Oct/2015 11:37:39   check

What is the key columnt in the table? I have mark iface and addrs (.1 and .2).

Thnx.