Alerting

Why is my alert not sending an email and getting error "[Errno 101] Network is unreachable while sending mail to:..."

rmckennon
Engager

So...

I set up an alert for testing, the alert triggers, but splunk is not sending out the email. I can however send an email to myself from the splunk server using the command-line:

ssmpt rmckennon@monetra.com

Running Splunk 6.2.1 on CentOS 7

full message:

07-06-2015 10:40:01.515 -0400 ERROR ScriptRunner - stderr from '/opt/splunk/bin/python /opt/splunk/etc/apps/search/bin/sendemail.py "results_link=http://splunk:8000/app/search/@go?sid=scheduler__admin__search__RMD5dcd2e82a46e9e89f_at_1436193600_1769" "ssname=Failed Login" "graceful=True" "trigger_time=1436193601" results_file="/opt/splunk/var/run/splunk/dispatch/scheduler__admin__search__RMD5dcd2e82a46e9e89f_at_1436193600_1769/results.csv.gz"':  ERROR:root:[Errno 101] Network is unreachable while sending mail to: rmckennon@monetra.com

Am I missing something simple???

Rob.

Tags (2)
0 Karma
1 Solution

martin_mueller
SplunkTrust
SplunkTrust

Make sure you've set your email server to something sensible, Settings -> General Settings -> Email Settings.

View solution in original post

martin_mueller
SplunkTrust
SplunkTrust

Make sure you've set your email server to something sensible, Settings -> General Settings -> Email Settings.

martin_mueller
SplunkTrust
SplunkTrust

Enjoy it while it lasts, even in Splunk it's not always that simple 😄

0 Karma

rmckennon
Engager

Ugh... It was that simple... thanx.

Rob.

Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...