Refine your search:

We moved to a a couple of new indexers, and set up search head pooling. Now all the alerts we had working before do not send an email. The searches show up and you can run them just fine. Also, new searches/alerts that are configure are working just fine, it's only searches that were configured before we moved everything.

asked 09 Apr '12, 10:11

jevenson's gravatar image

jevenson
1414
accept rate: 0%


One Answer:

You should check your scheduler.log to see if the search fired an alert_action, and if it did, what python.log says happened with the specific alert action that was triggered. Both of those logs are in $SPLUNK_HOME/var/log/splunk/. If you see that python says it is sending the email and you aren't getting errors back in the logs, then the problem is likely with your mail server. At that point you should probably do a tcpdump to see what the conversation with the mail server tells you about the situation.

link

answered 09 Apr '12, 14:19

jbsplunk's gravatar image

jbsplunk ♦
10.6k1625
accept rate: 48%

edited 10 Apr '12, 08:01

I'm seeing jobs run in scheduler.log that have an alert_actions="email", and in python.log it says that an email was sent, but those emails are rarely actually going though. New alerts seem to work 100% of the time though.

(10 Apr '12, 06:57) jevenson

Check tcpdump, if Splunk got an error from your mailserver, it would be in the log. Since you didn't mention that, this is likely a problem with the mailserver.

(10 Apr '12, 08:01) jbsplunk ♦
1

here is an example of running the tcpdump command looking for outbound emails on port:25/tcp

tcpdump -s0 -xX port 25

(10 Apr '12, 10:46) Chubbybunny
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:

×247
×49

Asked: 09 Apr '12, 10:11

Seen: 554 times

Last updated: 10 Apr '12, 10:47

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