iControl and SNMP > Detailed Directions > Exploring the GSM SNMP Agent > GSM-MIB
 
GSM-MIB
The following is a useful excerpt from the GSM‑MIB file:

statusTable OBJECT-TYPE

SYNTAX SEQUENCE OF StatusEntry

ACCESS not-accessible

STATUS mandatory

DESCRIPTION "This table contains the status for all devices and all alarms for each device that have been discovered by GSM"

::= { gsm 1 }

statusEntry OBJECT-TYPE

SYNTAX StatusEntry

ACCESS not-accessible

STATUS mandatory

DESCRIPTION "status entry is indexed by deviceIndex (arbitrary device index assigned when device is first discovered, permanent across reboots), slotIndex (for frames with multiple slots), and trapIndex (an alarm type as defined in the GsmTraps of the MIRANDA-MIB)."

INDEX { deviceIndex, slotIndex, trapIndex }

::= { statusTable 1 }

StatusEntry ::= SEQUENCE {

deviceIndex INTEGER,

slotIndex INTEGER,

trapIndex GsmTraps,

type OCTET STRING,

name OCTET STRING,

status GsmStatus

}

-- ***************************************************

-- Each element of the status entry sequence has to be

-- specified individually.

-- ***************************************************

deviceIndex OBJECT-TYPE

SYNTAX INTEGER

ACCESS read-only

STATUS mandatory

DESCRIPTION "This is a unique device index in the table"

::= { statusEntry 1 }

slotIndex OBJECT-TYPE

SYNTAX INTEGER

ACCESS read-only

STATUS mandatory

DESCRIPTION "This is a unique index defining the slot number.

If the device has no slots, then ZERO is used"

::= { statusEntry 2 }

trapIndex OBJECT-TYPE

SYNTAX GsmTraps

ACCESS read-only

STATUS mandatory

DESCRIPTION "This is a unique trap (alarm) index in the table"

::= { statusEntry 3 }

type OBJECT-TYPE

SYNTAX OCTET STRING

ACCESS read-only

STATUS mandatory

DESCRIPTION "Device Type"

::= { statusEntry 4 }

name OBJECT-TYPE

SYNTAX OCTET STRING

ACCESS read-only

STATUS mandatory

DESCRIPTION "Current Alarm Logical Name"

::= { statusEntry 5 }

status OBJECT-TYPE

SYNTAX GsmStatus

ACCESS read-only

STATUS mandatory

DESCRIPTION "Current Alarm Status"

::= { statusEntry 6 }