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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...