Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Below is a diagram depicting the process: 

Install Net-SNMP and Perl

  1. Download Net-SNMP from https://sourceforge.net/projects/net-snmp/files/net-snmp%20binaries/5.6.1.1-binaries/net-snmp-5.6.1.1-1.x86.exe/download.
  2. Download Strawberry Perl from http://strawberryperl.com/download/5.20.1.1/strawberry-perl-5.20.1.1-64bit.msi.
  3. Execute the Net-SNMP installer and accept the defaults.
  4. Execute the Strawberry Perl installer and accept the defaults

Create a snmptrapd configuration file and Perl script

  1. Create a new file called snmptrapd.conf in the C:\usr\etc\snmp directory with contents similar to the following. Note that "public" on the first line is the SNMP community string. Feel free to change accordingly, and the path to UIM on the second line should be changed accordingly.
    Code Block
    languagesql
    authCommunity log,execute,net public
    traphandle default C:\Strawberry\perl\bin\perl.exe "C:\Program Files\uptime software\uptime\scripts\snmp- trap-script\trap_to_ext_event.pl"
  2. In the Start menu, select the Net-SNMP folder, right click Register Trap Service and choose Run As Administrator.
  3. Start the "Net-SNMP Trap Handler" service.
  4. Create the directory "C:\Program Files\uptime software\uptime\scripts\snmp-trap-script".
  5. Download and copy this file, trap_to_ext_event.pl, to the directory mentioned in the previous step.

...

There are two logs that are created with this solution, one when traps are received by the Net-SNMP Trap Handler service and another when the trap is sent into Uptime Infrastructure Monitor by the perl script. This helps to narrow down an issue if one arises. 

UIM configuration

Create a new monitor called SNMP Trap and assign it to a service group, so that it can be applied to numerous Elements in UIM.

...