Community discussions

MikroTik App

Search found 3 matches

by idmytrenko
Mon Jan 11, 2021 6:22 pm
Forum: The Dude
Topic: Difference between labels and functions
Replies: 1
Views: 3458

Re: Difference between labels and functions

The difference is that square brackets are not required, lol ros_command(":local result [/tool fetch mode=https url=\"https://10.10.10.10/xml/json.php\?mode=all&id=102\" http-method=get user=username password=password as-value output=user port=443;]; :local varData ( $result->\&qu...
by idmytrenko
Mon Jan 11, 2021 4:51 pm
Forum: The Dude
Topic: Difference between labels and functions
Replies: 1
Views: 3458

Difference between labels and functions

Hello, dear Sirs, I need help. When you want to execute a command in the mikrotik terminal, you need to escape the question marks with backslash \ ? :local result [/tool fetch mode=https url="https://10.10.10.10/xml/json.php\?mode=all&id=102" http-method=get user=username password=pass...
by idmytrenko
Wed Dec 30, 2020 1:10 pm
Forum: The Dude
Topic: Substituting values on the device label.
Replies: 0
Views: 3103

Substituting values on the device label.

Hi! I want to monitor switches with a large number of ports (48). I have found SNMP IOD for each port and I am successfully getting values. [raw_oid("1.3.6.1.4.1.674.10895.5000.2.6132.1.1.1.1.8.1.1.3.","48")] The problem is that I have to have 48 functions for each sample. It wou...