Refine your search:

Does anyone have a sample alert script that, once triggered, takes the data set handle passed to it from the Splunk alert, opens up the csv.gz events file, processes the resulting events, and formats and send an snmp message (that includes results, etc) to a monitoring system?

Anything anyone would care to share along these lines would be greatly appreciated.

asked 22 Sep '10, 15:58

maverick's gravatar image

maverick ♦
2.6k6575
accept rate: 14%


One Answer:

I wrote a PHP program that did something very similar. If you know PHP might be a quick hack and smash to pull out what you need. It's posted on splunkbase.

http://www.splunkbase.com/apps/All/4.x/Add-On/app:PHP+Scripted+Alerts

link

answered 24 Sep '10, 03:25

bbingham's gravatar image

bbingham
9767
accept rate: 32%

Post your answer
toggle preview

Follow this question

Log In to enable email subscriptions

RSS:

Answers

Answers + Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×31
×20
×18
×3

Asked: 22 Sep '10, 15:58

Seen: 1,604 times

Last updated: 12 Apr '11, 19:22

Copyright © 2005-2012 Splunk, Inc. All rights reserved.