have you ever felt like a robot? - mikrotik · how can we run a script? -> snmp get or set we...
TRANSCRIPT
![Page 1: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/1.jpg)
Have you ever feltlike a robot?
![Page 2: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/2.jpg)
![Page 3: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/3.jpg)
Try adding 23 ports to a bridge...
![Page 4: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/4.jpg)
Let’s see...
![Page 5: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/5.jpg)
![Page 6: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/6.jpg)
![Page 7: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/7.jpg)
![Page 8: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/8.jpg)
Google Geolocation API{ "homeMobileCountryCode": 310, "homeMobileNetworkCode": 410, "radioType": "gsm", "carrier": "Vodafone", "considerIp": "true", "cellTowers": [ // See the Cell Tower Objects section below. ], "wifiAccessPoints": [ // See the WiFi Access Point Objects section below. ]}
![Page 9: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/9.jpg)
Google Geolocation API - only WiFi{ "wifiAccessPoints": [ { "macAddress": "00:25:9c:cf:1c:ac", "signalStrength": -43, }, { "macAddress": "00:12:23:00:56:78", "signalStrength": -62, },...... ]}
![Page 10: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/10.jpg)
![Page 11: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/11.jpg)
Google Geolocation API - the result{ "location": { "lat": 51.0, "lng": -0.1 }, "accuracy": 1200.4}
https://www.google.com/maps/?q=51.0,-0.1
And finally we can do:
![Page 12: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/12.jpg)
Geolocation - summary of the steps
1. Run the scan on the wireless interfaces2. Prepare the JSON query with few empty MACs3. Copy-paste the MAC addresses and signals4. Run the API query, open the result5. Copy-paste the coordinates to HTTP link
![Page 13: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/13.jpg)
Geolocation - the script
![Page 14: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/14.jpg)
![Page 15: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/15.jpg)
![Page 16: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/16.jpg)
![Page 17: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/17.jpg)
Few questions we’re going to answer
● Where can we have the scripts on the router?● What can we do with the scripts?● How can we run a script?● How can we make the script nice and clear?
![Page 18: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/18.jpg)
The scripts - where?
![Page 19: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/19.jpg)
The scripts - where? - in the CLI!:foreach lease in=[/ip dhcp-server lease find] do={ :local mac [/ip dhcp-server lease get $lease mac-address]; :local name [/ip dhcp-server lease get $lease host-name]; :local ip [/ip dhcp-server lease get $lease address]; :put "MAC address: $mac, IP: $ip, host name: $name"}
![Page 20: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/20.jpg)
The scripts - where? - in the CLI!
![Page 21: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/21.jpg)
The scripts - where? - in the CLI!
![Page 22: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/22.jpg)
The scripts - where? - in the file!
![Page 23: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/23.jpg)
The scripts - where? - in the file!
![Page 24: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/24.jpg)
The scripts - where? - in the scripts!
![Page 25: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/25.jpg)
The scripts - where? - in the scripts!
![Page 26: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/26.jpg)
The scripts - where? - other places
![Page 27: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/27.jpg)
What can we do?
![Page 28: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/28.jpg)
What can we do? - the magic :commands
:for i from=440 to=880 step=40 do={ :put “Now beeping at $i MHz”; :beep frequency=$i length=1s; :delay 1s;}
![Page 29: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/29.jpg)
The :commands controlling the flow
● :if● :for● :foreach● :do … while● :while … do● :delay● :return
![Page 30: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/30.jpg)
The :commands working on variables
● :local● :global● :set● :typeof● :tonum, :toarray, :tobool, :tostr
![Page 31: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/31.jpg)
The :commands interacting with user
● :put● :log● :beep● :blink
![Page 32: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/32.jpg)
The :commands working on strings
● :find● :pick● :len
:local text “abcde”:put [:pick $text 1 [:find $text “d”]]
bc
![Page 33: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/33.jpg)
Other useful RouterOS commands
● /tool e-mail send● /tool sms send● /tool fetch● /ping● /file get … contents● /file set … contents=…● /tool snmp-get
![Page 34: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/34.jpg)
How can we run a script?
![Page 35: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/35.jpg)
Our example script
:if ([/system leds get [find] type]="off") do={ /system leds set [find] type=on;} else={ /system leds set [find] type="off";}
![Page 36: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/36.jpg)
How can we run a script?-> scheduler
![Page 37: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/37.jpg)
How can we run a script? -> triggers
![Page 38: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/38.jpg)
How can we run a script? -> mode button
![Page 39: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/39.jpg)
How can we run a script? -> FTP upload file.auto.rsc
![Page 40: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/40.jpg)
How can we run a script? -> SMS to the router:cmd SECRET script NAME
![Page 41: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/41.jpg)
How can we run a script? -> SNMP GET or SET
● We need SNMP community with write access (even for GET)
● We need to find the Script OIDs with snmpwalk● Script can report a value with :return (string only)
$ snmpwalk -v2c -cpublic 192.168.88.1 1.3.6.1.4.1.14988.1.1.8
iso.3.6.1.4.1.14988.1.1.8.1.1.2. 1 = STRING: "script1"
iso.3.6.1.4.1.14988.1.1.8.1.1.2. 2 = STRING: "script2"
iso.3.6.1.4.1.14988.1.1.8.1.1.3.1 = INTEGER: 0
iso.3.6.1.4.1.14988.1.1.8.1.1.3.2 = INTEGER: 0
![Page 42: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/42.jpg)
How can we run a script? -> SNMP GET
![Page 43: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/43.jpg)
Variables
![Page 44: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/44.jpg)
Using variables
● :local x - variable $x visible only inside this “scope”● :global x - variable $x visible everywhere (in the System
Environment”)
● :local x 1 - setting the variable value when initializing● :set $x 1 - setting the variable name anywhere else
![Page 45: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/45.jpg)
Variables - arrays:foreach lease in=[/ip dhcp-server lease find] do={ :local mac [/ip dhcp-server lease get $lease mac-address]; :local name [/ip dhcp-server lease get $lease host-name]; :local ip [/ip dhcp-server lease get $lease address]; :put "MAC address: $mac, IP: $ip, host name: $name"}
![Page 46: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/46.jpg)
Variables - custom arrays
:local colors [:toarray “”]:set ($colors->”sun”) “yellow”:set ($colors->”sky”) “blue”:set ($colors->”grass”) “green”
:put “The color of the grass is:”:put ($colors->”grass”)
![Page 47: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/47.jpg)
Variables - custom arrays
:foreach element,color in=$colors do={ :put “$element is $color”}
grass is greensky is bluesun is yellow
![Page 48: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/48.jpg)
Functions
![Page 49: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/49.jpg)
Functions - how to define them
:global function do={ :return "This is the result!"}
![Page 50: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/50.jpg)
Functions - how to run them
![Page 51: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/51.jpg)
Functions - how NOT TO run them
We need to RUN the function.:put $function - wrong!:put [$function] - right!
![Page 52: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/52.jpg)
Functions - how to pass arguments
:global exp do={ :local result 1; :for i from=1 to=$2 do={ :set $result ($result*$1); } :return $result}
:put [$exp 2 8]
![Page 53: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/53.jpg)
Functions - running them with arguments
![Page 54: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/54.jpg)
Functions - and the local/global scopes
● Functions can be defined as local● Better to define functions as global● Functions used by other functions NEED TO be defined
as global
:global function1 do={...}
:global function2 do={ :global function1; ... (using [$function1])}
:local function1 do={...}
:local function2 do={ :local function1; ... (using [$function1])}
![Page 55: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/55.jpg)
Functions - how I use them:global pushover do={:global urlEncode; :if ([:typeof $message]!="nothing") do={ :local api "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"; :local user "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"; :local urlmessage [$urlEncode $message]; :local string "token=$api&user=$user&message=$urlmessage"; /tool fetch mode=https url="https://api.pushover.net/1/messages.json" http-method=post http-data="$string"; }}
$pushover message=”There is a problem with the router!”
![Page 56: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/56.jpg)
Functions - something special
:global input do={ :return}
:put “Please provide the value for x:”:local x [$input]:put “Please provide the value for y:”:local y [$input]:put “$x*$y=$($x*$y)”
![Page 57: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/57.jpg)
Functions - something special
![Page 58: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/58.jpg)
Playing battleships over BGP● Introduced by Ben Cox: https://blog.benjojo.co.uk/post/bgp-battleships
![Page 59: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/59.jpg)
![Page 60: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/60.jpg)
![Page 61: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/61.jpg)
![Page 62: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/62.jpg)
![Page 63: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/63.jpg)
![Page 64: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/64.jpg)
![Page 65: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/65.jpg)
![Page 66: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/66.jpg)
![Page 67: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/67.jpg)
![Page 68: Have you ever felt like a robot? - MikroTik · How can we run a script? -> SNMP GET or SET We need SNMP community with write access (even for GET) We need to find the Script OIDs](https://reader033.vdocuments.mx/reader033/viewer/2022060505/5f1e13207f0e1c1448537e47/html5/thumbnails/68.jpg)
Questions?