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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...