This page describes how AgenPro can be used to simulate MIB modules for:
After having installed AgenPro:
Run AgenPro (make sure that the MIB repository that comes with AgenPro is installed and if not set with File>Set Repository.
If you have created your own MIB module(s) with MIB Designer you can directly use the MIB Designer installation's MIB repository. Simply switch to that repository with File>Set Repository and select the repository directory used by MIB Designer. |
Compile the MIB module(s) to simulate with File>Compile New MIBs
. Skip this step if you are reusing a MIB repository that already contains the MIB modules you want to simulate.
AgenPro and any other AGENT++ tool sorts MIB files by their import dependencies before compiling them. Sorting can be applied only on multiple MIB files. All dependencies of a MIB file compiled as single file must be available within the currently selected MIB repository. Otherwise compilation fails with an "unresolved IMPORT dependency" error. To compile several MIB modules at once, |
Open the compiled MIB modules (i.e. load them into AgenPro from the repository) by using File->Open/Close MIB
: Shuffle all the modules you want to simulate into the right list, in order to load them:
Open an existing code generation project depending on the target programming language with Project->Open
.
If you only want to simulate MIB modules, the code generation templates you choose are not relevant and can be left empty, but you need to define a project though.
Edit the project using the Project Wizard with Project->Edit
.
For simulation of a SNMP agent, the first two steps are not relevant.
In step (1) specify the root directories for template and in-/output paths (you will need those paths for being able to actually generate code)
Agent
tab. The minimum settings are the local IP address (0.0.0.0 should be fine in most cases) and the port:Run the simulation agent with Agent->Run Agent
.
The Start
button of the agent panel is shown as "pressed".
The Log tab shows details about the agent start. For example you can find which objects from the source modules are simulated: |
Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.
|