NetWorker: How to configure NetWorker for using SNMP

Summary: How to configure NetWorker server to leverage SNMP trap

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

1. make sure following packages are installed on the SNMP traps receiver server.
  • net-snmp-agent-libs
  • net-snmp-libs
  • net-snmp
2. Copy NetWorker mib file to SNMP folder
/opt/nsr/snmp/NETWORKER-MIB.txt 
 
3. On the SNMP receiver host, add a line below with above info into /etc/snmp/snmptrapd.conf 
root@networker-mc:~# cat /etc/snmp/snmptrapd.conf
# Example configuration file for snmptrapd
#
# No traps are handled by default, you must edit this file!
#
authCommunity   log,execute,net public

For SNMPv3 see: NetWorker SNMPV3 Configuration


5. Start snmptrapd on the SNMP receiver host:

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


6. Configure NetWorker job to send SNMP trap

Note;

  • Backup configuration on action level only supports SNMPv2
  • Backup configuration on policy level supports both SNMPv2 and v3

For SNMP v2: /usr/sbin/nsrtrap <snmp receiver IP> -c community-string
image.png


7. you can also configure "SNMP Notification request" from Server tab on NMC. Please check the Manual attached.

8. you can tail the log /var/log/snmptrap.log to see if SNMP is sent for jobs.

root@networker-mc:~# tail -n 71 /var/log/snmptrap.log
2024-03-05 13:02:58 networker-mc.emclab.local [UDP: [192.168.25.10]:58200->[192.168.25.10]:162]:
SNMPv2-SMI::mib-2.1.3.0 = Timeticks: (301267624) 34 days, 20:51:16.24   SNMPv2-SMI::snmpModules.1.1.4.1.0 = OID: NETWORKER-MIB::nwServerNotification    SNMPv2-SMI::mib-2.1.1.0 = STRING: "--- Server Backup Action Report ---
Policy name:Server Protection
Workflow name:Server backup
Action name:Server db backup
Action status:succeeded
Action start time:03/05/24 13:02:33
Action duration:0 hours 0 minutes 25 seconds
--- Successful Server Backup Save Sets ---
        3353828926/1709661758 networker-mc.emclab.local: index:networker-mc.emclab.local level=1, 53 MB, 62 files
        ...(removed for brevity)...
        3152502350/1709661774 networker-mc.emclab.local: bootstrap level=full, 9668 KB, 294 files
--- Bootstrap backup report ---
      date     time       ssid        volume            device                      access info
  02/05/2024 10:00:24 AM  3485530120  ddveBootstrap.002 ddve.emclab.local_Bootstrap ddve.emclab.local:/networker-mc/Bootstrap
...(removed for brevity)...
  03/05/2024 01:02:54 PM  3152502350  ddveBootstrap.002 ddve.emclab.local_Bootstrap ddve.emclab.local:/networker-mc/Bootstrap
--- Failed Server Backup Save Sets ---
        none"
2024-03-05 13:02:59 networker-mc.emclab.local [UDP: [192.168.25.10]:45415->[192.168.25.10]:162]:
SNMPv2-SMI::mib-2.1.3.0 = Timeticks: (301267768) 34 days, 20:51:17.68   SNMPv2-SMI::snmpModules.1.1.4.1.0 = OID: NETWORKER-MIB::nwServerNotification    SNMPv2-SMI::mib-2.1.1.0 = STRING: "---Summary notification report---
Policy name:Server Protection
        Workflow name:Server backup, Workflow status:succeeded, Workflow start time:03/05/24 13:02:32, Duration:0 hours 0 minutes 27 seconds
                Action name:Server db backup, Action status:succeeded, Action start time:03/05/24 13:02:33, Duration:0 hours 0 minutes 25 seconds
                Action name:Expiration, Action status:succeeded, Action start time:03/05/24 13:02:58, Duration:0 hours 0 minutes 1 seconds"
root@networker-mc:~#

Additional Information

Additional information regarding SNMP traps can be found in the NetWorker Administration Guide: https://www.dell.com/support/home/product-support/product/networker/docs

Affected Products

NetWorker Family
Article Properties
Article Number: 000204267
Article Type: How To
Last Modified: 05 Mar 2024
Version:  2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.