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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Build the Future of Agentic AI: Join the Splunk Agentic Ops Hackathon

AI is changing how teams investigate incidents, detect threats, automate workflows, and build intelligent ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...