Created
January 14, 2015 20:42
-
-
Save ceesco53/57c6f2c4990199515d96 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/system scheduler | |
add disabled=no interval=6h name=log_reg_table on-event=log_client start-time=startup | |
/system script | |
add name=log_client policy=ftp,reboot,read,write,policy,test,password,sniff source=":foreach i in=[ /int wir reg find ap=no] do={\r\ | |
\n:log info (\"Mikrotik \" . [/system identity get name] . \" AP: \" . [int wir reg get \$i interface] . \" MAC: \" . [int wir reg get \$i mac-address ] . \" Last IP:\ | |
\" . [int wir reg get \$i last-ip] . \" RX: \" . [int wir reg get \$i rx-rate] . \" TX: \" . [int wir reg get \$i tx-rate] . \" Uptime: \" . [int wir reg get \$i upti\ | |
me] . \" LastACT: \" . [int wir reg get \$i last-activity] . \" SignalStrength: \" . [int wir reg get \$i signal-strength] . \" SNR: \" . [int wir reg get \$i signal-t\ | |
o-noise] . \" TX/RX-CCQ: \" . [int wir reg get \$i tx-ccq] . \" / \" . [int wir reg get \$i rx-ccq] . \" PThroughput: \" . [int wir reg get \$i p-throughput] )\r\ | |
\n}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment