<?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 How to setup email alerts when linux servers are 80% full? in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/How-to-setup-email-alerts-when-linux-servers-are-80-full/m-p/468272#M8310</link>
    <description>&lt;P&gt;As always I know you will be able to answer my question. &lt;BR /&gt;So using this query:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;index=_nix_xxxx sourcetype=df host=abdhw003 OR host=n OR host=n OR host=n or host=n MountedOn="/doc"
 | eval TotalGBytes= TotalMBytes/1024 | eval UsedGBytes=UsedMbytes/1024 |eval used_pct=100(UsedGBytes/TotalGBytes) 
 | stats max(TotalGBytes) as "MaxSize(GB) max(UsedGBytes) as "UsedSize(GB) as "percentUsed" by host, MountedOn 
 | search PercentUsed&amp;gt;05| Sort PercentUsed
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I am able to see the space used by each server, is there a way wherein the dashboard once any server hits 80% or 90% used- the color of that server changes to red and an email is triggered to the support team that a certain server has reached 90% capacity?&lt;/P&gt;
&lt;P&gt;Is that a query or something to be parameterized in the dashboard itself? Trying to understand Splunk, I appreciate all the help.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Mike&lt;/P&gt;</description>
    <pubDate>Tue, 09 Jun 2020 22:03:25 GMT</pubDate>
    <dc:creator>mike000</dc:creator>
    <dc:date>2020-06-09T22:03:25Z</dc:date>
    <item>
      <title>How to setup email alerts when linux servers are 80% full?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-setup-email-alerts-when-linux-servers-are-80-full/m-p/468272#M8310</link>
      <description>&lt;P&gt;As always I know you will be able to answer my question. &lt;BR /&gt;So using this query:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;index=_nix_xxxx sourcetype=df host=abdhw003 OR host=n OR host=n OR host=n or host=n MountedOn="/doc"
 | eval TotalGBytes= TotalMBytes/1024 | eval UsedGBytes=UsedMbytes/1024 |eval used_pct=100(UsedGBytes/TotalGBytes) 
 | stats max(TotalGBytes) as "MaxSize(GB) max(UsedGBytes) as "UsedSize(GB) as "percentUsed" by host, MountedOn 
 | search PercentUsed&amp;gt;05| Sort PercentUsed
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I am able to see the space used by each server, is there a way wherein the dashboard once any server hits 80% or 90% used- the color of that server changes to red and an email is triggered to the support team that a certain server has reached 90% capacity?&lt;/P&gt;
&lt;P&gt;Is that a query or something to be parameterized in the dashboard itself? Trying to understand Splunk, I appreciate all the help.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Mike&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jun 2020 22:03:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-setup-email-alerts-when-linux-servers-are-80-full/m-p/468272#M8310</guid>
      <dc:creator>mike000</dc:creator>
      <dc:date>2020-06-09T22:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup email alerts when linux servers are 80% full?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-setup-email-alerts-when-linux-servers-are-80-full/m-p/468273#M8311</link>
      <description>&lt;P&gt;Something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="_nix_xxxx " AND sourcetype="df" 
| stats avg(PercentUsedSpace) AS avgPctUsed BY host Filesystem 
| eval threshold = case( 
   match(Filesystem, "foo"), 85, 
   ...
   true(), 90) 
| where avgPctUsed &amp;gt; threshold
| sort 0 - avgPctUsed 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 03 Apr 2020 18:24:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-setup-email-alerts-when-linux-servers-are-80-full/m-p/468273#M8311</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2020-04-03T18:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup email alerts when linux servers are 80% full?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-setup-email-alerts-when-linux-servers-are-80-full/m-p/468274#M8312</link>
      <description>&lt;P&gt;Hi woodcock, thanks for your reply. If I may ask, What will this do? Does this part just change the color or send email trigger? I cant see either in the snippet. &lt;/P&gt;</description>
      <pubDate>Fri, 03 Apr 2020 20:15:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-setup-email-alerts-when-linux-servers-are-80-full/m-p/468274#M8312</guid>
      <dc:creator>mike000</dc:creator>
      <dc:date>2020-04-03T20:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup email alerts when linux servers are 80% full?</title>
      <link>https://community.splunk.com/t5/Alerting/How-to-setup-email-alerts-when-linux-servers-are-80-full/m-p/468275#M8313</link>
      <description>&lt;P&gt;Just save it as an &lt;CODE&gt;alert&lt;/CODE&gt;, add the &lt;CODE&gt;alert action&lt;/CODE&gt; of &lt;CODE&gt;email&lt;/CODE&gt;, done.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Apr 2020 20:59:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-to-setup-email-alerts-when-linux-servers-are-80-full/m-p/468275#M8313</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2020-04-03T20:59:31Z</dc:date>
    </item>
  </channel>
</rss>

