I wasn't sure how to title this email, but here's the current version of
our MIB - any input would be greatly appreciated. I've removed some of
the big comment blocks to reduce the amount of noise (the file is
actually named PIVOT3SYS-MIB.txt - I've renamed it so I can keep the
comment-cleaned version separate). 

 

I've left the network table as it is currently defined - I will be
taking all of the comments I've received (many thanks to both Mike and
Dave for all of their valuable input so far!!) back to management to
discuss our options later this week.

 

Thanks again for any comments or suggestions!

 

~ Wendy

 

 

PIVOT3SYS-MIB DEFINITIONS ::= BEGIN

IMPORTS
    OBJECT-TYPE, NOTIFICATION-TYPE, MODULE-IDENTITY,
    Integer32, Opaque, enterprises, Counter32
        FROM SNMPv2-SMI

    TEXTUAL-CONVENTION, DisplayString, TruthValue
        FROM SNMPv2-TC;


pvt3System MODULE-IDENTITY
    LAST-UPDATED "200801020000Z"
    ORGANIZATION "www.pivot3.com"
    CONTACT-INFO "phone: xxx.xxx.xxxx"
    DESCRIPTION  "MIB for Pivot3 databank objects"
    REVISION     "200801020000Z"
    DESCRIPTION  "First revision, second cut"
    ::= { enterprises 25148 1 }

pivot3                  OBJECT IDENTIFIER ::= { enterprises 25148 }

-- pvt3System              OBJECT IDENTIFIER ::= { pivot3 1 }
--
-- top level structure
--
pvt3SysMibRev           OBJECT IDENTIFIER ::= { pvt3System 1 }
pvt3SysDatabank         OBJECT IDENTIFIER ::= { pvt3System 2 }
pvt3SysTrapBase         OBJECT IDENTIFIER ::= { pvt3System 3 }
pvt3SysTraps            OBJECT IDENTIFIER ::= { pvt3SysTrapBase 0 }


pvt3SysDatabankDrive    OBJECT IDENTIFIER ::= { pvt3SysDatabank 15 }
pvt3SysNetworkIF        OBJECT IDENTIFIER ::= { pvt3SysDatabank 16 }


-- ****************************************************************************
--   Pivot3 System MIB Revision
--   ===============================
--
-- The pivot3 enterprise               (1.3.6.1.4.1.25148)
--      pvt3System Group               (1.3.6.1.4.1.25148.1)
--       pvt3SysMibRev Group           (1.3.6.1.4.1.25148.1.1)
--
-- ****************************************************************************

    majorRev OBJECT-TYPE
        SYNTAX  INTEGER (1..65535)
        MAX-ACCESS  read-only
        STATUS  current
        DESCRIPTION
            "The Major Revision level of the MIB.

            A change in the major revision level represents a major change
            in the architecture of the MIB.  A change in the major revision
            level may indicate a significant change in the information
            supported and/or the meaning of the supported information,
            correct interpretation of data may require a MIB document with
            the same major revision level."
        ::= { pvt3SysMibRev 1 }

    minorRev OBJECT-TYPE
        SYNTAX  INTEGER (0..65535)
        MAX-ACCESS  read-only
        STATUS  current
        DESCRIPTION
            "The Minor Revision level of the MIB.

            A change in the minor revision level may represent some minor
            additional support, no changes to any pre-existing information
            has occurred."
        ::= { pvt3SysMibRev 2 }


-- ****************************************************************************
--   Databank Group
-- ****************************************************************************

    name OBJECT-TYPE
        SYNTAX  DisplayString (SIZE (0..255))
        MAX-ACCESS  read-only
        STATUS  current
        DESCRIPTION
            "The display name of the databank"
        ::= { pvt3SysDatabank 1 }

    uuid OBJECT-TYPE
        SYNTAX  DisplayString (SIZE (0..255))
        MAX-ACCESS  read-only
        STATUS  current
        DESCRIPTION
            "The UUID of the databank."
        ::= { pvt3SysDatabank 2 }

    serialNumber OBJECT-TYPE
        SYNTAX  DisplayString (SIZE (0..255))
        MAX-ACCESS  read-only
        STATUS  current
        DESCRIPTION
            "The serial number of the databank."
        ::= { pvt3SysDatabank 3 }

    model OBJECT-TYPE
        SYNTAX  DisplayString (SIZE (0..255))
        MAX-ACCESS  read-only
        STATUS  current
        DESCRIPTION
            "The databank model."
        ::= { pvt3SysDatabank 4 }

    vendor OBJECT-TYPE
        SYNTAX  DisplayString (SIZE (0..255))
        MAX-ACCESS  read-only
        STATUS  current
        DESCRIPTION
            "The vendor of the databank."
        ::= { pvt3SysDatabank 5 }

    productName OBJECT-TYPE
        SYNTAX  DisplayString (SIZE (0..255))
        MAX-ACCESS  read-only
        STATUS  current
        DESCRIPTION
            "The product name of the databank."
        ::= { pvt3SysDatabank 6}

   raigeOSVersion OBJECT-TYPE
        SYNTAX  DisplayString (SIZE (0..255))
        MAX-ACCESS  read-only
        STATUS  current
        DESCRIPTION
            "The version of RAIGE OS running on the databank."
        ::= { pvt3SysDatabank 7}

    capacity OBJECT-TYPE
        SYNTAX  INTEGER 
        MAX-ACCESS  read-only
        STATUS  current
        DESCRIPTION
            "The capacity of the databank (TODO: units)."
        ::= { pvt3SysDatabank 8}

    state OBJECT-TYPE
        SYNTAX  INTEGER (0..15)
        MAX-ACCESS  read-only
        STATUS  current
        DESCRIPTION
            "This is the databank state (TODO: list values)."
        ::= { pvt3SysDatabank 9}

    isInArray OBJECT-TYPE
        SYNTAX  INTEGER (0..1)
        MAX-ACCESS  read-only
        STATUS  current
        DESCRIPTION
            "This represents whether or not the databank is a member of an 
array."
        ::= { pvt3SysDatabank 10}

    arrayName OBJECT-TYPE
        SYNTAX  DisplayString (SIZE (0..255))
        MAX-ACCESS  read-only
        STATUS  current
        DESCRIPTION
            "This is the name of the array, if the databank is in an array."
        ::= { pvt3SysDatabank 11}

    fanStatus OBJECT-TYPE
        SYNTAX  INTEGER
        MAX-ACCESS  read-only
        STATUS  current
        DESCRIPTION
            "The current status of all fans in the databank."
        ::= { pvt3SysDatabank 12}

    powerSupplyStatus OBJECT-TYPE
        SYNTAX  INTEGER
        MAX-ACCESS  read-only
        STATUS  current
        DESCRIPTION
            "The current status of all power supplies in the databank."
        ::= { pvt3SysDatabank 13}

    temperatureStatus OBJECT-TYPE
        SYNTAX  INTEGER
        MAX-ACCESS  read-only
        STATUS  current
        DESCRIPTION
            "The current status of the temperature sensors in the databank."
        ::= { pvt3SysDatabank 14}


-- ****************************************************************************
--   Databank Disk Table
--
--      The databank drive group describes the physical drives in the databank.
--
-- ****************************************************************************

    dbDriveTable OBJECT-TYPE
        SYNTAX  SEQUENCE OF DBDriveTableEntry
        MAX-ACCESS  not-accessible
        STATUS  current
        DESCRIPTION
            "A table of physical drive descriptions."
        ::= { pvt3SysDatabankDrive 1 }

    dbDriveTableEntry OBJECT-TYPE
        SYNTAX  DBDriveTableEntry
        MAX-ACCESS  not-accessible
        STATUS  current
        DESCRIPTION
            "A description of a physical drive."
        INDEX   { driveIndex }
        ::= { dbDriveTable 1 }

    DBDriveTableEntry ::= SEQUENCE {
        driveIndex                    INTEGER,
        driveModel                    DisplayString,
        driveCapacity                 INTEGER,
        driveFWVersion                DisplayString,
        driveType                     DisplayString,
        driveStatus                   INTEGER
    }

    driveIndex OBJECT-TYPE
        SYNTAX  INTEGER (0..65535)
        MAX-ACCESS  read-only
        STATUS  current
        DESCRIPTION
            "An index that uniquely specifies this entry."
        ::= { dbDriveTableEntry 1 }

    driveModel OBJECT-TYPE
        SYNTAX  DisplayString (SIZE (0..255))
        MAX-ACCESS  read-only
        STATUS  current
        DESCRIPTION
            "The model of this drive."
        ::= { dbDriveTableEntry 2 }

    driveCapacity OBJECT-TYPE
        SYNTAX  INTEGER
        MAX-ACCESS  read-only
        STATUS  current
        DESCRIPTION
            "The capacity of the drive."
        ::= { dbDriveTableEntry 3 }

    driveFWVersion  OBJECT-TYPE
        SYNTAX  DisplayString (SIZE (0..255))
        MAX-ACCESS  read-only
        STATUS  current
        DESCRIPTION
            "The firmware version of the drive."
        ::= { dbDriveTableEntry 4 }

    driveType  OBJECT-TYPE
        SYNTAX  DisplayString (SIZE (0..255))
        MAX-ACCESS  read-only
        STATUS  current
        DESCRIPTION
            "The drive type (ATA, etc.)."
        ::= { dbDriveTableEntry 5 }

    driveStatus OBJECT-TYPE
        SYNTAX  INTEGER
        MAX-ACCESS  read-only
        STATUS  current
        DESCRIPTION
            "The status of the drive."
        ::= { dbDriveTableEntry 6 }


-- ****************************************************************************
--   Databank I/F Table
--
--      The databank network IF group describes the networking interfaces 
--      on the databank. 
-- ****************************************************************************

    dbIFTable OBJECT-TYPE
        SYNTAX  SEQUENCE OF DBIFTableEntry
        MAX-ACCESS  not-accessible
        STATUS  current
        DESCRIPTION
            "A table of databank interface descriptions."
        ::= { pvt3SysNetworkIF 1 }

    dbIFTableEntry OBJECT-TYPE
        SYNTAX  DBIFTableEntry
        MAX-ACCESS  not-accessible
        STATUS  current
        DESCRIPTION
            "A description of a physical drive."
        INDEX   { ifIndex }
        ::= { dbIFTable 1 }

    DBIFTableEntry ::= SEQUENCE {
        ifIndex                    INTEGER,
        ifAlias                    DisplayString,
        ifState                    INTEGER,
        ifLinkStatus               INTEGER,
        ifAddress                  DisplayString,
        ifMACAddress               DisplayString,
        ifSubnetMask               DisplayString,
        ifGateway                  DisplayString,
        ifAddressType              DisplayString,
        ifOpSpeed                  DisplayString,
        ifPortType                 DisplayString
    }

    ifIndex OBJECT-TYPE
        SYNTAX  INTEGER (0..65535)
        MAX-ACCESS  read-only
        STATUS  current
        DESCRIPTION
            "An index that uniquely specifies this entry."
        ::= { dbIFTableEntry 1 }

    ifAlias OBJECT-TYPE
        SYNTAX  DisplayString (SIZE (0..255))
        MAX-ACCESS  read-only
        STATUS  current
        DESCRIPTION
            "The alias of this interface."
        ::= { dbIFTableEntry 2 }

    ifState OBJECT-TYPE
        SYNTAX  INTEGER
        MAX-ACCESS  read-only
        STATUS  current
        DESCRIPTION
            "The state of the interface."
        ::= { dbIFTableEntry 3 }

    ifLinkStatus OBJECT-TYPE
        SYNTAX  INTEGER
        MAX-ACCESS  read-only
        STATUS  current
        DESCRIPTION
            "The link status of the interface."
        ::= { dbIFTableEntry 4 }

    ifAddress  OBJECT-TYPE
        SYNTAX  DisplayString (SIZE (0..255))
        MAX-ACCESS  read-only
        STATUS  current
        DESCRIPTION
            "The IP address of the interface."
        ::= { dbIFTableEntry 5 }

     ifMACAddress  OBJECT-TYPE
        SYNTAX  DisplayString (SIZE (0..255))
        MAX-ACCESS  read-only
        STATUS  current
        DESCRIPTION
            "The MAC address of the interface."
        ::= { dbIFTableEntry 6 }

    ifSubnetMask  OBJECT-TYPE
        SYNTAX  DisplayString (SIZE (0..255))
        MAX-ACCESS  read-only
        STATUS  current
        DESCRIPTION
            "The subnet mask for the interface."
        ::= { dbIFTableEntry 7 }

    ifGateway  OBJECT-TYPE
        SYNTAX  DisplayString (SIZE (0..255))
        MAX-ACCESS  read-only
        STATUS  current
        DESCRIPTION
            "The default gateway for the interface."
        ::= { dbIFTableEntry 8 }

    ifAddressType  OBJECT-TYPE
        SYNTAX  DisplayString (SIZE (0..255))
        MAX-ACCESS  read-only
        STATUS  current
        DESCRIPTION
            "The IP address of the interface."
        ::= { dbIFTableEntry 9 }

    ifOpSpeed  OBJECT-TYPE
        SYNTAX  DisplayString (SIZE (0..255))
        MAX-ACCESS  read-only
        STATUS  current
        DESCRIPTION
            "The IP address of the interface."
        ::= { dbIFTableEntry 10 }

    ifPortType  OBJECT-TYPE
        SYNTAX  DisplayString (SIZE (0..255))
        MAX-ACCESS  read-only
        STATUS  current
        DESCRIPTION
            "The IP address of the interface."
        ::= { dbIFTableEntry 11 }

-- ****************************************************************************
--   Traps
--
--      Trap definitions. 
-- ****************************************************************************

    pvt3DatabankStateDegraded NOTIFICATION-TYPE
        OBJECTS { name }
        STATUS  current
        DESCRIPTION "This trap is sent when a databank's state has 
                     changed to DEGRADED."
        ::= { pvt3SysTraps 1 }

    pvt3DatabankStateFailed NOTIFICATION-TYPE
        OBJECTS { name }
        STATUS  current
        DESCRIPTION "This trap is sent when a databank's state has 
                     changed to FAILED."
        ::= { pvt3SysTraps 2 }

    pvt3DatabankTempStateFailed NOTIFICATION-TYPE
        OBJECTS { name }
        STATUS  current
        DESCRIPTION "This trap is sent when the state of a databank's
                     temperature sensors has changed to FAILED."
        ::= { pvt3SysTraps 3 }

    pvt3DatabankTempStateNormal NOTIFICATION-TYPE
        OBJECTS { name }
        STATUS  current
        DESCRIPTION "This trap is sent when the state of a databank's
                     temperature sensors has changed to NORMAL."
        ::= { pvt3SysTraps 4 }

    pvt3DatabankPowerSupplyStateFailed NOTIFICATION-TYPE
        OBJECTS { name }
        STATUS  current
        DESCRIPTION "This trap is sent when the state of a databank's
                     power supplies has changed to FAILED."
        ::= { pvt3SysTraps 5 }

    pvt3DatabankFansStateFailed NOTIFICATION-TYPE
        OBJECTS { name }
        STATUS  current
        DESCRIPTION "This trap is sent when the state of a databank's
                     fans has changed to FAILED."
        ::= { pvt3SysTraps 6 }

    pvt3DatabankDriveStateFailed NOTIFICATION-TYPE
        OBJECTS { name,
                  driveIndex }
        STATUS  current
        DESCRIPTION "This trap is sent when the state of a drive in 
                     a databank has changed to FAILED."
        ::= { pvt3SysTraps 7 }

END


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to