Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell NetWorker 19.9 Administration Guide

Receive SNMP v3 traps on Linux

To receive SNMP traps on Linux, perform the following:

Install the following packages:
  • net-snmp-agent-libs
  • net-snmp-libs
  • net-snmp
  1. Copy the MIB file for NetWorker from the following paths to the Linux trap receiver directory (/usr/share/snmp/mibs).
    • Linux NetWorker server: /opt/nsr/snmp
    • Windows NetWorker server: C:\Program Files\EMC NetWorker\nsr\snmp
  2. Provide the following information on the NMC > NetWorker admin console > NetWorker server properties > Security tab :
    • Username
    • Engine ID
    • Authentication Protocol
    • Authentication Key
    • Privacy Protocol
    • Privacy Key
    NOTE:The above information should be the same as provided under snmptrapd.conf file on the Linux Trap Receiver (mentioned in step 3).
  3. Follow these steps on Linux trap receiver:
    1. Stop snmptrapd.
    2. Add the createUser -e <Engineid> <SNMPv3 username> <MD5/SHA> <password for authentication protocol> <AES/DES> <password for private protocol> authuser log <SNMPv3 username> to the snmptrapd.conf file.
      NOTE:
      • EngineID should be a hexadecimal number from 10 to 64 characters.
      • Username can have a maximum of up to 32 characters.
      • Length of the passwords for both authentication protocol and private protocol should be in between 8-32 characters.
      For example:
      createUser -e 8000000001020304 myuser MD5 mypassword123 DES mypassword123
      authuser log myuser
    3. Start snmptrapd.
  4. To receive SNMP v3 traps for backup and clone action, specify the SNMP notification command only at policy level on the NetWorker server:
    • For Linux: /usr/sbin/nsrtrap <IP address of trap receiver> -i 3
    • For Windows: “C:\Program Files\EMC NetWorker\nsr\bin\nsrtrap.exe” <IP address of trap receiver> -i 3
  5. On the Linux trap receiver, execute the snmptrapd -f -C -c ./snmptrapd.conf -Le -M /usr/share/snmp/mibs -m NETWORKER-MIB commands to receive SNMP traps. If you are using putty to capture the session output for SNMP traps, perform the following:
    1. Launch PuTTY.exe. .
    2. Navigate to Session > Logging > All session output to capture the SNMP traps in a log file.
    3. Type the snmptrapd -f -C -c ./snmptrapd.conf -Le -M /usr/ share/snmp/ mibs -m NETWORKER-MIB command.
    NOTE:To save the SNMP traps log file to a predefined location use the nohup snmptrapd -f -C -c ./snmptrapd.conf -Lf /var/log/ snmptrap.log -M /usr/share/snmp/mibs -m NETWORKER-MIB & command. The nohup option ensures that the command runs even after the session is terminated. Use & to run the command in the background.
  6. Initiate the policy or workflow on the NetWorker server to view the traps on the Linux trap receiver.
    NOTE:In case of IPv6 addresses, provide the snmptrapd -f -C -c /etc/snmp/snmptrapd.conf -Leo udp6:162 -m /usr/share/snmp/mibs/NETWORKER-MIB.txt parameter to receive the SNMP traps in Linux trap receiver.

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\