JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Solaris System Management Agent Developer's Guide
search filter icon
search icon

Document Information

Preface

1.  Introduction to the System Management Agent

2.  Creating Modules

3.  Data Modeling

4.  Storing Module Data

5.  Implementing Alarms

6.  Deploying Modules

7.  Multiple Instance Modules

8.  Long-Running Data Collection

9.  Entity MIB

10.  Migration of Solstice Enterprise Agents to the System Management Agent

Why Migrate to SMA?

Solstice Enterprise Agents Migration Strategy Overview

Migrating Solstice Enterprise Agent Subagents to SMA

demo_module_12 Code Example for Solstice Enterprise Agents Subagent Migration

Analysis of the demo_module_12 Solstice Enterprise Agents Templates

Modifying the SMA Instrumentation Code

A.  SMA Resources

B.  MIBs Implemented in SMA

Glossary

Index

Solstice Enterprise Agents Migration Strategy Overview

The general process for implementing a Solstice Enterprise Agents subagent as an SMA module is as follows:

  1. Obtain the MIB that was used to create the Solstice Enterprise Agents subagent.

  2. Make a copy of the MIB. Name the MIB file according to the guidelines in MIB File Names, if necessary.

    Modify the copy of the MIB for compatibility with mib2c. Use the SUN-SEA-EXTENSIONS-MIB.txt as a model for modifying the MIB. Pay particular attention to the format of the MODULE-IDENTITY group.

  3. Use the mib2c tool to generate C code for SMA module templates from the modified MIB.

  4. Use the Solstice Enterprise Agents mibcodegen tool to generate C code header and stub files for Solstice Enterprise Agents modules from the original MIB.

  5. Compare the template code that mib2c produced to the template code that mibcodegen produced. Examine the instrumentation code from the Solstice Enterprise Agents subagent to determine what you need for instrumentation in the SMA module.

  6. Modify the SMA templates to use the appropriate functions to implement similar instrumentation code.

The following section uses an example MIB in demo_module_12 to illustrate this migration process.