<?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: Alert email not being sent in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/Alert-email-not-being-sent/m-p/121738#M2707</link>
    <description>&lt;P&gt;Not my question but I'm getting&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;ERROR    sendemail:114 - Sending email&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;Any idea whats that about ? no other messages are being generated. &lt;/P&gt;</description>
    <pubDate>Tue, 23 Jun 2015 14:21:04 GMT</pubDate>
    <dc:creator>DavidHourani</dc:creator>
    <dc:date>2015-06-23T14:21:04Z</dc:date>
    <item>
      <title>Alert email not being sent</title>
      <link>https://community.splunk.com/t5/Reporting/Alert-email-not-being-sent/m-p/121733#M2702</link>
      <description>&lt;P&gt;In 6.2.2 we are not seeing email alerts being sent out.&lt;/P&gt;

&lt;P&gt;Searching the logs I see:&lt;/P&gt;

&lt;P&gt;ERROR   sendemail:348 - 'NoneType' object has no attribute 'find' while sending mail to: &lt;A href="mailto:email@abc.com"&gt;email@abc.com&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;ERROR   sendemail:112 - Sending email. subject="blah blah"&lt;/P&gt;

&lt;P&gt;Any suggestions?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2015 13:41:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Alert-email-not-being-sent/m-p/121733#M2702</guid>
      <dc:creator>rmorlen</dc:creator>
      <dc:date>2015-04-02T13:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: Alert email not being sent</title>
      <link>https://community.splunk.com/t5/Reporting/Alert-email-not-being-sent/m-p/121734#M2703</link>
      <description>&lt;P&gt;The first error is a common python error.  the script that sends the email for an alert is written in python.&lt;/P&gt;

&lt;P&gt;Looking at v 6.2.2 of this script, this error is emitted when the script tries to transmit the email.  There should be another error message immediately before the one shown in that same index.&lt;/P&gt;

&lt;P&gt;You can also consult the file - $SPLUNK_HOME/var/log/splunk/python.log&lt;BR /&gt;
This will show INFO and ERROR messages emitted by the email script.  It will likely yield further clues.&lt;/P&gt;

&lt;P&gt;Inspect your mail server configuration under Settings-&amp;gt;Server Settings-&amp;gt;Email Settings&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2015 15:05:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Alert-email-not-being-sent/m-p/121734#M2703</guid>
      <dc:creator>jnicholsenernoc</dc:creator>
      <dc:date>2015-04-02T15:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: Alert email not being sent</title>
      <link>https://community.splunk.com/t5/Reporting/Alert-email-not-being-sent/m-p/121735#M2704</link>
      <description>&lt;P&gt;email settings are the default settings.  It seems to have stopped working on Monday (looking at the error counts).  Not sure why it stopped working all of a sudden.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2015 16:41:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Alert-email-not-being-sent/m-p/121735#M2704</guid>
      <dc:creator>rmorlen</dc:creator>
      <dc:date>2015-04-02T16:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: Alert email not being sent</title>
      <link>https://community.splunk.com/t5/Reporting/Alert-email-not-being-sent/m-p/121736#M2705</link>
      <description>&lt;P&gt;Hello, have you found a solution to this problem ? &lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2015 14:02:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Alert-email-not-being-sent/m-p/121736#M2705</guid>
      <dc:creator>DavidHourani</dc:creator>
      <dc:date>2015-06-23T14:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: Alert email not being sent</title>
      <link>https://community.splunk.com/t5/Reporting/Alert-email-not-being-sent/m-p/121737#M2706</link>
      <description>&lt;P&gt;You can also consult the python log file by looking for this source in the internal index- $SPLUNK_HOME/var/log/splunk/python.log&lt;/P&gt;

&lt;P&gt;This will show INFO and ERROR messages emitted by the email script and may show more information for troubleshooting.  There can be a number of root causes, like SMTP be down, queued, etc related to sending mail.  You need to look at the log and see.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2015 14:09:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Alert-email-not-being-sent/m-p/121737#M2706</guid>
      <dc:creator>jnicholsenernoc</dc:creator>
      <dc:date>2015-06-23T14:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: Alert email not being sent</title>
      <link>https://community.splunk.com/t5/Reporting/Alert-email-not-being-sent/m-p/121738#M2707</link>
      <description>&lt;P&gt;Not my question but I'm getting&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;ERROR    sendemail:114 - Sending email&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;Any idea whats that about ? no other messages are being generated. &lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2015 14:21:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Alert-email-not-being-sent/m-p/121738#M2707</guid>
      <dc:creator>DavidHourani</dc:creator>
      <dc:date>2015-06-23T14:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: Alert email not being sent</title>
      <link>https://community.splunk.com/t5/Reporting/Alert-email-not-being-sent/m-p/121739#M2708</link>
      <description>&lt;P&gt;Usually it is some problem with sendmail.&lt;/P&gt;

&lt;P&gt;Did you check the python.log source too, usually that does yield other clues, like this one showing diskspace being exhausted:&lt;/P&gt;

&lt;P&gt;/opt/splunk/var/log/splunk/python.log.1:2014-06-19 17:41:10,702 -0400 ERROR     sendemail:112 - Sending email. subject&lt;/P&gt;

&lt;P&gt;/opt/splunk/var/log/splunk/python.log.1:2014-06-19 17:41:10,702 -0400 ERROR     sendemail:348 - (452, '4.4.5 Insufficient disk space; try again later', u'&lt;A href="mailto:splunk@splunk-search-head-2.x.x.x"&gt;splunk@splunk-search-head-2.x.x.x&lt;/A&gt;') while sending mail to: &lt;A href="mailto:x@x.com"&gt;x@x.com&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;If that doesn't show anything, the next troubleshooting step is to run sendmail from the command line as the splunk user:   /usr/sbin/sendmail -f &lt;A href="mailto:testfrom@yourdomain.com"&gt;testfrom@yourdomain.com&lt;/A&gt; &lt;A href="mailto:testfto@yourdomain.com"&gt;testfto@yourdomain.com&lt;/A&gt; &lt;/P&gt;

&lt;P&gt;This will show any possible errors.  If you are in linux, you can also check /var/log/maillog&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2015 16:57:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Alert-email-not-being-sent/m-p/121739#M2708</guid>
      <dc:creator>jnicholsenernoc</dc:creator>
      <dc:date>2015-06-23T16:57:37Z</dc:date>
    </item>
  </channel>
</rss>

