Logging RSSI / Signal?

I’ve brought this up before but no one had a solution months ago…i’ve read everything i can get my hands on reguarding loggin and mt scripting..but im still drawing a blank.

any ideas? even a script or command that will take a sample of echo output and send it to the log. thats the main hurdle i cant get over…

tks

I can’t offer a solution for scripting, but this type of data is what SNMP is for. Check out MRTG or Cacti - you can graph signal information over time which would be much easier to read than log outputs IMO.

‘interface wireless registration-table print oid’ provides you with the required information about client connection.

I was told once that the OID’s are dynamicaly assigned to regular wireless clients, to ensure the OID you are polling is static, add the MAC to your access list (from winbox->wireless registration table->copy to access list)

can anyone from MT confirm this or not?

The OIDs listed in the registration table contain the MAC address of the clients (you have to convert to hex). So they should never change unless you swap out the radio card of the client you are monitoring from the reg table. We’ve never had one disappear on us with 2.8 or 2.9.

If you can’t think of a way to do this with scripting then i am happy to inform you that it’s actually very simple. You can even log the data a remote server. Heck, you could even e-mail the data to yourself.

If you want to do active (telnet|ssh) logins to gather the data then that is also very possible but personally i find the solutions to be hackish at best. And you need to maintain it or have it break when a newer version of routeros is out.

sten i dont follow your previous post…

but the issue is i need to record the RSSI for Random clients (since this is a series of Hot Spots in a Hotel).

the print OID for SNMP only applies to static connections.

any ideas?

tks

SNMP walk them starting from that part of the OID tree.
Or;
Write a script that traverse the registration-table and :log the replies.
Need to store the logs somewhere else? Read up on logs and how to filter.
Or;
You could also just make it send you and e-mail with something along the lines of printing reg-table into a file and e-mail it to yourself
Or;
Write an ssh/telnet application to login and do the work for you.
I wrote my vt100 telnet client (yes, it actually does telnet negotiation and vt100 emulation) in 100% ksh93 (no nc, no telnet command wrapping) but i hear TCL with Expect will do it for far less calories.

I personally think #4 is hackish and more prone to breakage.