<?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 Alert when something is not there in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Alert-when-something-is-not-there/m-p/71506#M989</link>
    <description>&lt;P&gt;I want to have an alert for when a host is NOT there. And then be able to pass that host name by email. Lets say I have 3 hosts - A B C - and I am displaying Service Process information by host. When all is normal I have all three hosts. If a host/service then stops it no long appears in the results so I cannot draw any information. &lt;/P&gt;

&lt;P&gt;Is it possible to keep some kind of comparative &lt;EM&gt;what I expect to see&lt;/EM&gt; list?&lt;/P&gt;</description>
    <pubDate>Mon, 11 Jun 2012 09:27:41 GMT</pubDate>
    <dc:creator>matthewcanty</dc:creator>
    <dc:date>2012-06-11T09:27:41Z</dc:date>
    <item>
      <title>Alert when something is not there</title>
      <link>https://community.splunk.com/t5/Alerting/Alert-when-something-is-not-there/m-p/71506#M989</link>
      <description>&lt;P&gt;I want to have an alert for when a host is NOT there. And then be able to pass that host name by email. Lets say I have 3 hosts - A B C - and I am displaying Service Process information by host. When all is normal I have all three hosts. If a host/service then stops it no long appears in the results so I cannot draw any information. &lt;/P&gt;

&lt;P&gt;Is it possible to keep some kind of comparative &lt;EM&gt;what I expect to see&lt;/EM&gt; list?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jun 2012 09:27:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alert-when-something-is-not-there/m-p/71506#M989</guid>
      <dc:creator>matthewcanty</dc:creator>
      <dc:date>2012-06-11T09:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: Alert when something is not there</title>
      <link>https://community.splunk.com/t5/Alerting/Alert-when-something-is-not-there/m-p/71507#M990</link>
      <description>&lt;P&gt;You can store data in a lookup and then use those values to see when an expected result does not appear.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/User/CreateAndConfigureFieldLookups"&gt;http://docs.splunk.com/Documentation/Splunk/latest/User/CreateAndConfigureFieldLookups&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Here's a similar splunk answer on this topic. You could also create an alert on this type of metadata search.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://splunk-base.splunk.com/answers/3181/how-do-i-alert-when-a-host-stops-sending-data"&gt;http://splunk-base.splunk.com/answers/3181/how-do-i-alert-when-a-host-stops-sending-data&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jun 2012 17:52:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alert-when-something-is-not-there/m-p/71507#M990</guid>
      <dc:creator>sdaniels</dc:creator>
      <dc:date>2012-06-11T17:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: Alert when something is not there</title>
      <link>https://community.splunk.com/t5/Alerting/Alert-when-something-is-not-there/m-p/71508#M991</link>
      <description>&lt;P&gt;After speaking with a colleague he showed me how their team overcomes this problem. Now I just look at the events for the last 4 minutes, and evaluate the gap, then if the gap is greater than 2 minutes trigger an alert. &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;sourcetype="Perfmon*" earliest=-4m instance="Spin.*"  | stats max(_time) As LatestTime by host, instance | eval Gap=(now()-LatestTime) | search Gap&amp;gt;120 | fields host, instance&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jun 2012 08:42:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alert-when-something-is-not-there/m-p/71508#M991</guid>
      <dc:creator>matthewcanty</dc:creator>
      <dc:date>2012-06-12T08:42:32Z</dc:date>
    </item>
  </channel>
</rss>

