<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Why is an email not being sent when my alert is triggered? in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Why-is-an-email-not-being-sent-when-my-alert-is-triggered/m-p/134430#M2145</link>
    <description>&lt;P&gt;Hi @nitesh218ss&lt;/P&gt;

&lt;P&gt;If your problem is solved, don't forget to accept @NOUMSSI's answer by clicking on "Accept" below their answer.&lt;/P&gt;</description>
    <pubDate>Tue, 14 Apr 2015 17:09:22 GMT</pubDate>
    <dc:creator>ppablo</dc:creator>
    <dc:date>2015-04-14T17:09:22Z</dc:date>
    <item>
      <title>Why is an email not being sent when my alert is triggered?</title>
      <link>https://community.splunk.com/t5/Alerting/Why-is-an-email-not-being-sent-when-my-alert-is-triggered/m-p/134422#M2137</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;I created an alert that is triggered correctly, but the email is not sent by Splunk log i got error &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[Errno 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond while sending mail to: user2@gmail.com
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;or sometimes&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [Errno 11004] getaddrinfo failed while sending mail to:user2@gmail.com 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;My email settings in Server settings » Email settings &lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;alert_action.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[email]
auth_password = password*****i
auth_username = user@gmail.com
mailserver = smtp.gmail.com:587
format = html
use_tls = 0      I changed this to 1 also, but email still wasn't sent
use_ssl = 0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;My alert configuration is:&lt;BR /&gt;
&lt;STRONG&gt;savedsearches.conf file&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[request]
action.email = 1
action.email.priority = 2
action.email.reportServerEnabled = 0
action.email.to = user2@gmail.com
action.email.useNSSubject = 1
alert.severity = 4
alert.suppress = 1
alert.suppress.period = 30s
alert.track = 1
counttype = number of events
cron_schedule = */2 * * * *
description = resuest resive
dispatch.latest_time = now
display.events.fields = ["host","source","sourcetype","Msg"]
display.general.type = statistics
display.page.search.mode = verbose
display.page.search.tab = statistics
enableSched = 1
quantity = 1
relation = greater than
request.ui_dispatch_app = search
request.ui_dispatch_view = search
search = index="newpwm" source="SOCK_20150327_192217.log" Msg=Q*| eval vv=substr(Msg, 7,8) | Table _time Msg vv
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Please help me. For 1 day I've tried many times to use my company domain and port, but it's not working. I want an email sent only when the alert is triggered.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2015 05:19:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Why-is-an-email-not-being-sent-when-my-alert-is-triggered/m-p/134422#M2137</guid>
      <dc:creator>nitesh218</dc:creator>
      <dc:date>2015-04-14T05:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: Why is an email not being sent when my alert is triggered?</title>
      <link>https://community.splunk.com/t5/Alerting/Why-is-an-email-not-being-sent-when-my-alert-is-triggered/m-p/134423#M2138</link>
      <description>&lt;P&gt;Is your splunk instance is installed in the cloud? or  locally? &lt;BR /&gt;
If locally, check  the external exchange server that you use to send emails.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2015 06:58:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Why-is-an-email-not-being-sent-when-my-alert-is-triggered/m-p/134423#M2138</guid>
      <dc:creator>stephanefotso</dc:creator>
      <dc:date>2015-04-14T06:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: Why is an email not being sent when my alert is triggered?</title>
      <link>https://community.splunk.com/t5/Alerting/Why-is-an-email-not-being-sent-when-my-alert-is-triggered/m-p/134424#M2139</link>
      <description>&lt;P&gt;localhost:8000&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2015 07:26:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Why-is-an-email-not-being-sent-when-my-alert-is-triggered/m-p/134424#M2139</guid>
      <dc:creator>nitesh218</dc:creator>
      <dc:date>2015-04-14T07:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Why is an email not being sent when my alert is triggered?</title>
      <link>https://community.splunk.com/t5/Alerting/Why-is-an-email-not-being-sent-when-my-alert-is-triggered/m-p/134425#M2140</link>
      <description>&lt;P&gt;where i get this external exchange server  sir and how i change this&lt;BR /&gt;
please help me&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2015 07:33:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Why-is-an-email-not-being-sent-when-my-alert-is-triggered/m-p/134425#M2140</guid>
      <dc:creator>nitesh218</dc:creator>
      <dc:date>2015-04-14T07:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: Why is an email not being sent when my alert is triggered?</title>
      <link>https://community.splunk.com/t5/Alerting/Why-is-an-email-not-being-sent-when-my-alert-is-triggered/m-p/134426#M2141</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
if your splunk instance is installed locally, it can't send emails because emails are going from one server to anothers.&lt;BR /&gt;
In spite you are connected to internet when you work on your local splunk instance, you are not on a server. So your splunk instance couldn't send email.&lt;BR /&gt;
But if your splunk instance is on the cloud, it'll send emails correctly.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2015 10:04:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Why-is-an-email-not-being-sent-when-my-alert-is-triggered/m-p/134426#M2141</guid>
      <dc:creator>NOUMSSI</dc:creator>
      <dc:date>2015-04-14T10:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: Why is an email not being sent when my alert is triggered?</title>
      <link>https://community.splunk.com/t5/Alerting/Why-is-an-email-not-being-sent-when-my-alert-is-triggered/m-p/134427#M2142</link>
      <description>&lt;P&gt;No, just to say you need to host your splunk instance before, Since you must be in the cloud to access to &lt;STRONG&gt;mail servers&lt;/STRONG&gt;, which allow the  email sending.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2015 12:57:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Why-is-an-email-not-being-sent-when-my-alert-is-triggered/m-p/134427#M2142</guid>
      <dc:creator>stephanefotso</dc:creator>
      <dc:date>2015-04-14T12:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: Why is an email not being sent when my alert is triggered?</title>
      <link>https://community.splunk.com/t5/Alerting/Why-is-an-email-not-being-sent-when-my-alert-is-triggered/m-p/134428#M2143</link>
      <description>&lt;P&gt;thanks for reply sir&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2015 13:14:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Why-is-an-email-not-being-sent-when-my-alert-is-triggered/m-p/134428#M2143</guid>
      <dc:creator>nitesh218ss</dc:creator>
      <dc:date>2015-04-14T13:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: Why is an email not being sent when my alert is triggered?</title>
      <link>https://community.splunk.com/t5/Alerting/Why-is-an-email-not-being-sent-when-my-alert-is-triggered/m-p/134429#M2144</link>
      <description>&lt;P&gt;my company give new mailid is which authorize for sending mail so i use this they sent mail now&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2015 13:15:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Why-is-an-email-not-being-sent-when-my-alert-is-triggered/m-p/134429#M2144</guid>
      <dc:creator>nitesh218ss</dc:creator>
      <dc:date>2015-04-14T13:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: Why is an email not being sent when my alert is triggered?</title>
      <link>https://community.splunk.com/t5/Alerting/Why-is-an-email-not-being-sent-when-my-alert-is-triggered/m-p/134430#M2145</link>
      <description>&lt;P&gt;Hi @nitesh218ss&lt;/P&gt;

&lt;P&gt;If your problem is solved, don't forget to accept @NOUMSSI's answer by clicking on "Accept" below their answer.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2015 17:09:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Why-is-an-email-not-being-sent-when-my-alert-is-triggered/m-p/134430#M2145</guid>
      <dc:creator>ppablo</dc:creator>
      <dc:date>2015-04-14T17:09:22Z</dc:date>
    </item>
  </channel>
</rss>

