icon/x Created with Sketch.

Splunk Cookie Policy

We use our own and third-party cookies to provide you with a great online experience. We also use these cookies to improve our products and services, support our marketing campaigns, and advertise to you on our website and other websites. Some cookies may continue to collect information after you have left our website. Learn more (including how to update your settings) here.
Accept Cookie Policy

Accept License Agreements

This app is provided by a third party and your right to use the app is in accordance with the license provided by that third-party licensor. Splunk is not responsible for any third-party apps and does not provide any warranty or support. If you have any questions, complaints or claims with respect to this app, please contact the licensor directly.

Thank You

Downloading SNMP Splunk MA App for Netcool
SHA256 checksum (snmp-splunk-ma-app-for-netcool_30.tgz) 04414f01d83cb4dba94f3c32e39f65a194fa9eeb9136da4f6b5997e086809af8 SHA256 checksum (snmp-splunk-ma-app-for-netcool_20.tgz) 0e3047d690d4f98cce580543639ff23c3d0636815a15a4d553b44743629162b8 SHA256 checksum (snmp-splunk-ma-app-for-netcool_10.tgz) 351a0171b3cf01b99238e115429065f4d63e0a5cd9a92aa98428357d4ef585fa
To install your download
For instructions specific to your download, click the Details tab after closing this window.

Flag As Inappropriate

SNMP Splunk MA App for Netcool

Admins: Please read about Splunk Enterprise 8.0 and the Python 2.7 end-of-life changes and impact on apps and upgradeshere.
Overview
Details
The Splunk SNMP Modular Alert App is designed to have custom alerts sent as SNMP Traps from Splunk to the Netcool Application using Splunk variables. This app can also send traps to any SNMP Trap receiving device.

V3.0 fixes the issue around community field being interpreted in the traps.

Configuration

To use this add-on, manually configure the Splunk Alert with the following properties

1. Configure the search for the alert
2. List the alert to "Add to Triggered Alerts"
3. List another alert action to include "Netcool Custom Modular Alert"
    1. Server IP : Specify the SNMP Server IP Address and Port numbers as per the below format
        "IP_Address_1:Port_Number_1;IP_Address_2:Port_Number_2"
    2. Community : Specify the SNMP Community, Ex : Public
    3. Host Name : Specify the host field from Splunk search like $result.splunk_field_name$. Note that 
        any field listed here must be part of the result from the search powering the alert.
    4. Custom Text : Specify any text you would like to send over in the trap.
    5. Alert Message : Use $result.splunk_field_name$ to pass in fields from Splunk search to create your 
       custom Alert Message
    6. Severity : Specify severity as a value from 0-5 / Specify type in the text $result.splunk_field_name$ to
       pass in the field name from Splunk Search
        0 : Clear; 1 : Intermediate; 2 : Warning; 3 : Minor; 4 : Major; 5 : Critical
    7. Escalation : Specify the escalation parameter as the group to which you'd like to send the trap to
    8. Alert Key : Specify a Unique Alert Key. Can be a combination of fields from splunk search. Reference the
       fields as $result.splunk_field_name$
    9. Enterprise OID : This is unique to the company that uses the Netcool Tool. This field can be used to
       enter the Enterprise Specific OID to send netcool traps.
    10. Specific OID : This field combined with the Enterprise OID forms the unique identifier to send in the
        traps over SNMP. 
    11. Specific Trap ID : This field combined with the Enterprise OID forms part of the message delivered to
        Netcool sent over SNMP.

=== Netcool Configuration File ===
On the netcool end, please configure in the below format:
case ".1.2.3.4.5.6.7.8":
switch($specific-trap) { //In the Sample Alert Configuration, the $specific-trap matches the value entered in Specific Trap ID, i.e, 10.
case "0": ###-Splunk Alert
$hostname = $1
$customtext = $2
$alertkey = $3
$alertmessage = $4
$splunkapp = $5 //This is the app in which the alert was setup
$severity = $6
$escalation = $7
$splunksearch = $8 //This is the name of the alert that was setup to send SNMP Traps in Splunk

=== Sample Alert Configuration ===

Search : sourcetype=pan:traffic| top limit=20 bytes, host, user, _time
List in Triggered Alerts : Enabled
Alert type : Real Time
Alert Mode : Once Per Result
Trigger Actions : Add to Triggered Alerts ; Severity : High
Trigger Actions : Netcool Custom Modular Alert
    Server IP : 172.16.235.129:10162;192.168.0.18:10152
    Community : public
    Host Name : $result.host$
    Custom Text : $result.host$ is the custom Text
    Alert Message : $result.host$ is the alert Message
    Severity : 0
    Escalation : Linux Admins
    Alert Key : UniqueKey
    Enterprise OID : 1.2.3.4.5.6.7.8
    Specific OID : 9
    Specific Trap ID : 10

Once the above alert has been configured, I had installed PRTG Monitor on my windows machines (IP : 172.16.235.129 and 192.168.0.18) to view the traps on their specific ports. A sensor probe called SNMP Trap Monitor was configured to listen in on my MAC IP Address for SNMP Traps. As soon as alerts start to trigger, the traps collect on the PRTG Monitor Message board.

Here is a quick way to find out if your traps are being sent and a single point view to the errors:

  1. While setting up your alert, make sure to “Add to Triggered Alerts”, for testing purposes.
  2. As soon as you see events coming in the Triggered Alerts page, put in this search string in your search bar : index=_internal source="*/log/splunk/netcool_custom_modular_alert.log"
  3. Select “Last 5 minutes” as your time range. This will give you the most recent logs.
  4. An ideal log would show you your trap.
  5. Error events from here would help you get to debugging the actual issue faster.

Release Notes

Version 3.0
April 4, 2019

Version 2.0
July 10, 2017

Version 1.0
May 26, 2017

53
Installs
569
Downloads
Share Subscribe LOGIN TO DOWNLOAD

Subscribe Share

AppInspect Tooling

Splunk AppInspect evaluates Splunk apps against a set of Splunk-defined criteria to assess the validity and security of an app package and components.

Are you a developer?

As a Splunkbase app developer, you will have access to all Splunk development resources and receive a 10GB license to build an app that will help solve use cases for customers all over the world. Splunkbase has 1000+ apps and add-ons from Splunk, our partners and our community. Find an app or add-on for most any data source and user need, or simply create your own with help from our developer portal.

Follow Us:
© 2005-2019 Splunk Inc. All rights reserved.
Splunk®, Splunk>®, Listen to Your Data®, The Engine for Machine Data®, Hunk®, Splunk Cloud™, Splunk Light™, SPL™ and Splunk MINT™ are trademarks and registered trademarks of Splunk Inc. in the United States and other countries. All other brand names, product names, or trademarks belong to their respective owners.