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 v2c traps on Linux

To receive SNMP v2c 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 located at the following location to the Linux trap receiver folder (/usr/share/snmp/mibs):
    • Linux NetWorker server: /opt/nsr/snmp
    • Windows NetWorker server: C:\Program Files\EMC NetWorker\nsr\snmp
  2. Add the following to the snmptrapd.conf file:
    authCommunity log,execute,net public
  3. On the NetWorker server, specify the SNMP notification command at the policy and action levels:
    • For Linux: /usr/sbin/nsrtrap <IP address of the Linux Trap Receiver>
    • For Windows: “C:\Program Files\EMC NetWorker\nsr\bin\nsrtrap.exe” <IP address of the Windows Trap Receiver>
  4. On the Linux trap receiver, execute the following commands to receive SNMP traps:
    snmptrapd -f -C -c ./snmptrapd.conf -Le -M /usr/share/snmp/mibs -m NETWORKER-MIB
  5. Initiate the policy or workflow on the NetWorker server to view the traps.

Using PuTTY to capture the session output for SNMP traps

If you are using PuTTY to capture the session output for SNMP traps, do 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 following command:

    snmptrapd -f -C -c ./snmptrapd.conf -Le -M /usr/ share/snmp/mibs -m NETWORKER-MIB

To save the SNMP traps log file to a predefined location, type the following command:

nohup snmptrapd -f -C -c ./snmptrapd.conf -Lf /var/log/snmptrap.log -M /usr/share/snmp/mibs -m NETWORKER-MIB &

The nohup option ensures that the command runs even after the session is terminated. Use & to run the command in the background.


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: <>()\