Enabling SNMP

Complete this task to enable the Simple Network Management Protocol (SNMP) traps in the IBM Storage Archive Library Edition system.

About this task

IBM Storage Archive Library Edition can generate "start", "stop", and "information" SNMP traps.

Information traps can be configured in file /opt/ibm/ltfsle/share/snmp/LtfsSnmpTrapDef.txt. Then, IBM Storage Archive generates information traps for the messages that are specified in the file, as the messages are logged. In file /opt/ibm/ltfsle/share/snmp/LtfsSnmpTrapDef.txt, lines that begin with a number sign character ("#") are comments. Only message 14111I is active by default when SNMP is enabled.

Procedure

Follow these steps to enable SNMP:

  1. Add the following settings for the SNMP trap to the /opt/ibm/ltfsle/etc/snmp/snmpd.conf file:
    master agentx
    trap2sink localhost
  2. Add the following setting for the SNMP trap to the /opt/ibm/ltfsle/etc/snmp/snmptrapd.conf file:
    authCommunity log,execute,net public
  3. Restart snmpd by using the following command:
    # /etc/init.d/snmpd restart
  4. Add the snmp enable option to the /opt/ibm/ltfsle/etc/ltfs.conf.local file:
    option snmp enabled
  5. Run the snmptrapd program to get a IBM Storage Archive trap to display on another terminal:
    # env MIBDIRS="/usr/share/snmp/mibs:/opt/ibm/ltfsle/share/snmp" MIBS="+LTFS-MIB" snmptrapd -f -Le
    
  6. Start IBM Storage Archive