Java Dynamic Management Kit 3.2 Programming Guide | ||||
---|---|---|---|---|
![]() | ![]() | Chapter 19. Developing SNMP Agents With the Java Dynamic Management Kit | ![]() | ![]() |
The Java Dynamic Management Kit enables you to develop SNMP agents using the Java programming language. These can be:
Integrated agents
Standalone agents
Integrated agents run within the framework of the Java Dynamic Management Kit. These agents can access services provided by the Java Dynamic Management Kit and are manageable through different protocols.
A direct benefit of using an SNMP agent integrated in this way is that the information contained in the MIB can be browsed through the adaptors provided by the Java Dynamic Management Kit. For instance, if you are using the HTML adaptor, you can view the MIB through a web browser.
Figure 19-1 shows the management of a Java Dynamic Management agent by an SNMP manager application. This shows how a Java Dynamic Management agent communicating with an SNMP manager requires metadata so that the managed m-beans are visible to the manager. The SNMP manager application cannot access m-beans registered in the repository that have not been generated by mibgen. RMI or HTTP manager applications, however, are able to manage all m-beans, including those generated by mibgen.
Standalone agents run independently of all other Java Dynamic Management Kit components. These agents are accessible only through SNMP and cannot benefit from Java Dynamic Management Kit services. However, standalone agents minimize the resources used by the Java Dynamic Management Kit at runtime.
![]() | ![]() | ![]() |
Developing SNMP Agents With the Java Dynamic Management Kit | ![]() | Overview of the Agent Development Process |