<?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: email alert problem in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/email-alert-problem/m-p/93977#M1345</link>
    <description>&lt;P&gt;Thanks for the reply, the problem was with the email server on the host.&lt;/P&gt;</description>
    <pubDate>Thu, 12 Jul 2012 18:50:41 GMT</pubDate>
    <dc:creator>parth_jec</dc:creator>
    <dc:date>2012-07-12T18:50:41Z</dc:date>
    <item>
      <title>email alert problem</title>
      <link>https://community.splunk.com/t5/Alerting/email-alert-problem/m-p/93975#M1343</link>
      <description>&lt;P&gt;Hi, &lt;BR /&gt;
I have installed splunk indexer v4.3.1-3 and configured email alert. I can see the alert being triggered in the alert manager but didn't recieve the email (double checked the email provided in alert config). I can see following errors/warnings in logs:&lt;/P&gt;

&lt;P&gt;-splunkd.log-&lt;BR /&gt;
07-09-2012 15:15:44.475 -0400 ERROR SearchResults - Unable to open output file: path=/apps/splunk/var/run/splunk/dispatch/scheduler_&lt;EM&gt;admin&lt;/EM&gt;_search_SGVhcnRiZWF0IEZvdW5k_at_1341861060_390fb9622c8aadd9/per_result_alert/tmp_238.csv.gz.tmp error=No such file or directory&lt;/P&gt;

&lt;P&gt;-scheduler.log-&lt;BR /&gt;
07-09-2012 15:14:15.702 -0400 WARN  SavedSplunker - Reached maximum number of per-result alerts for savedsearch_id="admin;search;Heartbeat Found", sid="scheduler_&lt;EM&gt;admin&lt;/EM&gt;&lt;EM&gt;search_SGVhcnRiZWF0IEZvdW5k_at_1341860940_a5a1bb207ef39a5f", limit=500&lt;BR /&gt;
07-09-2012 15:14:16.932 -0400 INFO  SavedSplunker - savedsearch_id="admin;search;Heartbeat Found", user="admin", app="search", savedsearch_name="Heartbeat Found", status=success, digest_mode=0, scheduled_time=1341860940, dispatch_time=1341860946, run_time=2.482, result_count=48931, alert_actions="email", sid="scheduler&lt;/EM&gt;&lt;EM&gt;admin&lt;/EM&gt;_search_SGVhcnRiZWF0IEZvdW5k_at_1341860940_a5a1bb207ef39a5f", suppressed=0, fired=500, skipped=48431, action_time_ms=308360, thread_id="AlertNotifierWorker-14"&lt;/P&gt;

&lt;P&gt;-python.log-&lt;BR /&gt;
2012-07-09 15:17:34,085 ERROR Could not get job status for searchId=scheduler_&lt;EM&gt;admin&lt;/EM&gt;&lt;EM&gt;search_SGVhcnRiZWF0IEZvdW5k_at_1341861060_390fb9622c8aadd9, Error: [HTTP 404] &lt;A href="https://127.0.0.1:8089/services/search/jobs/scheduler" target="_blank"&gt;https://127.0.0.1:8089/services/search/jobs/scheduler&lt;/A&gt;&lt;/EM&gt;&lt;EM&gt;admin&lt;/EM&gt;_search_SGVhcnRiZWF0IEZvdW5k_at_1341861060_390fb9622c8aadd9?message_level=warn&lt;/P&gt;

&lt;P&gt;I cannot identify the issue after looking at the logs. Can someone pls guide me ?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:02:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/email-alert-problem/m-p/93975#M1343</guid>
      <dc:creator>parth_jec</dc:creator>
      <dc:date>2020-09-28T12:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: email alert problem</title>
      <link>https://community.splunk.com/t5/Alerting/email-alert-problem/m-p/93976#M1344</link>
      <description>&lt;P&gt;Maybe the search return too many events for the script.&lt;BR /&gt;
"&lt;STRONG&gt;Reached maximum number of per-result alerts&lt;/STRONG&gt;"&lt;/P&gt;

&lt;P&gt;Please try with a different search that return the count of errors instead of the raw events.&lt;BR /&gt;
instead of&lt;BR /&gt;
&lt;PRE&gt;&lt;BR /&gt;
source=mysource sourcetype=mysourcetype ERRORKEYWORD&lt;BR /&gt;
&lt;/PRE&gt; &lt;BR /&gt;
condition : number of results &amp;gt; 0 &lt;/P&gt;

&lt;PRE&gt;
source=mysource sourcetype=mysourcetype ERRORKEYWORD| stats count by host
&lt;/PRE&gt; 

&lt;P&gt;and alert on number of results &amp;gt; 0 (means at least one host has one error&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jul 2012 23:21:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/email-alert-problem/m-p/93976#M1344</guid>
      <dc:creator>mataharry</dc:creator>
      <dc:date>2012-07-09T23:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: email alert problem</title>
      <link>https://community.splunk.com/t5/Alerting/email-alert-problem/m-p/93977#M1345</link>
      <description>&lt;P&gt;Thanks for the reply, the problem was with the email server on the host.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jul 2012 18:50:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/email-alert-problem/m-p/93977#M1345</guid>
      <dc:creator>parth_jec</dc:creator>
      <dc:date>2012-07-12T18:50:41Z</dc:date>
    </item>
  </channel>
</rss>

