Date: Thu, 28 Mar 2024 12:24:35 +0000 (UTC) Message-ID: <1580600418.85.1711628675472@2997b7dde346> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_84_1595508016.1711628675469" ------=_Part_84_1595508016.1711628675469 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
This page describes how AgenPro can be used to simulate MIB modu= les for:
After having installed AgenPro:
Run AgenPro (make sure that the MIB repository that comes with AgenP=
ro is installed and if not set with File>Set Repository.
File>Set Repository
and select the reposi=
tory directory used by MIB Designer.
Compile the MIB module(s) to simulate with File>Compil=
e New MIBs
. Skip this step if you are reusing a MIB repository t=
hat already contains the MIB modules you want to simulate.
AgenPro and any other AGENT++ tool sorts MIB files by their import depen= dencies before compiling them. Sorting can be applied only on multiple MIB = files. All dependencies of a MIB file compiled as single file must be avail= able within the currently selected MIB repository. Otherwise compilation fa= ils with an "unresolved IMPORT dependency" error.
To compile several MIB modules at once,
(a) open a ZIP file with MIB (text) files therein
(b) open a directory that contains MIB (text) files.
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 the=
m:
Open an existing code generation project depending on the target pro=
gramming language with Project->Open
.
If you o=
nly 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 th=
ough.
Edit the project using the Project Wizard with Project->Edi=
t
.
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 fin= d which objects from the source modules are simulated: