Does StorageGRID have OID SNMP trap for each alert?
Applies to
- StorageGRID 11.4 and above.
- SNMP enabled StorageGRID
- OID (Object Identifier) of SNMP traps
Answer
Starting StorageGRID 11.4+ all Alerts trigger SNMP traps.
There are only 3 trap types, or for each severity minor, major, and critical. The actual alert that triggered the trap is described in the varbinds (attributes) contained in the trap. They are defined in the NETAPP-STORAGEGRID-MIB:
activeMinorAlert NOTIFICATION-TYPE
OBJECTS { activeAlertStartTime, activeAlertInstance, activeAlertId, activeAlertSeverity,
activeAlertName }
STATUS current
DESCRIPTION
"An alert with minor severity"
::= { sgNotifications 6}
activeMajorAlert NOTIFICATION-TYPE
OBJECTS { activeAlertStartTime, activeAlertInstance, activeAlertId, activeAlertSeverity,
activeAlertName }
STATUS current
DESCRIPTION
"An alert with major severity"
::= { sgNotifications 7}
activeCriticalAlert NOTIFICATION-TYPE
OBJECTS { activeAlertStartTime, activeAlertInstance, activeAlertId, activeAlertSeverity,
activeAlertName }
STATUS current
DESCRIPTION
"An alert with critical severity"
::= { sgNotifications 8}
The above are the only three trap types that will be sent from StorageGRID. The alerts that can trigger one of those traps are documented in the alerts reference the product documentation.