Configuring SNMP manager

Simple Network Management Protocol (SNMP) is a standard protocol for managing networks and exchanging messages. The system can send SNMP messages that notify personnel about an event. You can use an SNMP manager to view the SNMP messages that the system sends.

With an SNMP manager, such as IBM® Systems Director, you can view and act on the messages that the SNMP agent sends. The SNMP manager can send SNMP notifications, which are also known as traps, when an event occurs in the system. Select Settings > Event Notifications > SNMP Manager to configure SNMP managers for event notifications. You can specify up to a maximum of six SNMP managers.

Note: The GUI-based SNMP service supports only SNMP traps for system health events. SNMP queries are not supported.

In the SNMP mode of event notification, one SNMP notification (trap) with object identifiers (OID). 1.3.6.1.4.1.2.6.212.10.0.1 is sent by the GUI for each event. The following table provides the SNMP objects that are included in the event notifications.

Table 1. SNMP objects included in event notifications
OID Description Examples
.1.3.6.1.4.1.2.6.212.10.1.1 Cluster ID 317908494245422510
.1.3.6.1.4.1.2.6.212.10.1.2 Entity type NODE, FILESYSTEM
.1.3.6.1.4.1.2.6.212.10.1.3 Entity name gss-11, fs01
.1.3.6.1.4.1.2.6.212.10.1.4 Component NFS, FILESYSTEM, NSD
.1.3.6.1.4.1.2.6.212.10.1.5 Severity INFO, TIP, WARNING, ERROR
.1.3.6.1.4.1.2.6.212.10.1.6 Date and time 17.02.2016 13:27:42.516
.1.3.6.1.4.1.2.6.212.10.1.7 Event name nfs_active
.1.3.6.1.4.1.2.6.212.10.1.8 Message NFS service is now active.
1.3.6.1.4.1.2.6.212.10.1.9 Reporting node The node where the problem is reported.

SNMP OID ranges

The following table gives the description of the SNMP OID ranges.

Table 2. SNMP OID ranges
OID range Description
1.3.6.1.4.1.2.6.212 IBM Storage Scale
1.3.6.1.4.1.2.6.212.10 IBM Storage Scale GUI
1.3.6.1.4.1.2.6.212.10.0.1 IBM Storage Scale GUI event notification (trap)
1.3.6.1.4.1.2.6.212.10.1.x IBM Storage Scale GUI event notification parameters (objects)

The traps for the core IBM Storage Scale and those trap objects are not included in the SNMP notifications that are configured through the IBM Storage Scale management GUI.

Example for SNMP traps

The following example shows the SNMP event notification that is sent when performance monitoring sensor is shut down on a node:
SNMPv2-MIB::snmpTrapOID.0 = OID: SNMPv2-SMI::enterprises.2.6.212.10.0.1	
SNMPv2-SMI::enterprises.2.6.212.10.1.1 = STRING: "317908494245422510"	
SNMPv2-SMI::enterprises.2.6.212.10.1.2 = STRING: "NODE"	
SNMPv2-SMI::enterprises.2.6.212.10.1.3 = STRING: "gss-11"	
SNMPv2-SMI::enterprises.2.6.212.10.1.4 = STRING: "PERFMON"	
SNMPv2-SMI::enterprises.2.6.212.10.1.5 = STRING: "ERROR"	
SNMPv2-SMI::enterprises.2.6.212.10.1.6 = STRING: "18.02.2016 12:46:44.839"	
SNMPv2-SMI::enterprises.2.6.212.10.1.7 = STRING: "pmsensors_down"	
SNMPv2-SMI::enterprises.2.6.212.10.1.8 = STRING: "pmsensors service should be started and is stopped"
SNMPv2-SMI::enterprises.2.6.212.10.1.9 = STRING: "gss-11"
The following example shows the SNMP event notification that is sent for an SNMP test message:
SNMPv2-MIB::snmpTrapOID.0 = OID: SNMPv2-SMI::enterprises.2.6.212.10.0.1
SNMPv2-SMI::enterprises.2.6.212.10.1.1 = STRING: "317908494245422510"
SNMPv2-SMI::enterprises.2.6.212.10.1.2 = STRING: "CLUSTER"
SNMPv2-SMI::enterprises.2.6.212.10.1.3 = STRING: "UNKNOWN"
SNMPv2-SMI::enterprises.2.6.212.10.1.4 = STRING: "GUI"
SNMPv2-SMI::enterprises.2.6.212.10.1.5 = STRING: "INFO"
SNMPv2-SMI::enterprises.2.6.212.10.1.6 = STRING: "18.02.2016 12:47:10.851"
SNMPv2-SMI::enterprises.2.6.212.10.1.7 = STRING: "snmp_test"
SNMPv2-SMI::enterprises.2.6.212.10.1.8 = STRING: "This is a SNMP test message."
SNMPv2-SMI::enterprises.2.6.212.10.1.9 = STRING: "gss-11"

SNMP MIBs

The SNMP Management Information Base (MIB) is a collection of definitions that define the properties of the managed objects.

The IBM Storage Scale GUI MIB OID range starts with 1.3.6.1.4.1.2.6.212.10. The OID range 1.3.6.1.4.1.2.6.212.10.0.1 denotes IBM Storage Scale GUI event notification (trap) and 1.3.6.1.4.1.2.6.212.10.1.x denotes IBM Storage Scale GUI event notification parameters (objects). While configuring SNMP, use the MIB file that is available at the following location of each GUI node: /usr/lpp/mmfs/gui/IBM-SPECTRUM-SCALE-GUI-MIB.txt.