Archive

Archive for the ‘Trap Manager’ Category

How To: Send SNMP Traps with OidView

March 2nd, 2009

 

Very often we get asked how to send SNMP Traps with OidView or Trap Manager. There are a couple of different ways.

 

Method 1: Build a trap.

From the SNMP MIB Browser: If the MIB is loaded, you can find the trap in the browser, then right-click on it in the tree and choose “Send SNMP TRAP”. If it is a NOTIFICATION-TYPE then chances are it will ask you for the index values. Then the SNMP Dialog will come up and you can modify the trap accordingly.

From the Trap Manager: Click “Build Trap” on the Navigation Bar. Use the SNMP Dialog to create your custom trap.

Method 2: Simulate using a trap log

Capture some traps with Trap Manager from your device, but make sure the “LOG” button is checked. Then, click “Replay Log” and choose the log that was just written. Point it at any NMS you wish by typing in the IP address in the “Destination Address” dialog box that will pop up.

How To, OidView, SNMP, Trap Manager

How To: Enable Debugging for Trap Manager

October 5th, 2008

Sometimes we will need to get a log file to determine what is going on with Trap Manager. Since this is a windows application, we will need to modify a windows environment variable in order to activate the debugging process. To learn how to create environment variables, please see the “How To” post for environment variables or http://support.microsoft.com/kb/310519

1. Create the following environment variables

In the Environment variables section, create the following SYSTEM variables with the following values:

  BS_DEBUG=ON
  BS_DEBUG_MODULES=1

Remember with Trap Manager you must create SYSTEM variables, not USER because the Trap Manager process runs as a windows service and assumes the system role.

2. Restart the Computer

Remember with Trap Manager that you must restart the computer, so when the service restarts it will be able to come up in debug mode. Only then does it take effect. Now, make the problem happen. At this point, a log should have been created in the OidView main directory, named trapmanager.debug.log.

3. Turn off debugging

To turn off debugging, simply remove the variables that you created or set the values to OFF and 0, respectively.

  BS_DEBUG=OFF
  BS_DEBUG_MODULES=0
 
 
 

How To, OidView, Trap Manager , , ,