To use the SNMP trap to monitor faults, customize the snmptrapd configuration file that is included in the OS standard net-snmp package. This configuration file is located at /etc/snmp/snmptrapd.conf, but the file /usr/share/snmp/snmptrapd.conf is also used in some other products. Check the settings in both files to ensure they are correct for the sake of coexistence with other products.
The settings vary depending on the status of the the access control settings. If the following setting is not in snmptrapd.conf, access control is enabled:
disableAuthorization yes
Note
Check both /etc/snmp/snmptrapd.conf and /usr/share/snmp/snmptrapd.conf.
If there are no requests from other products, set the above "disableAuthorization yes" in /etc/snmp/snmptrapd.conf to disable access control.
Add the following setting to /etc/snmp/snmptrapd.conf:
forward default unix:/var/opt/FJSVssmgr/trap_socket
Add the following setting:
authCommunity net public forward default unix:/var/opt/FJSVssmgr/trap_socket
Note
Check both /etc/snmp/snmptrapd.conf and /usr/share/snmp/snmptrapd.conf, and edit the snmptrapd.conf in which autoCommunity has been set by other products. If it is not set in either file, edit /etc/snmp/snmptrapd.conf.
To monitor devices that have an SNMP trap community name other than "public", add an authCommunity setting. The following example shows how to to monitor a device that has the community name "common". Note that the "public" setting is mandatory.
authCommunity net public authCommunity net common forward default unix:/var/opt/FJSVssmgr/trap_socket
If authCommunity log or authCommunity execute have already been set by another product, add ",net". For example, if authCommunity execute public is already set, set as follows:
authCommunity execute,net public forward default unix:/var/opt/FJSVssmgr/trap_socket
Information
Refer to "C.15 snmptrapd.conf Configuration File" in the ETERNUS SF Storage Cruiser User's Guide for details of snmptrapd.conf.
Note
If ServerView AlarmService or any other application that uses snmptrapd has been installed, uninstalled, or had its settings changed after snmptrapd.conf has been customized, check that these procedures have not changed the customized content of snmptrapd.conf.