Print wireless signal levels to syslog for capture elsewhere

All,

I’m a scripting novice, and need some pointers on a basic need. Is there an easy way to schedule a command to run, and have its output sent to a remote syslog server? I’d like to capture signal/noise data for analysis.

thanks - marshall

You can configure logging to send “script,info” logs to remote server. Manual on logging:
http://www.mikrotik.com/testdocs/ros/2.9/system/logging.php

After executing command :log info “lalalala”; log from script will be sent to remote server.

You can use Dude to monitor signal strengths with SNMP oid’s and generate graphs - I think this only works on stations & not bridged devices though.

http://wiki.mikrotik.com/wiki/Graphing_Client_Signal_Strength

mrz,

my script will print out wireless signal data, so I’m not looking to send script status messages to the log, I want the variable data sent as well :slight_smile:

And where is the problem sending wariable data to log?

:local myWar “some value”;
:log info “myVar value is $myVar”;

Or I missed something?

Please bear with me, as I’m new to the mt scripting language. How would I write a script that outputs the results of this command:
/interface wireless registration-table

Thank you kindly
marshall