Quantcast
Channel: MikroTik
Viewing all articles
Browse latest Browse all 19714

Scripting • Re: snmpwalk/snmpget can't read global variable

$
0
0
Code:
test=123
Should that just declare some int, and when you reading it with snmp, you just get int like char value of 123.
I think you should try to assign a string instead.
Code:
test="test"
I am not any expert of RouterOS scripts, but like another programming lang and script lang.
You can try to test my hypothesis with:
Code:
test=65

You should get "A"

Statistics: Posted by patrikg — Sat Mar 09, 2024 6:54 pm



Viewing all articles
Browse latest Browse all 19714

Latest Images

Trending Articles



Latest Images