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:
-
Add the following settings for the SNMP trap to the /opt/ibm/ltfsle/etc/snmp/snmpd.conf file:
master agentx
trap2sink localhost
-
Add the following setting for the SNMP trap to the /opt/ibm/ltfsle/etc/snmp/snmptrapd.conf file:
authCommunity log,execute,net public
-
Restart snmpd by using the following command:
# /etc/init.d/snmpd restart
- Add the
snmp enable
option to the /opt/ibm/ltfsle/etc/ltfs.conf.local file:
-
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
-
Start IBM Storage Archive