Alerting

email alerts not working

sprimerib
New Member

I made sure my server email settings look right, but when trying to test the email function with:

source="/var/log/messages" host="devrep" |head 5 | sendemail to="" sendresults=true

I get:

command="sendemail", [Errno -2] Name or service not known while sending mail to:

(form is stripping my email addr btw)

Any idears?

Tags (1)
0 Karma

sprimerib
New Member

okay, so my mail server was wrong. 🙂
I updated it and the command succeeds, but I still don't receive an email. Is there a log file I can look to for hints on this?

0 Karma

sprimerib
New Member

got it. once the email server (and my local outlook rules) were updated, it works. sorry for the false alarm. 🙂

0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Updates (ESCU) - New Releases

In the last month, the Splunk Threat Research Team (STRT) has had 3 releases of new content via the Enterprise ...

Thought Leaders are Validating Your Hard Work and Training Rigor

As a Splunk enthusiast and member of the Splunk Community, you are one of thousands who recognize the value of ...

.conf23 Registration is Now Open!

Time to toss the .conf-etti 🎉 —  .conf23 registration is open!   Join us in Las Vegas July 17-20 for ...