The Cloud Pak for Data System MIB file
The Management Information Base (MIB) file describes the properties of managed resources and the services that the agent supports.
The MIB file is available in /usr/share/snmp/mibs on every node. Depending
on the version of your system, the file name might differ:
- IBM-GT-MIB.txt for Cloud Pak for Data System version 1.0.x
- IBM-GTv2-MIB.txt for Cloud Pak for Data System version 2.0.x
The MIB details are as follows:
[root@e1n1 ~]# snmptranslate -Td -On IBM-GT-MIB::gt
.1.3.6.1.4.1.2.6.266.100
gt MODULE-IDENTITY
-- FROM IBM-GT-MIB
DESCRIPTION "Objects and notifications for monitoring GT system."
::= { iso(1) org(3) dod(6) internet(1) private(4) enterprises(1) ibm(2) ibmProd(6) iias(266) 100 }
[root@e1n1 ~]#
The MIB structure in a tree view can be revealed with the following
command:
snmptranslate -Tp IBM-GT-MIB::gt
[root@e1n1 ~]# snmptranslate -Tp IBM-GT-MIB::gt
+--gt(100)
|
+--systemNotifications(0)
| |
. . .
+--moduleConformance(2)
|
+--moduleCompliances(1)
| |
| +--moduleCompliance(1)
|
+--moduleGroups(2)
|
+--moduleRequiredObjGroup(1)
+--systemNotifGroup(2)
[root@e1n1 ~]#
Top level structure is as follows:
-- Top-level structure of the MIB
systemNotifications OBJECT IDENTIFIER ::= { gt 0 }
moduleObjects OBJECT IDENTIFIER ::= { gt 1 }
moduleConformance OBJECT IDENTIFIER ::= { gt 2 }
moduleScalars OBJECT IDENTIFIER ::= { moduleObjects 1 }
moduleTables OBJECT IDENTIFIER ::= { moduleObjects 2 }
The AgentX extension supports the following
tables:
[root@e1n1 ~]# snmptranslate -Tdp -Ou IBM-GT-MIB::moduleTables
+--moduleTables(2)
|
+-- -R-- Unsigned hardwareTableLength(10)
|
+--hardwareTable(11)
| |
| +--hardwareEntry(1)
| | Index: hardwareDomain, hardwareDomainItem, hardwareDomainRest
| |
| +-- ---- String hardwareDomain(1)
| | Textual Convention: DisplayString
| | Size: 0..16
| +-- ---- String hardwareDomainItem(2)
| | Textual Convention: DisplayString
| | Size: 0..16
| +-- ---- String hardwareDomainRest(3)
| | Textual Convention: DisplayString
| | Size: 0..32
| +-- -R-- String hwName(4)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String hwType(5)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String hwLocation(6)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String hwStatus(7)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String hwSerial(8)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String hwModel(9)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String hwFirmware(10)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String hwDetails(11)
| Textual Convention: DisplayString
| Size: 0..255
|
+-- -R-- Unsigned softwareTableLength(20)
|
+--softwareTable(21)
| |
| +--softwareEntry(1)
| | Index: softwareName, softwareLocation
| |
| +-- ---- String softwareName(1)
| | Textual Convention: DisplayString
| | Size: 0..16
| +-- ---- String softwareLocation(2)
| | Textual Convention: DisplayString
| | Size: 0..16
| +-- -R-- String swName(3)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String swType(4)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String swLocation(5)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String swStatus(6)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String swVersion(7)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String swDetails(8)
| Textual Convention: DisplayString
| Size: 0..255
|
+-- -R-- Unsigned openIssuesTableLength(30)
|
+--openIssuesTable(31)
| |
| +--openIssuesEntry(1)
| | Index: alertID
| |
| +-- ---- Unsigned alertID(1)
| +-- -R-- String alertDate(2)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String alertType(3)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- Unsigned alertReasonCode(4)
| +-- -R-- String alertTitle(5)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String alertTarget(6)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String alertSeverity(7)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String alertAcknowledged(8)
| Textual Convention: DisplayString
| Size: 0..255
|
+-- -R-- Unsigned closedIssuesTableLength(40)
|
+--closedIssuesTable(41)
| |
| +--closedIssuesEntry(1)
| | Index: alertXID
| |
| +-- ---- Unsigned alertXID(1)
| +-- -R-- String alertXDate(2)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String alertXCloseDate(3)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String alertXType(4)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- Unsigned alertXReasonCode(5)
| +-- -R-- String alertXTitle(6)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String alertXTarget(7)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String alertXSeverity(8)
| Textual Convention: DisplayString
| Size: 0..255
|
+-- -R-- Unsigned eventsTableLength(50)
|
+--eventsTable(51)
| |
| +--eventsEntry(1)
| | Index: eventID
| |
| +-- ---- Unsigned eventID(1)
| +-- -R-- String eventDate(2)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String eventType(3)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- Unsigned eventReasonCode(4)
| +-- -R-- String eventTitle(5)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String eventTarget(6)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String eventSeverity(7)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String eventAcknowledged(8)
| Textual Convention: DisplayString
| Size: 0..255
|
+-- -R-- Unsigned nodesTableLength(60)
|
+--nodesTable(61)
| |
| +--nodesEntry(1)
| | Index: nodeHadomain, nodeNode
| |
| +-- ---- String nodeHadomain(1)
| | Textual Convention: DisplayString
| | Size: 0..16
| +-- ---- String nodeNode(2)
| | Textual Convention: DisplayString
| | Size: 0..16
| +-- -R-- String nodeName(3)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String nodeState(4)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String nodePersonality(5)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String nodeIsMonitored(6)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String nodeIsHub(7)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String nodeIsMaster(8)
| Textual Convention: DisplayString
| Size: 0..255
|
+-- -R-- Unsigned sharedFSTableLength(70)
|
+--sharedFSTable(71)
| |
| +--sharedFSEntry(1)
| | Index: sharedFSHadomain, sharedFSName
| |
| +-- ---- String sharedFSHadomain(1)
| | Textual Convention: DisplayString
| | Size: 0..16
| +-- ---- String sharedFSName(2)
| | Textual Convention: DisplayString
| | Size: 0..16
| +-- -R-- String sharedDomain(3)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String sharedName(4)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String sharedSize(5)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String sharedUsedGB(6)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String sharedUsage(7)
| Textual Convention: DisplayString
| Size: 0..255
|
+-- -R-- Unsigned localFSTableLength(80)
|
+--localFSTable(81)
| |
| +--localFSEntry(1)
| | Index: localFSHadomain, localFSNode, localFSName
| |
| +-- ---- String localFSHadomain(1)
| | Textual Convention: DisplayString
| | Size: 0..16
| +-- ---- String localFSNode(2)
| | Textual Convention: DisplayString
| | Size: 0..16
| +-- ---- String localFSName(3)
| | Textual Convention: DisplayString
| | Size: 0..16
| +-- -R-- String localNode(4)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String localName(5)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String localMountPoint(6)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String localSize(7)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String localUsedGB(8)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String localUsage(9)
| Textual Convention: DisplayString
| Size: 0..255
|
+-- -R-- Unsigned gpfsTableLength(90)
|
+--gpfsTable(91)
| |
| +--gpfsEntry(1)
| | Index: gpfsIndex
| |
| +-- ---- Unsigned gpfsIndex(1)
| +-- -R-- String gpfsHadomain(2)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String gpfsFilesystem(3)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String gpfsDisk(4)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String gpfsSize(5)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String gpfsUsedGB(6)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String gpfsUsage(7)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String gpfsStatus(8)
| Textual Convention: DisplayString
| Size: 0..255
|
+-- -R-- Unsigned mountsTableLength(100)
|
+--mountsTable(101)
|
+--mountsEntry(1)
| Index: mountFSHadomain, mountFSNode, mountFS
|
+-- ---- String mountFSHadomain(1)
| Textual Convention: DisplayString
| Size: 0..16
+-- ---- String mountFSNode(2)
| Textual Convention: DisplayString
| Size: 0..16
+-- ---- String mountFS(3)
| Textual Convention: DisplayString
| Size: 0..16
+-- -R-- String mountFilesystem(4)
| Textual Convention: DisplayString
| Size: 0..255
+-- -R-- String mountNode(5)
| Textual Convention: DisplayString
| Size: 0..255
+-- -R-- String mountMountpoint(6)
Textual Convention: DisplayString
Size: 0..255
[root@e1n1 ~]#
You can use the snmptable
application to retrieve tables defined in the MIB.