A P P E N D I X  E

Feedback Using SNMP

This appendix provides an overview for using SNMP with Sun Storage Common Array Manager.

The array management software provides SNMP traps as well as an agent that can be queried.


SNMP Traps

Sun Storage Common Array Manager provides SNMP traps for all actionable events. The trap fields are defined by the SNMP trap MIB (see SNMP Trap MIB).

The traps that can be received are based on the alarms possible for the specific device. Traps are sent through port 162 to the IP addresses configured in the user interface (UI) or command-line interface (CLI). The minimum alarm priority used for trap generation can be selected using UI or CLI interfaces. Traps can only be sent to the default ’public’ community at this time.

Sun Storage Common Array Manager does not provide an SNMP agent that can be queried using SNMP ’GET’ operations. At times, the devices themselves support SNMP ’GET’ operations although all the arrays supported by the array management software at this time do not. Instead customers typically do remote scripting using the remote CLI (SSCS) or the SMI-S industry standard provider is used.


SNMP Trap MIB

 


--------------------------------------------------------------------
-- Copyright 2001 - Sun Microsystems, Inc. All Rights Reserved.
-- FIXED for RFC 2578compatibility --
-- Sun Storage Agent Notification --
-- Definitions of the Sun Storage Agent Notification and Notification attributes --
SUNSTORAGEAGENT-NOTIFICATION-MIB DEFINITIONS ::= BEGIN
 IMPORTS
 
        enterprises, MODULE-IDENTITY, NOTIFICATION-TYPE, OBJECT-TYPE
                FROM SNMPv2-SMI
         OBJECT-GROUP
                FROM SNMPv2-CONF;
alertTrap MODULE-IDENTITY
    LAST-UPDATED "200210160000Z"
    ORGANIZATION "Sun Microsystems Inc."
    CONTACT-INFO
        "        Sun Microsystems Inc.
                 Customer Support
                 Postal: 901 San Antonio Road
                 Palo Alto, CA-94303-4900, USA
                 Tel: 650-960-1300
                 E-mail: service@sun.com"
DESCRIPTION
        "This mib defines the trap sent by the Sun Storage Agent
        with the variable bindings.  Any outside entity can
        subscribe for this trap."
 
 REVISION  "200210160000Z"
    DESCRIPTION
        "Rev 1.0  19 January 2000 12:00, Initial version Of MIB."
    ::= { storagent 0 }
sun       OBJECT IDENTIFIER ::= { enterprises 42 }
prod      OBJECT IDENTIFIER ::= { sun 2 }
storagent OBJECT IDENTIFIER ::= { prod 95 }
alert     OBJECT IDENTIFIER ::= { storagent 1 }
alertInfoGroup OBJECT IDENTIFIER ::= { alert 3 }
-- alertInfoGroup OBJECT-GROUP
--        OBJECTS {  deviceName, alertLevel, message }
--        STATUS  current
--       DESCRIPTION
--                "Varbinds of alertMessage trap"
--        ::= { alertInfoGroup 3 }
 
alertMessage NOTIFICATION-TYPE
        OBJECTS { deviceName, alertLevel, message }
        STATUS current
        DESCRIPTION
                "An alertMessage trap signifies that an alert was
                was generated for a storage device monitored
                by the Storage Agent."
        ::= { alertTrap 6 }
 
deviceName OBJECT-TYPE
        SYNTAX OCTET STRING
        MAX-ACCESS accessible-for-notify
        STATUS current
        DESCRIPTION
                "The name of the storage device that the alert message
                 pertains to."
        ::= { alertInfoGroup 1 }
alertLevel OBJECT-TYPE
        SYNTAX INTEGER {
            notice(0),
            warning(1),
            failure(2),
            down(3)
 }
        MAX-ACCESS accessible-for-notify
        STATUS current
        DESCRIPTION
                "The level of importance of the alert related to failure."
        ::= { alertInfoGroup 2 }
message OBJECT-TYPE
        SYNTAX OCTET STRING
        MAX-ACCESS accessible-for-notify
        STATUS current
        DESCRIPTION
                "The alert message for the storage device."
        ::= { alertInfoGroup 3 }
gridId OBJECT-TYPE
        SYNTAX OCTET STRING
        MAX-ACCESS accessible-for-notify
        STATUS current
        DESCRIPTION
                "Event Grid ID"
        ::= { alertInfoGroup 4 }
deviceId OBJECT-TYPE
        SYNTAX OCTET STRING
        MAX-ACCESS accessible-for-notify
        STATUS current
        DESCRIPTION
                "Device ID ie: t3:serialno"
        ::= { alertInfoGroup 5 }
 
END

Feedback