nv-l
[Top] [All Lists]

Re: NVADDTRAPDCONF - Brocade Switch

To: nv-l@lists.tivoli.com
Subject: Re: NVADDTRAPDCONF - Brocade Switch
From: "Ray Westphal" <rwestphal@erac.com>
Date: Wed, 25 Oct 2000 09:28:44 -0500
Hello Leslie and James,

Thanks for your replies. I manually added the traps in xnmtrap with the help
of the v2_0_1atrp.mib file I located on the Brocade site. mib2trap would not
work - it fails on the "IMPORTS" line. Here's the v2_0_1atrp.mib file
contents in case you want to check the different traps.

--
--                              "@(#)swtrap.smiv1 99/04/23"
--
-- Enterprise Specific Traps for Fibre Channel Switch (sw).
--              Version 2.0
--
-- This is specified based on RFC1215.
-- This specification is for reference in configuring your SNMP Station
only.
-- DO NOT compile this file.
--
-- See also V2_0SW.mib (version 2.0 of swmib-smiv1).

--

  IMPORTS
        enterprises
                FROM RFC1155-SMI
        swDiagResult,
        swSensorStatus, swSensorIndex, swSensorType, swSensorValue,
        swSensorInfo,
        swFCPortOpStatus, swFCPortIndex,
        swEventIndex, swEventTimeInfo, swEventLevel, swEventRepeatCount,
        swEventDescr
                FROM swmib-smiv1
        TRAP-TYPE
                FROM RFC1215;

  --
  -- sw Traps
  --

  swFault               TRAP-TYPE
        ENTERPRISE      sw
        VARIABLES       { swDiagResult }
        DESCRIPTION     "A swFault(1) is generated whenever the diagnostics
                detects a fault with the switch."
        --#TYPE         "Switch is faulty."
        --#SUMMARY      "Faulty reason: %d"
        --#ARGUMENTS    { 0 }
        --#SEVERITY     CRITICAL
        --#TIMEINDEX    1
        --#STATE        NONOPERATIONAL
        ::= 1

  swSensorScn   TRAP-TYPE
        ENTERPRISE      sw
        VARIABLES       { swSensorStatus, swSensorIndex, swSensorType,
                          swSensorValue, swSensorInfo }
        DESCRIPTION     "A swSensorScn(2) is generated whenever an
                environment sensor changes its operational state. For instance,
                a fan stop working. The VarBind in the Trap Data Unit shall
                contain the corresponding instance of the sensor
                status, sensor index, sensor type, sensor value (reading)
                and sensor information. Note that the sensor information
                contains the type of sensor and its number in textual format."
        --#TYPE         "A sensor (temperature, fan, etc.) changed its 
operational state."
        --#SUMMARY      "%s: is currently in state %d"
        --#ARGUMENTS    { 4, 0 }
        --#SEVERITY     INFORMATIONAL
        --#TIMEINDEX    1
        --#STATE        OPERATIONAL
        ::= 2

   swFCPortScn          TRAP-TYPE
        ENTERPRISE      sw
        VARIABLES       { swFCPortOpStatus, swFCPortIndex }
        DESCRIPTION     "A swFCPortScn(3) is generated whenever an FC_Port
                changes its operational state. For instance, the FC_Port
                goes from on-line to offline. The VarBind in the Trap Data
                Unit shall contain the corresponding instance of the
                FC_Port's operational status and index."
        --#TYPE         "A Fibre Channel Port changed its operational state."
        --#SUMMARY      "Port Index %d changed state to %d"
        --#ARGUMENTS    { 1, 0 }
        --#SEVERITY     INFORMATIONAL
        --#TIMEINDEX    1
        --#STATE        OPERATIONAL
        ::= 3

   swEventTrap           TRAP-TYPE
        ENTERPRISE      sw
        VARIABLES       { swEventIndex, swEventTimeInfo, swEventLevel,
                          swEventRepeatCount, swEventDescr }
        DESCRIPTION     "This trap is generated when an event whose
                level at or below swEventTrapLevel occurs."
        --#TYPE         "A firmware event has been logged"
        --#SUMMARY      "Event %d: %s (severity level %d) - %s"
        --#ARGUMENTS    { 0, 1, 2, 4 }
        --#SEVERITY     INFORMATIONAL
        --#TIMEINDEX    1
        --#STATE        OPERATIONAL
        ::= 4

   -- end of Enterprise Specific Traps for Fibre Channel Switch (sw)


Ray Westphal
NMSA Systems Administrator
Enterprise Rent-A-Car


<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web