<?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 when service is down on multiple hosts in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Alert-when-service-is-down-on-multiple-hosts/m-p/348251#M6144</link>
    <description>&lt;P&gt;when you say "You also might want to add "index=...""....&lt;/P&gt;

&lt;P&gt;This means setting up a monitor this way:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;splunk add monitor /opt/tomcat/logs/catalina.out  -index tomcat
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Right?&lt;/P&gt;

&lt;P&gt;and then do:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; host="server-*" source="tomcat" process_name="tomcat" | dedup host | eval lastseen=now()-_time
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 18 Dec 2017 16:20:49 GMT</pubDate>
    <dc:creator>fsrodriguez</dc:creator>
    <dc:date>2017-12-18T16:20:49Z</dc:date>
    <item>
      <title>Alert when service is down on multiple hosts</title>
      <link>https://community.splunk.com/t5/Alerting/Alert-when-service-is-down-on-multiple-hosts/m-p/348249#M6142</link>
      <description>&lt;P&gt;I have the Splunk Add-On for Linux and Unix installed which enables the "PS" command. How can I monitor the tomcat service or some other service on multiple hosts for 5 minutes?&lt;/P&gt;

&lt;P&gt;This is what I have so far:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;host="server-*" source="ps" tomcat
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I would like to trigger an alarm whenever the tomcat service has been down for more than 5 minutes on any of the hosts that the query finds.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Dec 2017 13:30:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alert-when-service-is-down-on-multiple-hosts/m-p/348249#M6142</guid>
      <dc:creator>fsrodriguez</dc:creator>
      <dc:date>2017-12-18T13:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: Alert when service is down on multiple hosts</title>
      <link>https://community.splunk.com/t5/Alerting/Alert-when-service-is-down-on-multiple-hosts/m-p/348250#M6143</link>
      <description>&lt;P&gt;Try the following search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;host="server-*" source="ps" process_name="tomcat" | dedup host | eval lastseen=now()-_time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You might need to change process_name="tomcat" to suit your needs. You also might want to add "index=..." This will make your searches faster.&lt;/P&gt;

&lt;P&gt;Save this search as an alert with the custom trigger condition: lastseen&amp;gt;300. The time range should be several hours, e.g. last 24 hours.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Dec 2017 14:13:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alert-when-service-is-down-on-multiple-hosts/m-p/348250#M6143</guid>
      <dc:creator>Yunagi</dc:creator>
      <dc:date>2017-12-18T14:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: Alert when service is down on multiple hosts</title>
      <link>https://community.splunk.com/t5/Alerting/Alert-when-service-is-down-on-multiple-hosts/m-p/348251#M6144</link>
      <description>&lt;P&gt;when you say "You also might want to add "index=...""....&lt;/P&gt;

&lt;P&gt;This means setting up a monitor this way:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;splunk add monitor /opt/tomcat/logs/catalina.out  -index tomcat
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Right?&lt;/P&gt;

&lt;P&gt;and then do:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; host="server-*" source="tomcat" process_name="tomcat" | dedup host | eval lastseen=now()-_time
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 18 Dec 2017 16:20:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alert-when-service-is-down-on-multiple-hosts/m-p/348251#M6144</guid>
      <dc:creator>fsrodriguez</dc:creator>
      <dc:date>2017-12-18T16:20:49Z</dc:date>
    </item>
  </channel>
</rss>

