<?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 Setup if Splunk is down in Production in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Email-Alert-Setup-if-Splunk-is-down-in-Production/m-p/104004#M1480</link>
    <description>&lt;P&gt;those have to used in a script that will check the result&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;this status command will show you if splunk is running&lt;/LI&gt;
&lt;LI&gt;and the search will show you is events from the last 5 minutes are searchable.&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;If you want to check if the process is running, then you need a ps script or a monitor. please contact your system administrator, this is his job.&lt;/P&gt;</description>
    <pubDate>Tue, 26 Feb 2013 02:32:41 GMT</pubDate>
    <dc:creator>yannK</dc:creator>
    <dc:date>2013-02-26T02:32:41Z</dc:date>
    <item>
      <title>Email Alert Setup if Splunk is down in Production</title>
      <link>https://community.splunk.com/t5/Alerting/Email-Alert-Setup-if-Splunk-is-down-in-Production/m-p/104001#M1477</link>
      <description>&lt;P&gt;Anybody can suggest how to setup email alerts if Splunk service is down. I am trying to configure alerts in a way so we get email alert if service is down. &lt;/P&gt;

&lt;P&gt;Any sort of help will be appreciated. &lt;/P&gt;

&lt;P&gt;Thanks&lt;BR /&gt;
Nik&lt;/P&gt;</description>
      <pubDate>Fri, 26 Oct 2012 15:09:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Email-Alert-Setup-if-Splunk-is-down-in-Production/m-p/104001#M1477</guid>
      <dc:creator>nikhilagrawal</dc:creator>
      <dc:date>2012-10-26T15:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: Email Alert Setup if Splunk is down in Production</title>
      <link>https://community.splunk.com/t5/Alerting/Email-Alert-Setup-if-Splunk-is-down-in-Production/m-p/104002#M1478</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;Who will watch the watchmen.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;You may want to use a third party script or tool to check that the splunkd process is up and running&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;&lt;P&gt;a simple &lt;CODE&gt;/opt/splunk/bin/splunk status&lt;/CODE&gt;  should do the trick&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;or a search on last 5 minutes &lt;BR /&gt;
&lt;CODE&gt;/opt/splunk/bin/splunk search "earliest=-5m index=* | stats count | eval status=if(count&amp;gt;0,'OK','ERROR')" -auth user:password&lt;/CODE&gt;&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;or a separate search-head, checking the number of events.&lt;/P&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Fri, 26 Oct 2012 15:41:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Email-Alert-Setup-if-Splunk-is-down-in-Production/m-p/104002#M1478</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2012-10-26T15:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: Email Alert Setup if Splunk is down in Production</title>
      <link>https://community.splunk.com/t5/Alerting/Email-Alert-Setup-if-Splunk-is-down-in-Production/m-p/104003#M1479</link>
      <description>&lt;P&gt;What does this: &lt;STRONG&gt;/opt/splunk/bin/splunk search "earliest=-5m index=* | stats count | eval status=if(count&amp;gt;0,'OK','ERROR')" -auth user:password&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Do? and if I turn this into a script that checks for it, will this do the trick?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2013 00:09:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Email-Alert-Setup-if-Splunk-is-down-in-Production/m-p/104003#M1479</guid>
      <dc:creator>Dark_Ichigo</dc:creator>
      <dc:date>2013-02-26T00:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: Email Alert Setup if Splunk is down in Production</title>
      <link>https://community.splunk.com/t5/Alerting/Email-Alert-Setup-if-Splunk-is-down-in-Production/m-p/104004#M1480</link>
      <description>&lt;P&gt;those have to used in a script that will check the result&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;this status command will show you if splunk is running&lt;/LI&gt;
&lt;LI&gt;and the search will show you is events from the last 5 minutes are searchable.&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;If you want to check if the process is running, then you need a ps script or a monitor. please contact your system administrator, this is his job.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2013 02:32:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Email-Alert-Setup-if-Splunk-is-down-in-Production/m-p/104004#M1480</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2013-02-26T02:32:41Z</dc:date>
    </item>
  </channel>
</rss>

