Top
ETERNUS SF Express V15.0/ Storage Cruiser V15.0/ AdvancedCopy Manager V15.0 Installation and Setup Guide

4.2.3 SNMP Trap setting

Set SNMP Trap to receive SNMP traps on the Management Server.

4.2.3.1 SNMP Trap setting (for Windows)

Install a Windows standard SNMP Trap receiver service as follows:
These services are included in the install media of OS.

4.2.3.2 SNMP Trap setting (for Linux)

Install OS standard net-snmp package.

When installing net-snmp package, lm-sensors package may be required. These packages provide in OS installation media.
Edit the setup file for snmptrapd after ETERNUS SF Manager installation.

Note

  • Create text file (snmptrapd.conf) in /etc/snmp directory when /etc/snmp/snmptrapd.conf doesn't exist.

  • For Express, be sure to set /etc/snmp/snmptrapd.conf as follows:

    forward default unix:/var/opt/FJSVssmgr/trap_socket 
  • Normally, the snmptrapd configuration file indicates /etc/snmp/snmptrapd.conf. However other products may use /usr/share/snmp/snmptrapd.conf. Therefore, in this procedure, check both /etc/snmp/snmptrapd.conf and /usr/share/snmp/snmptrapd.conf. for coexisting with other products.

  • If /usr/share/snmp/snmptrapd.conf is not used on other products, then disable access control by adding "disableAuthorization yes" to "/etc/snmp/snmptrapd.conf".

Edit the snmptrapd configuration file, according to the following procedure.

  1. Confirm that snmptrapd is enabled by executing the following command:

    # chkconfig --list snmptrapd
    snmptrapd 0:off 1:off 2:on 3:on 4:on 5:on 6:off

    If snmptrapd is disabled, execute the following command to enable snmptrapd:

    # chkconfig --add snmptrapd
    # chkconfig snmptrapd on
  2. Confirm snmptrapd access control.
    The setup varies depending on the access control setup status.

    Check the content of the snmptrapd.conf and if the following is set, access control is disabled.

    disableAuthorization yes
    • When access control is disabled.

      Add the following content to /etc/snmp/snmptrapd.conf. SNMP trap reception is set.

      forward default unix:/var/opt/FJSVssmgr/trap_socket
    • When access control is enabled.

      Add the following lines in snmptrapd.conf.

      authCommunity net public
      authCommunity net SANMA
      forward default unix:/var/opt/FJSVssmgr/trap_socket

      Check both /etc/snmp/snmptrapd.conf and /usr/share/snmp/snmptrapd.conf, and edit snmptrapd.conf in which autoCommunity has been set by other products.
      If autoCommunity is not set in either file, edit /etc/snmp/snmptrapd.conf.

      Information

      • authCommunity is an editable item when access control is enabled.

        The format is as follows:

        authCommunity TYPES COMMUNITY [SOURCE [OID | -v VIEW ]]
        
          TYPES: log,execute,net
          COMMUNITY: SNMP trap community name for a device to be monitored

        Set log, execute and net in the TYPES field.
        Set the SNMP trap community name for a device to be monitored, in the COMMUNITY field.
        Do not set SOURCE, OID and VIEW fields for Express.

        For example, set as follows:

        authCommunity net public
        authCommunity net SANMA
      • If an ETERNUS Disk storage system with an SNMP trap community name other than "public" or "SANMA" is to be monitored, add an authCommunity setting.
        For example, if an ETERNUS Disk storage system 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
  3. Reflect the configuration file.

    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