Set SNMP Trap to receive SNMP traps on the Management Server
Install a Windows standard SNMP Trap receiver service as follows:
These services are included in the install media of OS.
SNMP Trap Service (for Windows Server 2003)
SNMP Trap (for Windows Server 2008)
Note
As with ServerView AlarmService, Express use OS standard SNMP trap reception service for fault management with SNMP Trap reception. Therefore, if any of the following products is mixed, take the same setting procedure as ServerView AlarmService is mixed.
Systemwalker Centric Manager
For specific setting method, refer to each product's manual.
Customize the snmptrapd configuration file that is in the OS standard net-snmp package to receive SNMP trap in Management Server.
Check if snmptrapd is activated with the following command:
# chkconfig --list snmptrapd snmptrapd 0:off 1:off 2:on 3:on 4:on 5:on 6:off |
If snmptrapd is not activated, execute the following command to activate it:
# chkconfig --add snmptrapd # chkconfig snmptrapd on |
Point
The snmptrapd 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.
Check the status of the access control settings.
If the following setting is not in snmptrapd.conf, access control is enabled:
disableAuthorization yes |
Note
Check the status of access control settings for 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 authCommunity net SANMA 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.
If a device with an SNMP trap community name other than "public" or "SANMA" is to be monitored, add an authCommunity setting.
For example, if a device to be monitored has the community name "common", set this parameter as below. Note that the "public" and "SANMA" settings are mandatory.
authCommunity net public authCommunity net SANMA authCommunity net common forward default unix:/var/opt/FJSVssmgr/trap_socket |
If authCommunity log or authCommunity execute has already been set by another product, add a comma and "net".
For example, if authCommunity execute public is already set, set it as follows:
authCommunity execute,net public authCommunity net SANMA forward default unix:/var/opt/FJSVssmgr/trap_socket |
After having changed the snmptrapd.conf, execute the following commands to restart snmptrapd:
The changed content is reflected to the SNMP trap configuration.
# /etc/init.d/snmptrapd stop # /etc/init.d/snmptrapd start |
Note
After having edited snmptrapd.conf, if you have installed or uninstalled applications using snmptrapd (ServerView AlarmService, etc.) or have changed the configuration, make sure whether the content edited in the snmptrapd.conf is not changed.
Point
In an environment using ServerView trap transfer program, execute the following commands to restart:
# /etc/init.d/snmptrapd stop # /etc/init.d/trpsrvd stop # /etc/init.d/snmptrapd start # /etc/init.d/trpsrvd start |
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.
See
Refer to "snmptrapd.conf Configuration File" in the "Storage Cruiser Operation Guide" for details of snmptrapd.conf.
There are no specific settings for receiving the SNMP trap in Management Server.
Note
This software can be used in the mixed environment with the following software. When uninstalled, the SNMP Trap monitoring daemon may be stopped.
Systemwalker Centric Manager Management Server
Systemwalker Centric Manager Section control server
Systemwalker Network Assist
Systemwalker Network Topology Manager
When above software is uninstalled in the mixed environment, execute the following commands:
Check if nwsnmp-trapd is running by executing the following command:
# /bin/ps -ef | grep nwsnmp-trapd |
If nwsnmp-trapd is not running, reboot the system or execute the following commands:
# /opt/FJSVswstt/bin/mpnm-trapd stop # /opt/FJSVswstt/bin/mpnm-trapd start |