Access MIB files
MIB files contain definitions and information about the properties of managed resources and services for the nodes in your grid. You can access MIB files that define the objects and notifications for StorageGRID. These files can be useful for monitoring your grid.
See Use SNMP monitoring for more information about SNMP and MIB files.
Access MIB files
-
Select CONFIGURATION > Monitoring > SNMP agent.
-
On the SNMP agent page, select the file you want to download:
-
NETAPP-STORAGEGRID-MIB.txt: Defines the alert table and notifications (traps) accessible on all Admin Nodes.
-
ES-NETAPP-06-MIB.mib: Defines objects and notifications for E-Series-based appliances.
-
MIB_1_10.zip: Defines objects and notifications for appliances with a BMC interface.
-
-
Optionally, you can access MIB files at the following location on any StorageGRID node:
/usr/share/snmp/mibs
-
To extract the
storagegrid
OIDs from the MIB file:-
Get the OID of the root of the StorageGRID MIB:
root@user-adm1:~ # snmptranslate -On -IR storagegrid
Result: .
1.3.6.1.4.1.789.28669
(28669
is always the OID for StorageGRID) -
Then grep for the StorageGRID OID in the entire tree (using paste to join lines):
root@user-adm1:~ # snmptranslate -Tso | paste -d " " - - | grep 28669
-
The snmptranslate command has many options that are useful for exploring the MIB. This command is available on any StorageGRID node.
|
MIB file contents
All objects are under the storagegrid OID.
Object name | Object ID (OID) | Description |
---|---|---|
|
|
The MIB Module for NetApp StorageGRID entities. |
MIB Objects
Object Name | Object ID (OID) | Description |
---|---|---|
|
|
The number of active alerts in the activeAlertTable. |
|
|
A table of active alerts in StorageGRID. |
|
|
The ID of the alert. Only unique in the current set of active alerts. |
|
|
The name of the alert. |
|
|
The name of the entity that generated the alert, typically the node name. |
|
|
The severity of the alert. |
|
|
Date and time the alert was triggered. |
Notification Types (Traps)
All notifications include the following variables as varbinds:
-
activeAlertId
-
activeAlertName
-
activeAlertInstance
-
activeAlertSeverity
-
activeAlertStartTime
Notification Type | Object ID (OID) | Description |
---|---|---|
|
|
An alert with minor severity |
|
|
An alert with major severity |
|
|
An alert with critical severity |