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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

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