Frequently asked questions
Create realistic SNMP test environments
These answers cover the established iReasoning SNMP Agent Simulator workflow. For complete setup and configuration instructions, see the SNMP Agent Simulator User Manual.
Protocol and device support
Supported simulations
Which SNMP versions does SNMP Agent Simulator support?
SNMP Agent Simulator provides complete support for SNMPv1, SNMPv2c, and SNMPv3.
How comprehensive is the SNMPv3 support?
The underlying iReasoning SNMP library fully supports SNMPv3, including VACM and the USM security model with HMAC-MD5, HMAC-SHA, CBC-DES, and CFB128-AES-128. It has passed interoperability tests with other SNMPv3 products and has been used by other implementers as a de facto reference implementation.
What kinds of devices can be simulated?
Any device or application that has an SNMP agent can be simulated.
How many agents can be simulated simultaneously on one computer?
The simulator does not impose a limit in its code. The practical limit depends on the computer's available resources and the number of IP addresses configured on it.
Are MIB files required when recording values from a device?
No. SNMP Agent Simulator can record device values without the corresponding MIBs.
Projects and customization
Running and adapting simulated agents
How do I run the sample simulators?
The sample agents are in the examples directory. First, edit the IP
addresses in all.prj so that they are valid on your computer. You can
then load all.prj in the simulator GUI or start it from the command
line with bin\runSimulator.bat.
Can I customize the behavior of simulated agents?
Yes. You can use a scripting language similar to JavaScript to customize agent
behavior. For example, to make sysUpTime represent the simulated
agent's actual uptime instead of a static value, change its node in the corresponding
data XML file to:
<Instance oid=".1.3.6.1.2.1.1.3.0" valueType="TimeTicks">
<Value isSimpleScript="y"><![CDATA[getSysUpTime()]]></Value>
</Instance>
getSysUpTime() is a built-in function that returns the system uptime.
How can I simulate devices with different IP addresses on one computer?
See examples/all.prj. This project contains multiple agents bound to
different IP addresses. When the project is loaded and started, each agent listens
on its assigned address.
You can create a project with the simulator GUI or edit the project file manually with a text editor. See the virtual IP address guide for instructions on configuring multiple addresses on one computer.