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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...