<?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 for Linux server in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Alert-for-Linux-server/m-p/560844#M10684</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I know that, you are talking about the logs monitoring but if universal forwarer is failed that time logs not coming to splunk, I don't need that, I need server shutdown or down related query&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to write the query for Linux server down or shutdown or up ??? If it is possible what is that query ??&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 26 Jul 2021 18:06:52 GMT</pubDate>
    <dc:creator>Vishal2</dc:creator>
    <dc:date>2021-07-26T18:06:52Z</dc:date>
    <item>
      <title>Alert for Linux server</title>
      <link>https://community.splunk.com/t5/Alerting/Alert-for-Linux-server/m-p/560584#M10676</link>
      <description>&lt;P&gt;Can you provide the An example of search query or script. If Linux server is shutdown or down or up. I am looking for the best way to setup an shutdown or down or up status alert for Linux server.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jul 2021 09:54:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alert-for-Linux-server/m-p/560584#M10676</guid>
      <dc:creator>Vishal2</dc:creator>
      <dc:date>2021-07-23T09:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: Alert for Linux server</title>
      <link>https://community.splunk.com/t5/Alerting/Alert-for-Linux-server/m-p/560586#M10677</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/236452"&gt;@Vishal2&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;my hint is to monitor the Splunk Universal Forwarder that takes logs from that server so, when you don't receive Splunk internal logs from that server, you have to intervene because the server is down or there's a problem one the Forwarder or the network that requires yout intervene.&lt;/P&gt;&lt;P&gt;You can monitor a list of hosts (not depending on the operative system) creating a lookup (called e.g. perimeter.csv) contaning only one column (called host) and run a search like the following:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| metasearch index=_internal
| eval host=lower(host)
| stats count BY host
| append [ | inputlookup perimeter.csv | eval host=lower(host), count=0 | fields host count ]
| stats sum(count) AS total BY host
| where total=0&lt;/LI-CODE&gt;&lt;P&gt;Then you can schedule this search as an alert to run e.g. every five minutes.&lt;/P&gt;&lt;P&gt;Youcan also save this search (without the last row) to display a situation of your infrastructure (total=0 means down, total&amp;gt;0 means up).&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jul 2021 10:14:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alert-for-Linux-server/m-p/560586#M10677</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-07-23T10:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: Alert for Linux server</title>
      <link>https://community.splunk.com/t5/Alerting/Alert-for-Linux-server/m-p/560844#M10684</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I know that, you are talking about the logs monitoring but if universal forwarer is failed that time logs not coming to splunk, I don't need that, I need server shutdown or down related query&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to write the query for Linux server down or shutdown or up ??? If it is possible what is that query ??&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 18:06:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alert-for-Linux-server/m-p/560844#M10684</guid>
      <dc:creator>Vishal2</dc:creator>
      <dc:date>2021-07-26T18:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: Alert for Linux server</title>
      <link>https://community.splunk.com/t5/Alerting/Alert-for-Linux-server/m-p/561018#M10689</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/236452"&gt;@Vishal2&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;the message to search when a server is shutting down is "The system is going down", so you can run something like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=os "The system is going down"&lt;/LI-CODE&gt;&lt;P&gt;if you have results there was a shutdown, but this doesn't say if the server was still down or not.&lt;/P&gt;&lt;P&gt;In addition , if you don't have the message, it's possible that there was a crash or the Forwarder is down.&lt;/P&gt;&lt;P&gt;For this reason I hint to check the Splunk internal logs.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jul 2021 12:34:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alert-for-Linux-server/m-p/561018#M10689</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-07-27T12:34:36Z</dc:date>
    </item>
  </channel>
</rss>

