Sun Microsystems, Inc.
spacerspacer
spacer www.sun.com docs.sun.com |
spacer
black dot
 
 
3.  Using SNMP Services for WBEM (Tasks) Troubleshooting Problems With the SNMP Adapter for WBEM FIFO Cannot Be Opened Solution  Previous   Contents   Next 
   
 

FIFO Cannot Be Created

Error Message

ERROR: FIFO cannot be created.

Cause

A system error occurred when the Adapter attempted to create the request or the response FIFO.

Solution

Verify that /var/sadm/wbem/snmp exists and has write access.

WBEM Services Are Not Started

Error Message

ERROR: WBEM Services are not started.

Cause

The Master Agent cannot detect if WBEM Services have started and are running.

Solution

Restart WBEM and wait the number of seconds to which watch-dog-time in snmpXwbem.reg is set.

# /etc/init.d/init.wbem start

After a period of time, the Master Agent starts the Adapter automatically. By default, the Master Agent tries to start the Adapter every four minutes (or number of seconds to which watch-dog-time is set).


Note - If you do not want to wait for the Master Agent to start the Adapter automatically, stop and then restart the Master Agent.

# /etc/init.d/init.snmpdx stop

# /etc/init.d/init.snmpdx start

The Master Agent immediately starts the Adapter.


SNMP Provider

The SNMP Provider is a software component that provides information about managed elements to the CIM Object Manager, including configuration information about an SNMP device.


Note - The SNMP Provider supports traps by listening to port 162 for SNMP V1 and SNMP V2 traps. To display the events that are generated by these traps, you must subscribe to CIM_SNMPTrapIndication.


Generating a MOF File From an SNMP MIB File

When you want to access Simple Network Management Protocol (SNMP) information through the SNMP Provider, you use a Management Information Base (MIB) file to generate a Managed Object Format (MOF) file. The mib2mof command generates qualifiers that enable the SNMP Provider to map CIM operations that are performed on the CIM classes in the MOF file to SNMP operations. The mib2mof command is described in mib2mof(1M).


Note - The SNMP Provider supports SNMP traps. Traps are reported in the CIM process indication event CIM_SNMPTrapIndication. When a client subscribes to the provider for this event, the provider listens on port 162 for SNMP V1 and SNMP V2 traps. The information is copied from the trap to the indication. Then, the indication is delivered to the client.


The MOF files that describe the CIM Schema and the Solaris Schema are located in /usr/sadm/mof. MOF files are described in more detail in the Solaris WBEM SDK Developer's Guide.

How to Generate a MOF File From an SNMP MIB File

  1. Become superuser.

  2. Type the command:

    # mib2mof SNMP_MIB_filename

    Example:
    # /usr/sadm/bin/mib2mof sysctl.mib

 
 
 
  Previous   Contents   Next