It is sad that Net-SNMP only has command line tools, but they are really powerful and easy to use. Do we need similar tools in #SNMP Suite? Why not? But how?
I really hate to write command line tools because it is always hard to parse the arguments. However, Miguel (Mono lead) posted something wonderful here which attracted my attention. It is a discussion about command line parser so I soon decided to give Mono.Options a try.
And it works perfect! So I have just checked in the latest TestGet sample, who works similar to Net-SNMP snmpget. However, the command line syntax is slightly different.
For example, Net-SNMP: snmpget -c public -V v2c 127.0.0.1 184.108.40.206.220.127.116.11.0 #SNMP : snmpget -c=public -V=v2 127.0.0.1 18.104.22.168.22.214.171.124.0
Well, in fact #SNMP accepts more types of command line input because of Mono.Options, so please play with it and leave me your comments.
Next step I am going to update other samples. Stay tuned.