-- ***************************************************************************
--   Copyright 1996-2000 ICP vortex Computersysteme GmbH, D-74172 Neckarsulm
--                          All rights reserved!
-- ***************************************************************************


-- ICPTRAP MIB Version 1.00

ICP-CONTROLLER-TRAP-MIB DEFINITIONS ::= BEGIN

IMPORTS
        enterprises, Counter, Gauge, TimeTicks
            FROM RFC1155-SMI
        DisplayString
            FROM RFC1213-MIB
        OBJECT-TYPE
            FROM RFC-1212;


icp-vortex  OBJECT IDENTIFIER ::= { enterprises 1483 }
raidSystems OBJECT IDENTIFIER ::= { icp-vortex 1 }


--   old definition (before February 1997)
--   raidController   OBJECT IDENTIFIER ::= { raidSystems 1 }
--   new definition (since February 1997)
diskArrayController   OBJECT IDENTIFIER ::= { raidSystems 2 }


--   Trap variables
--
--   This variables cannot be accessed by SNMP GET,GET-NEXT,SET,...
--   They are only used by SNMP traps.

        eventTrapVars OBJECT-TYPE
            SYNTAX  EventTrapVars
            ACCESS  not-accessible
            STATUS  mandatory
            DESCRIPTION
                    "A entry in the event table."
            ::= { diskArrayController 10 }

        EventTrapVars ::= SEQUENCE {
                trpEvtCtrlNo       INTEGER,
                trpEvtID           INTEGER,
                trpEvtTmStamp      INTEGER,
                trpEvtDescription  DisplayString
        }

        trpEvtCtrlNo OBJECT-TYPE
                SYNTAX  INTEGER
                ACCESS  read-only
                STATUS  mandatory
                DESCRIPTION
                        "The Controller number to which the event belongs to."
            ::= { eventTrapVars 1 }

        trpEvtID OBJECT-TYPE
                SYNTAX  INTEGER
                ACCESS  read-only
                STATUS  mandatory
                DESCRIPTION
                        "The internal event ID."
            ::= { eventTrapVars 2 }

        trpEvtTmStamp OBJECT-TYPE
                SYNTAX  INTEGER
                ACCESS  read-only
                STATUS  mandatory
                DESCRIPTION
                        "Time stamp of event. It is the number of seconds since
                         midnight January 1, 1970 GMT"
            ::= { eventTrapVars 3 }

        trpEvtDescription OBJECT-TYPE
                SYNTAX  DisplayString
                ACCESS  read-only
                STATUS  mandatory
                DESCRIPTION
                        "Description of event."
            ::= { eventTrapVars 4 }


--  Define traps that may be generated by the ICP-drivers.
--
--  The VARIABLES clause may only contain objects defined in any MIB.


        -- asynchronous controller events

        evICPInformationEvent TRAP-TYPE
                ENTERPRISE      diskArrayController
                VARIABLES       { trpEvtCtrlNo, trpEvtID, trpEvtTmStamp, trpEvtDescription }
                DESCRIPTION     "An event with informational character."
                --#SUMMARY "%s"
                --#ARGUMENTS {3}
                --#SEVERITY INFORMATIONAL
                --#TIMEINDEX 2
                ::= 100

        evICPWarningEvent TRAP-TYPE
                ENTERPRISE      diskArrayController
                VARIABLES       { trpEvtCtrlNo, trpEvtID, trpEvtTmStamp, trpEvtDescription }
                DESCRIPTION     "An event with warning character.
				 Nothing critical has happened, but the concerning
				 disk array controller and drive should be examined."
                --#SUMMARY "%s"
                --#ARGUMENTS {3}
                --#SEVERITY MAJOR
                --#TIMEINDEX 2
                ::= 101

        evICPCriticalEvent TRAP-TYPE
                ENTERPRISE      diskArrayController
                VARIABLES       { trpEvtCtrlNo, trpEvtID, trpEvtTmStamp, trpEvtDescription }
                DESCRIPTION     "An event with critical character. Immediate reaction
                                 is absolutely necessary."
                --#SUMMARY "%s"
                --#ARGUMENTS {3}
                --#SEVERITY CRITICAL
                --#TIMEINDEX 2
                ::= 102


        END


