Greetings,
I am trying to execute a script via SNMP v2c using the OID 1.3.6.1.4.1.14988.1.1.8.1.1.3.X (where X is the script’s ID). Problem is, apparently my script does not execute.
I use this command to query the Mikrotik:
This script is supposed to return a value with “:put 5”, but I am only getting “iso.3.6.1.4.1.14988.1.1.8.1.1.3.3 = INTEGER: 0”, which (I guess) means the script is not getting executed. This is the snmp’s configuration:
snmp community add addresses=x.x.x.x/32 authentication-password=xxxxxx encryption-password=xxxxxx name=CommunityTest write-access=yes
/snmp set contact=COMPANY enabled=yes location="DATACENTER" trap-community=CommunityTest trap-version=2
If I query the Mikrotik with another OID (i.e. 3.6.1.2.1.2.2.1.2.15728641) I do get a result, so the client connects successfully to the Mikrotik.
What am I doing wrong?
Do you need some extra detail?
Thank you for any help
to execute the third script - with no luck though.
What seems even stranger to me is that if I query some other OID, say 3.6.1.2.1.25.2.3.1.6.131072 (used disk space) or 3.6.1.2.1.25.2.3.1.5.131072 (free disk space) I do get the correct result, so it must be something I did wrong with the scripts. Is
I want a script to get snmp configuration details through SNMP.
when i create a script about any interface & get the details from custom OID i am able to do that for example “interface wireless print” when i execute though custom OID i getting the value but when i create a snmp print script and executing through custom OID i am getting error i.e %Failed to get value of SNMP variable. Timeout.