2.Where do I find the tools packaged in
the toolkit?
The complete set of WebNMS Agent Toolkit tools is available
in the <WebNMS/JavaAgent>/bin directory. The
tools can also be started from the Agent Toolkit Launcher
that is located at <WebNMS/JavaAgent>/AgentToolkit.bat.
3. Does the code get generated each time
when I compile the file in the Agent Toolkit Compiler tools?
No. Code will be generated only when you do code generation
for the loaded files and not while compilation. Source Code
can be generated once, and instrumentation and compilation
can be done any number of times without having to regenerate
the code.
4. How do I disable the logging feature
from my working directory using the tools?
The log messages in the log files can be disabled by choosing
DISABLED option from the combo box of Project->Settings->General->debug
level dialog given in the MIB Compiler. By disabling the
level, the log file will be created but the messages will
not be written in it at runtime. Since the log file is empty,
there will not be any impact on the memory size.
A MIB (Management Information Base) is defined as a database
of management information called managed objects. Each object
represents some resource to be managed. It is used and maintained
by a network management protocol such as SNMP. The values
of the MIB object can be changed or retrieved using SNMP commands,
usually through a GUI network management system.
MIB Editor is used to convert an SMIv1 MIB to SMIv2 MIB or
vice versa. This is enabled by selecting File->Convert
As option provided in the MIB Editor.
4. How do I add a MIB to the agent? Can
I load more than one MIB file in the MIB tree?
Agent Toolkit provides MIB Compiler that takes the MIB as
input and generates the agent for its managed objects. Yes,
it allows to load and generate agent for more than one MIB
file.
5. Can the agent be generated for particular
managed objects of a MIB?
Yes. The Agent Toolkit provides the flexibility to generate
SNMP agents for particular managed objects of a MIB. This
is implemented by using the "Selected Nodes" option
in the MIB Compiler. To invoke this,
Right-click on the selected nodes and choose "Add
To List" which adds it to the Selected Nodes block.
Then generate the agent using the "Generate Source->Selected
Nodes" option.
6. How can I develop and access the SNMPv3-related
information using SNMP Agent Toolkit?
The key feature of SNMP Agent Toolkit is that it provides an easy
and user-friendly GUI tools for building SNMP agent that renders
complete support to SNMPv3. Additionally the SNMP agent test
tool such as MIB Browser makes it evenmore easier to access
SNMPv3-related management information. Please refer to "Configuring
SNMPv3 settings" of the help documentation for details
on SNMPv3 agents.
7. How is the selection of SNMP V2 Compliance/SNMP
V3 Compliance related to Version V1/V2/V3 option in Project->Settings
menu of MIB Compiler UI?
The "Version" in Project -> Settings menu of
MIB Compiler UI allows you to create an agent of your choice.
On the other hand, any agent created as a v2c agent is by
default V2 compliant.
However if the option is unchecked, the necessary codes for
the SNMP V2 compliance will not be generated. This holds good
for SNMP V3 compliance also and the RFCs implemented for v3
are different. Please refer to
SNMP v2 compliance and SNMP
V3 compliance section for detailed information about the
SNMP standard compliance.
8. Can i compile the MIB to produce MIB.cds
and MIB.cmi using Agent Toolkit?
Yes. Agent Toolkit provides MIB Browser that generates MIB.cds
and MIB.cmi files under the <WebNMS/JavaAgent>/mibs
directory. Please follow the given steps to generate these
files:
Choose Edit->Settings
Select Mib Settings and enable Compiled File option in
the Mib Loading Options.
10. Is there any tool available for manipulating USM and
VACM tables of Snmp v3 agent during runtime?
Yes, the contents of the USM and VACM related tables can
be viewed and manipulated using Snmp v3 Administration tool
during agent runtime. For more details, refer the
SNMPv3 Admin Tool section of our help documentation.
1.How do I implement my defined MIB variables
as different MBeans?
This can be implemented by providing the MIB file as input
to the JMX Compiler. It generates MBeans for each group in
the MIB. Refer to "Creating
a Simple Multi-Protocol agent Using JMX Compiler"
of our help documentation for further details.
3.Is it possible to register and then monitor
an MBean from a remote URL?
Yes, it is possible to register an MBean from a remote URL.
This can be done using the Management Applet (MLet) service.
The Mlet service allows you to instantiate and register an
MBean from a remote URL with the MBean server. Please refer
to the topic, "Loading
MBeans dynamically using MLet service" for more information.