Solstice Enterprise Manager 4.1 Customizing Guide Doc Set ContentsPreviousNextIndex


Chapter 9

SNMP Management

Simple Network Management Protocol (SNMP) is a protocol for exchanging information between network managers and agents processes within various managed objects that are able to report their status on request. It is a connection-less protocol, with the view of continuing to receive information from managed objects even when network performance is degraded and a connection-based reliable transport may fail.

This chapter describes the following topics:

9.1 SNMP Managed Components

Solstice Enterprise Manager (Solstice EM) provides the following components for management of network resources that are manageable using SNMPv1 and SNMPv2c:

FIGURE 9-1   Components of Solstice EM's SNMP Management Support

9.2 SNMP Management Protocol Adapter

The Simple Network Management Protocol (SNMP) Management Protocol Adapter (MPA) allows for the retrieval of data and the setting of attribute values for SNMP managed devices. The SNMP MPA works as a proxy agent between the Solstice EM MIS and any device on the network which is SNMP-manageable. The proxy agent allows you to manage any number of Management Information Bases (MIBs), where either standard SNMP MIB objects or enterprise-specific objects can be defined. SNMP MIBs get compiled by the Concise MIB compiler (em_cmib2gdmo) into GDMO and ASN.1 descriptions which then get loaded into the Solstice EM MIS.

The SNMP MPA processes Common Management Information Service (CMIS)-like requests received from the MIS, translates them into SNMP requests, and sends the requests out to the intended device. The translation is based on the OMNIPoint I Internet-ISO Management Coexistence (IIMC) standard. The SNMP MPA then receives the response from the SNMP device and forwards it back to the MIS.

9.3 SNMP MPA Configuration

The following configuration parameters for the SNMP MPA are set during installation:

9.4 Specifying the Version of SNMP Used

Solstice EM supports the SNMPv1 and SNMPv2c protocols. When you are performing management operations on objects in an SNMP agent, you have to specify the version of SNMP used for communications between the SNMP agent and your application.

Specify the version of SNMP used in either of the following ways:

9.4.1 Calling the set_management_protocol Function of the EMSnmpAgent Class

Call the set_management_protocol function if you are using the EMSnmpAgent class to represent your SNMP agent. In the call to the set_management_protocol function, set the argument as follows depending on the version of SNMP:

A call to the set_management_protocol function is shown in CODE EXAMPLE 9-1.

CODE EXAMPLE 9-1   Calling the set_management_protocol Function
...
EMSnmpAgent::set_management_protocol 
(EMSnmpAgent::snmp_v2);
...

In this example, SNMPv2c is used for communications between the SNMP agent and the application.

9.4.2 Using the PMI to Set the managementProtocol Attribute

If you are using the Image class to represent your SNMP agent, set the managementProtocol attribute when you initialize the instance of Image. To set the managementProtocol attribute, call the set_str function. You must set the managementProtocol attribute to the object identifier (OID) of the version of SNMP that you are using.

The versions of SNMP are identified by the following OIDs:


Sun Microsystems, Inc.
Copyright information. All rights reserved.
Doc Set  |   Contents   |   Previous   |   Next   |   Index