
PICA-PRIVATE-TRAP-MIB DEFINITIONS ::= BEGIN

    IMPORTS
            MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE, IpAddress
                FROM SNMPv2-SMI
            MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP
                FROM SNMPv2-CONF
			rpsuIndex, rpsuStatus,sfpIndex,picaPrivateMib
            FROM PICA-PRIVATE-MIB;

    picaTrap MODULE-IDENTITY
           LAST-UPDATED "201212290000Z"
           ORGANIZATION "Pica8 Inc."
           CONTACT-INFO
            "                      Customer Support
            E-Mail:                support@pica8.com
            WWW:                   http://www.pica8.com" 
       DESCRIPTION
          "The MIB module to describe traps for pica private mib."   
      ::= { picaPrivateMib 21 }

-- Trap Support Objects

--         The following are support objects for the pica private traps.


rpsuTraps OBJECT IDENTIFIER ::= { picaTrap 1 }
spfTraps OBJECT IDENTIFIER ::= { picaTrap 2 }
switchTraps OBJECT IDENTIFIER ::= { picaTrap 3 }



-- Traps

   switchFanFailed NOTIFICATION-TYPE
        STATUS             current
        DESCRIPTION
           "A switchFanFailed trap will be generated if the fan
           of switch is failed."
   ::= { switchTraps 1 }

   rpsuStateChange NOTIFICATION-TYPE
        OBJECTS {
                    rpsuIndex, -- The number of RPSU
                    rpsuStatus   -- The new state
                  }
        STATUS             current
        DESCRIPTION
           "A rpsuStateChange trap signifies that there
           has been a change in the state of a Redundancy
           power supply unit(RPSU) . This trap should  be
           generated when  the RPSU status changed (e.g.,
           plugged in or out)."
   ::= { rpsuTraps 1 }
   
   rpsuPlugIn NOTIFICATION-TYPE
        OBJECTS {
                    rpsuIndex -- The number of RPSU
                  }
        STATUS             current
        DESCRIPTION
            "A rpsuPlugIn trap will be generated if the
             Redundancy power supply unit(RPSU) is plugged in."
   ::= { rpsuTraps 2 }   

   rpsuPlugOut NOTIFICATION-TYPE
        OBJECTS {
                    rpsuIndex  -- The number of RPSU
                  }
        STATUS             current
        DESCRIPTION
           "A rpsuPlugOut trap will be generated if the
           Redundancy power supply unit(RPSU) is plugged out."
   ::= { rpsuTraps 3 }

   rpsuFanFailed NOTIFICATION-TYPE
        OBJECTS {
                    rpsuIndex  -- The number of RPSU
                  }
        STATUS             current
        DESCRIPTION
           "A rpsuFanFailed trap will be generated if the fan
           of Redundancy power supply unit(RPSU) is failed."
   ::= { rpsuTraps 4 }

   sfpPlugIn NOTIFICATION-TYPE
        OBJECTS {
                    sfpIndex -- The index of SFP
                  }
        STATUS             current
        DESCRIPTION
            "A sfpPlugIn trap signifies the SFP is plugged in."
   ::= { spfTraps 1 }   

   sfpPlugOut NOTIFICATION-TYPE
        OBJECTS {
                    sfpIndex  -- The index of SFP
                  }
        STATUS             current
        DESCRIPTION
           "A sfpPlugOut trap signifies the SFP is plugged out."
   ::= { spfTraps 2 }  
   
picaTrapConformance OBJECT IDENTIFIER ::= { picaTrap 20 }

picaTrapGroups      OBJECT IDENTIFIER ::= { picaTrapConformance 1 }
picaTrapCompliances OBJECT IDENTIFIER ::= { picaTrapConformance 2 }

-- compliance statements

    picaTrapCompliance MODULE-COMPLIANCE
        STATUS  current
        DESCRIPTION
           "The compliance statement "
       MODULE  -- this module
        GROUP       picaTrapGroups
        DESCRIPTION
           "This group is optional but recommended"
       ::= { picaTrapCompliances 1 }


-- units of conformance

    rpusTrapGroup    OBJECT-GROUP
        OBJECTS {
                    rpsuIndex, -- The number of RPSU
                    rpsuStatus 
        }
        STATUS  current
        DESCRIPTION
           "These objects are required  to  control  traps."
       ::= { picaTrapGroups 1 }

    picaTrapEventGroup       NOTIFICATION-GROUP
        NOTIFICATIONS {
        switchFanFailed,
        rpsuStateChange,
        rpsuPlugIn,
        rpsuPlugOut,
        rpsuFanFailed,
        sfpPlugIn,
        sfpPlugOut
        }
    STATUS        current
    DESCRIPTION
     "A grouping of pica private trap events, as specified
     in NOTIFICATION-TYPE constructs."
    ::= { picaTrapGroups 2 }


END
