--
-- genAlarm.mib
-- MIB generated by MG-SOFT Visual MIB Builder Version 3.0 Build 285
-- Thursday, April 01, 2004 at 16:05:22
--

    ZHONE-GEN-ALARM DEFINITIONS ::= BEGIN
 
        IMPORTS
            OBJECT-GROUP            
                FROM SNMPv2-CONF            
            TimeTicks, IpAddress, Opaque, Integer32, Unsigned32, 
            Counter32, Counter64, OBJECT-TYPE, MODULE-IDENTITY, OBJECT-IDENTITY            
                FROM SNMPv2-SMI            
            TEXTUAL-CONVENTION            
                FROM SNMPv2-TC            
            zhoneSystem, zhoneModules            
                FROM Zhone            
            ZhoneAlarmSeverity, ZhoneAlarmTypeId            
                FROM Zhone-TC;
    
    
        -- 1.3.6.1.4.1.5504.6.79
        genAlarm MODULE-IDENTITY 
            LAST-UPDATED "200402181430Z"		-- February 18, 2004 at 14:30 GMT
            ORGANIZATION 
                "Zhone Technologies, Inc."
            CONTACT-INFO 
                "  Postal: 
                           Zhone Technologies, Inc.
                           @ Zhone Way
                           7001 Oakport Street
                           Oakland, CA  94621
                           USA
                Toll-Free: +1 877-ZHONE20 (+1 877-946-6320)
                      Tel: +1-510-777-7000
                      Fax: +1-510-777-7001
                   E-mail: support@zhone.com"
            DESCRIPTION 
                "Centralized Alarm MIB"
            REVISION "200402181430Z"		-- February 18, 2004 at 14:30 GMT
            DESCRIPTION 
                "V01.01.00
                - Moved ZhoneAlarmTypeId and ZhoneAlarmSeverity
                  to Zhone-TC.mib
                - Added zhoneAlarmActiveVariableResourceId."
            REVISION "200401121337Z"		-- January 12, 2004 at 13:37 GMT
            DESCRIPTION 
                "V01.00.00 - Initial Release"
            ::= { zhoneModules 79 }

        
    
--
-- Textual conventions
--
    
        ZhoneAlarmActiveVariableValue ::= TEXTUAL-CONVENTION
            STATUS current
            DESCRIPTION 
                "The type of the varbind value.  One and only one of the value objects 
                that follows is used for a given row in this table."
            SYNTAX INTEGER
                {
                counter32(1),
                unsigned32(2),
                timeTicks(3),
                integer32(4),
                ipAddress(5),
                octetString(6),
                objectId(7),
                counter64(8),
                opaque(9)
                }

    
--
-- Node definitions
--
    
-- Zhone Active Alarm Information.
        -- 1.3.6.1.4.1.5504.3.1.18
        zhoneAlarm OBJECT-IDENTITY
            STATUS current
            DESCRIPTION 
                "This entry list contains tables of the active outstanding alarms in a system.  
                It also provides statistical information in terms of total # of active
                alarms raised."
            ::= { zhoneSystem 18 }

        
        -- 1.3.6.1.4.1.5504.3.1.18.1
        zhoneAlarmStats OBJECT IDENTIFIER ::= { zhoneAlarm 1 }

        
-- Active Alarm Table Overflow Counter.
        -- 1.3.6.1.4.1.5504.3.1.18.1.1
        zhoneAlarmActiveOverflowCnt OBJECT-TYPE
            SYNTAX Counter32
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "The number of active alarms that have not been put into 
                the alarmActiveTable since system restart as a result
                of extreme resource constraints.
                
                This counter wrapped around once it reaches its maximum value."
            ::= { zhoneAlarmStats 1 }

        
        -- 1.3.6.1.4.1.5504.3.1.18.1.2
        zhoneAlarmActiveStatsCurrentCnt OBJECT-TYPE
            SYNTAX Counter32
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "The total number of currently active alarms on the system.
                
                This counter wrapped around once it reaches its maximum value."
            ::= { zhoneAlarmStats 2 }

        
        -- 1.3.6.1.4.1.5504.3.1.18.1.3
        zhoneAlarmActiveStatsTotalCnt OBJECT-TYPE
            SYNTAX Counter32
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "The total number of active alarms since system restarted.
                
                This counter wrapped around once it reaches its maximum value."
            ::= { zhoneAlarmStats 3 }

        
        -- 1.3.6.1.4.1.5504.3.1.18.1.4
        zhoneAlarmClearStatsTotalCnt OBJECT-TYPE
            SYNTAX Counter32
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "The total number of cleared alarms since system restarted.
                
                This counter wrapped around once it reaches its maximum value."
            ::= { zhoneAlarmStats 4 }

        
        -- 1.3.6.1.4.1.5504.3.1.18.1.5
        zhoneAlarmLastRaised OBJECT-TYPE
            SYNTAX TimeTicks
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "The value of sysUpTime at the time of the last 
                alarm raise for this alarm list. 
                If no alarm raises have occurred since the 
                last re-initialization of the local network management
                subsystem, then this object contains a zero value."
            ::= { zhoneAlarmStats 5 }

        
        -- 1.3.6.1.4.1.5504.3.1.18.1.6
        zhoneAlarmLastCleared OBJECT-TYPE
            SYNTAX TimeTicks
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "The value of sysUpTime at the time of the last 
                alarm clear for this alarm list.
                If no alarm clears have occurred since the
                last re-initialization of the local network management
                subsystem, then this object contains a zero value."
            ::= { zhoneAlarmStats 6 }

        
        -- 1.3.6.1.4.1.5504.3.1.18.2
        zhoneAlarmModelTable OBJECT-TYPE
            SYNTAX SEQUENCE OF ZhoneAlarmModelEntry
            MAX-ACCESS not-accessible
            STATUS current
            DESCRIPTION
                "This table contains the information in order to obtain the unique object 
                instance id for every active alarm in the zhoneAlarmActiveTable.  "
            ::= { zhoneAlarm 2 }

        
        -- 1.3.6.1.4.1.5504.3.1.18.2.1
        zhoneAlarmModelEntry OBJECT-TYPE
            SYNTAX ZhoneAlarmModelEntry
            MAX-ACCESS not-accessible
            STATUS current
            DESCRIPTION
                "The zhoneAlarmModeEntries indicate which variableId (Varbind #) indicates
                the object instance for which an active alarm was raised/cleared."
            INDEX { zhoneAlarmModelAlarmId, zhoneAlarmModelNotificationId }
            ::= { zhoneAlarmModelTable 1 }

        
        ZhoneAlarmModelEntry ::=
            SEQUENCE { 
                zhoneAlarmModelAlarmId
                    ZhoneAlarmTypeId,
                zhoneAlarmModelNotificationId
                    OBJECT IDENTIFIER,
                zhoneAlarmModelVariableId
                    Integer32,
                zhoneAlarmModelDescription
                    OCTET STRING
             }

        -- 1.3.6.1.4.1.5504.3.1.18.2.1.1
        zhoneAlarmModelAlarmId OBJECT-TYPE
            SYNTAX ZhoneAlarmTypeId
            MAX-ACCESS not-accessible
            STATUS current
            DESCRIPTION
                "This entry specifies the alarm ID number."
            ::= { zhoneAlarmModelEntry 1 }

        
        -- 1.3.6.1.4.1.5504.3.1.18.2.1.2
        zhoneAlarmModelNotificationId OBJECT-TYPE
            SYNTAX OBJECT IDENTIFIER
            MAX-ACCESS not-accessible
            STATUS current
            DESCRIPTION
                "The trap object identifier (OID) value that allows for the given 
                alarmTypeId to be set or cleared.  This value is used as an index
                to the zhoneAlarmModelTable."
            ::= { zhoneAlarmModelEntry 2 }

        
        -- 1.3.6.1.4.1.5504.3.1.18.2.1.3
        zhoneAlarmModelVariableId OBJECT-TYPE
            SYNTAX Integer32
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "The zhoneAlarmModelVariableId identifies the varbind number for a given
                alarmActiveId and NotificationId that contains the unique object
                instance that raised/cleared that alarm."
            ::= { zhoneAlarmModelEntry 3 }

        
        -- 1.3.6.1.4.1.5504.3.1.18.2.1.4
        zhoneAlarmModelDescription OBJECT-TYPE
            SYNTAX OCTET STRING
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "This entry provides a text information of the alarm."
            ::= { zhoneAlarmModelEntry 4 }

        
        -- 1.3.6.1.4.1.5504.3.1.18.3
        zhoneAlarmActiveTable OBJECT-TYPE
            SYNTAX SEQUENCE OF ZhoneAlarmActiveEntry
            MAX-ACCESS not-accessible
            STATUS current
            DESCRIPTION
                "A table of Active Outstanding Alarm entries in a system."
            ::= { zhoneAlarm 3 }

        
        -- 1.3.6.1.4.1.5504.3.1.18.3.1
        zhoneAlarmActiveEntry OBJECT-TYPE
            SYNTAX ZhoneAlarmActiveEntry
            MAX-ACCESS not-accessible
            STATUS current
            DESCRIPTION
                "Entries appear in this table when alarms are raised.  
                The active alarm entries are removed when the alarm is cleared.
                 	
                If under extreme resource constraint the system is unable to
                add any more entries into this table, then the
                alarmActiveOverflow statistic will be increased by one."
            INDEX { zhoneAlarmActiveId, zhoneAlarmActiveResourceId }
            ::= { zhoneAlarmActiveTable 1 }

        
        ZhoneAlarmActiveEntry ::=
            SEQUENCE { 
                zhoneAlarmActiveId
                    ZhoneAlarmTypeId,
                zhoneAlarmActiveResourceId
                    OBJECT IDENTIFIER,
                zhoneAlarmActiveVariables
                    Unsigned32,
                zhoneAlarmActiveNotificationId
                    OBJECT IDENTIFIER,
                zhoneAlarmActiveSeverity
                    ZhoneAlarmSeverity
             }

        -- 1.3.6.1.4.1.5504.3.1.18.3.1.1
        zhoneAlarmActiveId OBJECT-TYPE
            SYNTAX ZhoneAlarmTypeId
            MAX-ACCESS not-accessible
            STATUS current
            DESCRIPTION
                "This entry specifies the alarm ID number."
            ::= { zhoneAlarmActiveEntry 1 }

        
        -- 1.3.6.1.4.1.5504.3.1.18.3.1.2
        zhoneAlarmActiveResourceId OBJECT-TYPE
            SYNTAX OBJECT IDENTIFIER
            MAX-ACCESS not-accessible
            STATUS current
            DESCRIPTION
                "This object identifies the resource under alarm.
                 	
                The resource id can be determined based on the varbind # that determines
                the resource id.  The mapping of which varbind defines the resource id 
                is defined in the zhoneAlarmModelTable.  For every alarmTypeId, there is
                a definition of which traps set/clear that alarm and the varbind number 
                that determines the object instance that the alarm is raised/cleared 
                (resource id).  
                
                
                If there is no corresponding resource, then
                the value of this object is 0.0."
            ::= { zhoneAlarmActiveEntry 2 }

        
        -- 1.3.6.1.4.1.5504.3.1.18.3.1.3
        zhoneAlarmActiveVariables OBJECT-TYPE
            SYNTAX Unsigned32
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "The number of variables (varbinds) in alarmActiveVariableTable for this
                alarm."
            DEFVAL { 0 }
            ::= { zhoneAlarmActiveEntry 3 }

        
        -- 1.3.6.1.4.1.5504.3.1.18.3.1.4
        zhoneAlarmActiveNotificationId OBJECT-TYPE
            SYNTAX OBJECT IDENTIFIER
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "The Trap object identifier of the alarm state transition 
                that is occurring.
                
                This entry indicates the trap oid that caused the alarm to be raised."
            ::= { zhoneAlarmActiveEntry 4 }

        
-- This entry indicates the severity level of the alarm raised.  
-- The severity level is defined as an enum: Low, Moderate, Severe or Critical
        -- 1.3.6.1.4.1.5504.3.1.18.3.1.5
        zhoneAlarmActiveSeverity OBJECT-TYPE
            SYNTAX ZhoneAlarmSeverity
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "This entry identifies the severity level of the alarm. "
            ::= { zhoneAlarmActiveEntry 5 }

        
        -- 1.3.6.1.4.1.5504.3.1.18.4
        zhoneAlarmActiveVariableTable OBJECT-TYPE
            SYNTAX SEQUENCE OF ZhoneAlarmActiveVariableEntry
            MAX-ACCESS not-accessible
            STATUS current
            DESCRIPTION
                "A table of variables to go with each active alarm entries."
            ::= { zhoneAlarm 4 }

        
        -- 1.3.6.1.4.1.5504.3.1.18.4.1
        zhoneAlarmActiveVariableEntry OBJECT-TYPE
            SYNTAX ZhoneAlarmActiveVariableEntry
            MAX-ACCESS not-accessible
            STATUS current
            DESCRIPTION
                "Entries appear in this table when there are variables in
                the varbind list of a corresponding alarm in zhoneAlarmActiveTable.
                 	
                Entries appear in this table as though the trap/notification 
                had been transported using zhone Trap definition."
            INDEX { zhoneAlarmActiveId, zhoneAlarmActiveResourceId, zhoneAlarmActiveVariableId }
            ::= { zhoneAlarmActiveVariableTable 1 }

        
        ZhoneAlarmActiveVariableEntry ::=
            SEQUENCE { 
                zhoneAlarmActiveVariableId
                    Integer32,
                zhoneAlarmActiveVariableValueType
                    ZhoneAlarmActiveVariableValue,
                zhoneAlarmActiveVariableCounter32Val
                    Counter32,
                zhoneAlarmActiveVariableUnsigned32Val
                    Unsigned32,
                zhoneAlarmActiveVariableTimeTicksVal
                    TimeTicks,
                zhoneAlarmActiveVariableInteger32Val
                    Integer32,
                zhoneAlarmActiveVariableOctetStringVal
                    OCTET STRING,
                zhoneAlarmActiveVariableIpAddressVal
                    IpAddress,
                zhoneAlarmActiveVariableOidVal
                    OBJECT IDENTIFIER,
                zhoneAlarmActiveVariableCounter64Val
                    Counter64,
                zhoneAlarmActiveVariableOpaqueVal
                    Opaque,
                zhoneAlarmActiveVariableResourceId
                    OBJECT IDENTIFIER
             }

        -- 1.3.6.1.4.1.5504.3.1.18.4.1.1
        zhoneAlarmActiveVariableId OBJECT-TYPE
            SYNTAX Integer32 (1..2147483647)
            MAX-ACCESS not-accessible
            STATUS current
            DESCRIPTION
                "The alarm variable's object identifier."
            ::= { zhoneAlarmActiveVariableEntry 1 }

        
        -- 1.3.6.1.4.1.5504.3.1.18.4.1.2
        zhoneAlarmActiveVariableValueType OBJECT-TYPE
            SYNTAX ZhoneAlarmActiveVariableValue
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "The type of the value.  One and only one of the value
                objects that follow is used for a given row in this table,
                based on this type."
            ::= { zhoneAlarmActiveVariableEntry 2 }

        
        -- 1.3.6.1.4.1.5504.3.1.18.4.1.3
        zhoneAlarmActiveVariableCounter32Val OBJECT-TYPE
            SYNTAX Counter32
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "The value when alarmActiveVariableType is 'counter32'."
            ::= { zhoneAlarmActiveVariableEntry 3 }

        
        -- 1.3.6.1.4.1.5504.3.1.18.4.1.4
        zhoneAlarmActiveVariableUnsigned32Val OBJECT-TYPE
            SYNTAX Unsigned32
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "The value when alarmActiveVariableType is 'unsigned32'."
            ::= { zhoneAlarmActiveVariableEntry 4 }

        
        -- 1.3.6.1.4.1.5504.3.1.18.4.1.5
        zhoneAlarmActiveVariableTimeTicksVal OBJECT-TYPE
            SYNTAX TimeTicks
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "The value when alarmActiveVariableType is 'timeTicks'."
            ::= { zhoneAlarmActiveVariableEntry 5 }

        
        -- 1.3.6.1.4.1.5504.3.1.18.4.1.6
        zhoneAlarmActiveVariableInteger32Val OBJECT-TYPE
            SYNTAX Integer32
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "The value when alarmActiveVariableType is 'integer32'."
            ::= { zhoneAlarmActiveVariableEntry 6 }

        
        -- 1.3.6.1.4.1.5504.3.1.18.4.1.7
        zhoneAlarmActiveVariableOctetStringVal OBJECT-TYPE
            SYNTAX OCTET STRING (SIZE (0..65535))
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "The value when alarmActiveVariableType is 'octetString'."
            ::= { zhoneAlarmActiveVariableEntry 7 }

        
        -- 1.3.6.1.4.1.5504.3.1.18.4.1.8
        zhoneAlarmActiveVariableIpAddressVal OBJECT-TYPE
            SYNTAX IpAddress
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "The value when alarmActiveVariableType is 'ipAddress'."
            ::= { zhoneAlarmActiveVariableEntry 8 }

        
        -- 1.3.6.1.4.1.5504.3.1.18.4.1.9
        zhoneAlarmActiveVariableOidVal OBJECT-TYPE
            SYNTAX OBJECT IDENTIFIER
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "The value when alarmActiveVariableType is 'objectId'."
            ::= { zhoneAlarmActiveVariableEntry 9 }

        
        -- 1.3.6.1.4.1.5504.3.1.18.4.1.10
        zhoneAlarmActiveVariableCounter64Val OBJECT-TYPE
            SYNTAX Counter64
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "The value when alarmActiveVariableType is 'counter64'."
            ::= { zhoneAlarmActiveVariableEntry 10 }

        
        -- 1.3.6.1.4.1.5504.3.1.18.4.1.11
        zhoneAlarmActiveVariableOpaqueVal OBJECT-TYPE
            SYNTAX Opaque
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "The value when alarmActiveVariableType is 'opaque'.
                
                Note that although RFC2578 [RFC2578] forbids the use
                of Opaque in 'standard' MIB modules, this particular
                usage is driven by the need to be able to accurately
                represent any well-formed notification, and justified
                by the need for backward compatibility."
            ::= { zhoneAlarmActiveVariableEntry 11 }

        
        -- 1.3.6.1.4.1.5504.3.1.18.4.1.12
        zhoneAlarmActiveVariableResourceId OBJECT-TYPE
            SYNTAX OBJECT IDENTIFIER
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "This is the instance OID for the variable binding whose
                instance OID is different from that of the 
                zhoneAlarmActiveResourceId. If this instance OID is not
                required or the same as zhoneAlarmActiveResourceId, it
                will have a default value of 0.0.
                
                For example:
                
                atmVclOperStatusChange would have ifIndex.vpi.vci as its
                alarm resource Id. But for the trap variable binding
                of zhoneTrapPort, the instance id is 0."
            ::= { zhoneAlarmActiveVariableEntry 12 }

        
        -- 1.3.6.1.4.1.5504.3.1.18.5
        zhoneAlarmGroup OBJECT-GROUP
            OBJECTS { zhoneAlarmActiveOverflowCnt, zhoneAlarmActiveStatsCurrentCnt, zhoneAlarmActiveStatsTotalCnt, zhoneAlarmClearStatsTotalCnt, zhoneAlarmLastRaised, 
                zhoneAlarmLastCleared, zhoneAlarmActiveVariables, zhoneAlarmActiveNotificationId, zhoneAlarmActiveVariableValueType, zhoneAlarmActiveVariableCounter32Val, 
                zhoneAlarmActiveVariableUnsigned32Val, zhoneAlarmActiveVariableTimeTicksVal, zhoneAlarmActiveVariableInteger32Val, zhoneAlarmActiveVariableOctetStringVal, zhoneAlarmActiveVariableIpAddressVal, 
                zhoneAlarmActiveVariableOidVal, zhoneAlarmActiveVariableCounter64Val, zhoneAlarmModelVariableId, zhoneAlarmActiveVariableResourceId, zhoneAlarmActiveVariableOpaqueVal, 
                zhoneAlarmModelDescription, zhoneAlarmActiveSeverity }
            STATUS current
            DESCRIPTION 
                "Alarm MIB Group Definition for all Alarm MIB Entries."
            ::= { zhoneAlarm 5 }

        
    
    END

--
-- genAlarm.mib
--
