Monitoring SNMP Traps and Variables

Monitoring SNMP Traps and Variables

March 5th, 2021

Hello this is Mike Janulaitis founder of Corner Bowl Software. In this article I am going to show you the SNMP features in Corner Bowl Event Log Manager 2024.

Table of Contents

Overview

If you are not familiar with SNMP, devices such as switches and other network hardware provide device information, status and critical alerts through SNMP. Device information and status is retrieved through SNMP Gets while critical alerts are fired as SNMP Traps. Corner Bowl Event Log Manager enables you to create and assign filters to SNMP Get Monitors so you can get alerted when a variable is set to a specific value or exceeds a threshold. Corner Bowl Event Log Manager also includes an SNMP Trap Server enabling you receive both local and remote SNMP Traps for both consolidation and notification. Finally, using Microsoft's built-in SNMP service, templates can be configured to trigger an SNMP Trap when the template triggers, errors or recovers.

Licensing

To access the SNMP functionality within Corner Bowl Event Log Manager you will need either a Corner Bowl Server Manager license or a Corner Bowl Internet Server Monitor license.

Configuring Microsoft's SNMP Service

Ok let's get started. The first step is to install and configure Microsoft's SNMP Service.

  1. On Windows 10 Workstation go to Apps & Features, select Optional Features then Add a feature.
  2. Type SNMP then select Simple Network Management Protocol.
  3. Once installed SNMP will be displayed in your Optional features.
    Windows SNMP Feature
    Windows SNMP Feature
  4. Next, open the services control panel.
  5. From the Services Control Panel double-click on SNMP Service.
  6. Select the Agent tab, then verify Physical and Applications are checked.
  7. Select the Traps tab then under Community Names add public with a trap destination of 127.0.0.1.
    Windows SNMP Service Traps Configuration
    Windows SNMP Service Traps Configuration
  8. Select the Security tab, then add the public community with read access. Next check the option to Accept SNMP packets from any host.
    Windows SNMP Service Security Configuration
    Windows SNMP Service Security Configuration
  9. This configuration enables Corner Bowl to send and receive traps generated from local SNMP agents.

Configuring an SNMP device

Next verify the service is configured and running as expected.

  1. From the Corner Bowl Console select File New Computers Devices and Endpoints
  2. Specify the IP address of the target device. For this tutorial I'm using my localhost so the host has already been added. If I right click on my localhost and select Host Properties the Host Properties view displays.
  3. Select the SNMP tab.
  4. Check Enabled then click the Test button.
  5. If the SNMP Service was configured correctly, the Verbose Output should show the processor detail.
    SNMP Device Configuration
    SNMP Device Configuration

Browsing the SNMP Variable Tree

  1. From the Explorer view locate your target SNMP device, right click and select Host Properties.
  2. Select the SNMP tab then, if not already enabled, enable SNMP.
  3. Click the SNMP Browser Button. The SNMP Browser displays and the tree is walked to the first returned value.
  4. You can use this view to navigate to target variables for SNMP Get Monitoring.
  5. To walk the SNMP tree, select the target variable then click the Walk button.
    SNMP Browser
    SNMP Browser

SNMP Trap Retention

  1. From the Explorer view expand the SNMP Trap Server node then select SNMP Trap Server Properties.
  2. The SNMP Trap Server Properties view displays.
  3. By default traps received from any host are automatically saved using the pre-installed SNMP Trap Consolidation template. Use this template to configure the SNMP Trap retention policy.
  4. If you do not want to save traps from all sources, you can instead manually assign the SNMP Trap Consolidation template to each target host and device.
  5. By default each host that sends traps are looked up in DNS so traps can be saved using the hostname rather than the IP. If DNS has no hostname associated with the IP address the traps are saved using the IP address.
  6. Use the Object Identifier Aliases list to associate friendly names to OID values.
  7. Use the Communities list to add the communities you would like to listen for.
  8. Save any changes before continuing.
    SNMP Trap Retention Configuration
    SNMP Trap Retention Configuration
  9. From the Explorer view select SNMP Trap Viewer.
  10. The real-time SNMP Trap viewer displays.
  11. Event Log Manager includes an SNMP Trap action so that's what we are going to use to test the traps. From the Explorer view expand Actions / SNMP Traps then right click on SNMP Trap and select Send test SNMP Trap.
  12. Back in the Real-Time SNMP Trap viewer and you should see the SNMP Trap with a trap name of Corner Bowl Software, variable name of Trigger Message and value of Test message.
    Real-Time SNMP Trap Viewer
    Real-Time SNMP Trap Viewer
  13. To view the SNMP Trap history, from the Explorer view expand Data Providers / Primary Log Repository then expand the localhost name.
  14. If the trap was properly saved you should see an SNMP Traps node.
  15. Right click on the node and select View.
  16. The Select Log View Options dialog displays. You have the option to apply a display filter, page traps by the number of traps or days and finally you can auto-advance to a specific date.
  17. The Consolidated SNMP Trap Viewer or history viewer displays and you should see the trap that you just fired.
    SNMP Trap History Viewer
    SNMP Trap History Viewer

Wrap-up

And that's SNMP with Corner Bowl. Thank you for reading I hope this has helped you better understand the SNMP capabilities of Corner Bowl Software.

Last Updated: March 5th, 2021