iReasoning SNMP Agent Simulator FAQ
- What SNMP versions are supported by SNMP Agent Simulator?
- How's the SNMPv3 support?
- How do I run sample simulators?
- Can I customize the behavior of simulated agents?
- How can I use SNMP Agent Simulator to simulate multiple devices with different IP addresses on one machine?
- What kind of devices can be simulated?
- How many agents can be simulated simultaneously on one machine?
- Does SNMP agent simulator require the MIBs in order to record device values?
Q. How's the SNMPv3 support?
A. iReasoning SNMP library fully supports SNMPv3, including the complete VACM and USM security model (HMAC-MD5, HMAC-SHA, CBC-DES, CFB128-AES-128). It has successfully passed a number of interoperability tests with other SNMPv3 vendors and their SNMPv3 implementations. Now it is used as a de-facto reference SNMPv3 implementation for other implementers.
Q. How do I run sample simulators?
A. There are two ways to start sample agents located at examples directory. Firstly, you need to edit IP addresses in the all.prj file. Change IP addresses to the ones valid on your machine. One way is to use simulator GUI to load all.prj. The other way is to use bin\runSimulator.bat script to start it on command line.
For example, you want to make sysUpTime object not static and represent agent's uptime. Open the corresponding data XML file.
And change sysUpTime node to:
<Instance oid=".220.127.116.11.18.104.22.168.0" valueType="TimeTicks"> <Value isSimpleScript="y"><![CDATA[getSysUpTime()]]></Value> </Instance> Where getSysUpTime() is a built-in function to return the system uptime.
Q. How can I use SNMP Agent Simulator to simulate multiple devices with different IP addresses on one machine?
A. You can take a look at the examples/all.prj file. It is a project file which contains multiple agents bound to different IP addresses. When this project file is loaded by simulator and started, those agents will listen on different IP addresses.
You can use simulator GUI to create project file. Or you can use your favorite text editor to do it manually.
To create virtual IP on a single machine, please refer to this page.