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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...