Im trying to call on net snmp from within the dude so I can write snmp values from within the dude. The tool I have created looks like this
snmpset -v 1 -c [Device.CustomField1] 10.240.1.15 1.3.6.1.4.1.32050.2.1.26.5.0 i 0
however when I execute the tool from the dude it does nothing. I have tried replacing device.customfield1 with the real community name but it did not help. I know this is the right cli command because i can execute the same command from the command prompt and it works perfectly. Any help would be much appreciated. I tried to fallow this guide http://mum.mikrotik.com/presentations/CZ09/Building-custom-probes-and-SNMP.pdf but it is fairly vague
Hello,
When create a custom tool you should specify the correct path to executable
The Dude did not find snmpset and do nothing. The solution for windows and default net-snmp installation should be
C:\usr\bin\snmpset.exe -v 1 -c [Device.CustomField1] 10.240.1.15 1.3.6.1.4.1.32050.2.1.26.5.0 i 0
Thanks a bunch for pointing that out for me, I would have been lost otherwise and it works great
Awesome so now you can change stuff with snmp write? Have you done a reboot through your tool yet?
Which program did you wind up with, or where did you down load it from?
Which program did you wind up with, or where did you down load it from?
We are talking about this
http://net-snmp.sourceforge.net/
This tool is used on Linux or other Unix servers as a default SNMP tool (command line tools), SNMP agent, SNMP trap receiver.
It is also ported on Windows. It’s more powerful that a standart windows snmp service.