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-GTv2-MIB::gtv2
.1.3.6.1.4.1.2.6.266.200
gtv2 MODULE-IDENTITY
-- FROM IBM-GTv2-MIB
DESCRIPTION "Objects and notifications for monitoring GTv2 system."
::= { iso(1) org(3) dod(6) internet(1) private(4) enterprises(1) ibm(2) ibmProd(6) iias(266) 200 }
[root@e1n1 ~]#
The MIB structure in a tree view can be revealed with the following
command:
snmptranslate -Tp IBM-GTv2-MIB::gt
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-GTv2-MIB::moduleTables
+--moduleTables(2)
|
+-- -R-- Unsigned hardwareTableLength(10)
|
+--hardwareTable(11)
| |
| +--hardwareEntry(1)
| | Index: hardwareID
| |
| +-- ---- Unsigned hardwareID(1)
| +-- -R-- String hardwareName(11)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String hardwareType(12)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String hardwareLocation(13)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String hardwareStatus(14)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String hardwareSerial(15)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String hardwareModel(16)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String hardwareFirmware(17)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String hardwareDetails(18)
| Textual Convention: DisplayString
| Size: 0..255
|
+-- -R-- Unsigned softwareTableLength(20)
|
+--softwareTable(21)
| |
| +--softwareEntry(1)
| | Index: softwareID
| |
| +-- ---- Unsigned softwareID(1)
| +-- -R-- String softwareName(11)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String softwareType(12)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String softwareLocation(13)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String softwareStatus(14)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String softwareVersion(15)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String softwareDetails(16)
| Textual Convention: DisplayString
| Size: 0..255
|
+-- -R-- Unsigned openIssuesTableLength(30)
|
+--openIssuesTable(31)
| |
| +--openIssuesEntry(1)
| | Index: issueID
| |
| +-- ---- Unsigned issueID(1)
| +-- -R-- String issueDate(11)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String issueType(13)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- Unsigned issueReasonCode(14)
| +-- -R-- String issueTitle(15)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String issueTarget(16)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String issueSeverity(17)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String issueAcknowledged(18)
| Textual Convention: DisplayString
| Size: 0..255
|
+-- -R-- Unsigned closedIssuesTableLength(40)
|
+--closedIssuesTable(41)
| |
| +--closedIssuesEntry(1)
| | Index: closedIssueID
| |
| +-- ---- Unsigned closedIssueID(1)
| +-- -R-- String closedIssueDate(11)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String closedIssueCloseDate(12)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String closedIssueType(13)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- Unsigned closedIssueReasonCode(14)
| +-- -R-- String closedIssueTitle(15)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String closedIssueTarget(16)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String closedIssueSeverity(17)
| Textual Convention: DisplayString
| Size: 0..255
|
+-- -R-- Unsigned eventsTableLength(50)
|
+--eventsTable(51)
| |
| +--eventsEntry(1)
| | Index: eventID
| |
| +-- ---- Unsigned eventID(1)
| +-- -R-- String eventDate(11)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String eventType(13)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- Unsigned eventReasonCode(14)
| +-- -R-- String eventTitle(15)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String eventTarget(16)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String eventSeverity(17)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String eventAcknowledged(18)
| Textual Convention: DisplayString
| Size: 0..255
|
+-- -R-- Unsigned nodesTableLength(60)
|
+--nodesTable(61)
| |
| +--nodesEntry(1)
| | Index: nodeID
| |
| +-- ---- String nodeID(1)
| | Textual Convention: DisplayString
| | Size: 0..16
| +-- -R-- String nodeName(11)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String nodeState(12)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String nodePersonality(13)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String nodeIsMonitored(14)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String nodeIsHub(15)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String nodeFabricName(16)
| Textual Convention: DisplayString
| Size: 0..255
|
+-- -R-- Unsigned sharedFSTableLength(70)
|
+--sharedFSTable(71)
| |
| +--sharedFSEntry(1)
| | Index: sharedFSEnclosure, sharedFSName
| |
| +-- ---- String sharedFSEnclosure(1)
| | Textual Convention: DisplayString
| | Size: 0..16
| +-- ---- String sharedFSName(2)
| | Textual Convention: DisplayString
| | Size: 0..16
| +-- -R-- String sharedDomain(11)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String sharedName(12)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String sharedSize(13)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String sharedUsedGB(14)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String sharedUsage(15)
| 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(11)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String localName(12)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String localMountPoint(13)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String localSize(14)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String localUsedGB(15)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String localUsage(16)
| Textual Convention: DisplayString
| Size: 0..255
|
+-- -R-- Unsigned gpfsTableLength(90)
|
+--gpfsTable(91)
| |
| +--gpfsEntry(1)
| | Index: gpfsIndex
| |
| +-- ---- Unsigned gpfsIndex(1)
| +-- -R-- String gpfsHadomain(11)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String gpfsFilesystem(12)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String gpfsDisk(13)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String gpfsSizeGB(14)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String gpfsUsedGB(15)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String gpfsUsage(16)
| | Textual Convention: DisplayString
| | Size: 0..255
| +-- -R-- String gpfsStatus(17)
| 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(11)
| Textual Convention: DisplayString
| Size: 0..255
+-- -R-- String mountNode(12)
| Textual Convention: DisplayString
| Size: 0..255
+-- -R-- String mountMountpoint(13)
Textual Convention: DisplayString
Size: 0..255
[root@e1n1 ~]#
You can use the snmptable
application to retrieve tables defined in the MIB.