Hitachi

JP1 Version 12 JP1/Extensible SNMP Agent Description, Operator's Guide and Reference


2.7.6 Specifying trap destinations

SNMP Agent has trap destinations. A trap destination determines the destination of SNMP traps and identifies a manager system that is to receive SNMP Agent's traps. If there are multiple managers that manage an SNMP Agent instance, that SNMP Agent instance has multiple trap destinations. Trap destinations are configured with IPv4 addresses. For details about setting IPv6 trap destinations, see 2.8 IPv6 settings.

This subsection describes trap destination settings when the manager product that manages SNMP Agent is NNM and when the trap destinations are NNMi and any manager.

Organization of this subsection

(1) For NNM

NNM allows the netmon process to add SNMP Agent trap destinations automatically using SNMP. However, when you use HP NNM version 6 or later as the SNMP Agent manager, no trap destination is set because SNMP Agent's set community name does not match the NNM's default set community name. If you want the netmon process to add SNMP Agent trap destinations automatically using SNMP, make sure that the set community name of SNMP Agent matches the set community name of HP NNM. For details about how to register community names, see 2.7.2 Specifying community names.

If a node is removed from the management target or is deleted from the map, the netmon process of NNM automatically deletes that node from the list of SNMP Agent trap destinations in the configuration file (/etc/SnmpAgent.d/snmpd.conf).

(2) For NNMi and any manager

If you want to set up SNMP Agent to send traps to NNMi and any manager, you must set the trap destinations. You can achieve this by editing SNMP Agent trap destinations in the configuration file (/etc/SnmpAgent.d/snmpd.conf).

The following procedure shows how to set up SNMP Agent to send traps to NNMi and any manager.

Procedure

  1. Search the configuration file (/etc/SnmpAgent.d/snmpd.conf) for the following line:

    #trap-dest:  # enter trap destination

    The #trap-dest: label is located near the end of the file.

  2. Delete the hash mark (#) preceding the trap-dest: label and the comment (consisting of the second hash mark (#) and what follows it).

  3. After the trap-dest: label, enter the host name or IP address of the manager to which SNMP Agent is to send traps.

    Example:

    trap-dest: 15.2.113.223
  4. To add more trap destinations, add as many trap-dest: lines as needed.