Getting Data In

SMTP Exchange 2007 Alert Setup

yrosario
Engager

We would like more information on how to setup splunk alert emails with smtp exchange 2007. If there are any suggestions or any setup steps it is most appreciated.

Tags (2)
0 Karma

ahall_splunk
Splunk Employee
Splunk Employee

This is my general methodology:

Set up the alert so that it fires to the Alert Monitor - this is wholly within Splunk, so it will tell you whether your search is correct and the alert mechanism is working properly. Once you have the alert firing, only then enable your email connection.

The email connection is done by setting Manager -> System Settings -> Email Alert Settings. It's an SMTP server. The best method of testing this is by using telnet to port 25. In many organizations, you will also need to configure the SMTP server to allow connections via SMTP from the Splunk server. By testing the connectivity outside of Splunk, you ensure you have the settings correct.

Finally, check the logs. do a search index=_internal and look for errors related to email. You will generally see the server name or email address you entered in the error message. This will enable you to narrow down the specific reason that email is failing. Things that have a 550 code in them are produced by the email server (not Splunk) and generally indicate a configuration problem.

yrosario
Engager

Any kind of situation is fine, the problem is that we cannot get the email to go out when there is a alert triggered.

0 Karma

ahall_splunk
Splunk Employee
Splunk Employee

What exactly do you want to alert on?

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...