1. Introduction to the System Management Agent
Overview of the System Management Agent
Features Added in System Management Agent
8. Long-Running Data Collection
10. Migration of Solstice Enterprise Agents to the System Management Agent
SMA includes the following content for developers:
Developer tools, and Perl modules needed by the tools
API libraries for using Net-SNMP functions
API library for using the Entity MIB functions
Demo modules, for demonstrating how to implement some types of data modeling
In addition, you can install the SUNWsmaS package, which contains the source code for Net-SNMP. See the Solaris System Management Agent Administration Guide for installation instructions.
The developer files are installed in the locations that are shown in the following table.
Table 1-1 File Locations for Developer Content
|
The SMA includes many command-line tools, which are described in the sma_snmp(5) man page.
Each tool has an associated man page. Links to all the man pages for the product are included in Appendix A, SMA Resources. The tools are located in /usr/sfw/bin.
The snmp commands can be used to query the agent to test your modules. Read the man pages for detailed usage information.
The following API libraries are included with the SMA product:
libnetsnmp
libnetsnmpagent
libnetsnmpmibs
libnetsnmphelpers
libentity
The libentity library is not part of Net-SNMP, but is a customization for the SMA product.
On SPARC platforms, the 32–bit Net-SNMP libraries are contained in the /usr/sfw/lib directory. The 64–bit Net-SNMP libraries are contained in the /usr/sfw/lib/sparcv9 subdirectory.
On x86 platforms, only the 32–bit Net-SNMP libraries are available in the /usr/sfw/lib directory.
The functions contained in the Net-SNMP libraries are used in the MIB modules that you create, as well as in the agent. Documentation from Net-SNMP for using the API functions is contained in /usr/sfw/doc/sma_snmp/html.
The SMA includes the same Net-SNMP API functions that are available with the open source Net-SNMP agent. API Functions includes a list of functions that are certified to work with the System Management Agent.
The /usr/demo/sma_snmp directory contains several demonstration modules. The demo modules illustrate methods for creating modules to solve various kinds of information-gathering problems. Later chapters in this manual discuss the demo modules in detail. The following table lists and describes the demo modules. The table also provides cross-references to the sections that discuss the demos.
Table 1-2 Descriptions of Demonstration Modules
|
Technical support for developers of modules for the System Management Agent is provided through the Net-SNMP open source community at http://www.net-snmp.org. You might find the developers discussion mailing list net-snmp-coders@lists.sourceforge.net to be helpful. An archive for the mailing list is located at http://sourceforge.net/mailarchive/forum.php?forum_id=7152.