<?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 on overall %CPU on multicore Solaris server? in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Alert-on-overall-CPU-on-multicore-Solaris-server/m-p/22140#M161</link>
    <description>&lt;P&gt;I have a saved search that goes like this:&lt;/P&gt;

&lt;P&gt;index=os sourcetype=cpu host=* | multikv fields pctIdle | eval Percent_CPU_Load = 100 - pctIdle | search host="birdhouse" | where Percent_CPU_Load &amp;gt; 80&lt;/P&gt;

&lt;P&gt;My intent was to receive an alert if the &lt;EM&gt;overall&lt;/EM&gt; CPU load of the server is over 80%.  However, it seems this string will trigger if any single core is over 80%, since it is reading mpstat data and seems to trigger for each line if result is over 80.  Leaving aside for the moment that cpu.sh cuts off Core #0, is there a way I can trigger on the average of all the cores?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
DL&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 12:44:24 GMT</pubDate>
    <dc:creator>davidl64</dc:creator>
    <dc:date>2020-09-28T12:44:24Z</dc:date>
    <item>
      <title>Alert on overall %CPU on multicore Solaris server?</title>
      <link>https://community.splunk.com/t5/Alerting/Alert-on-overall-CPU-on-multicore-Solaris-server/m-p/22140#M161</link>
      <description>&lt;P&gt;I have a saved search that goes like this:&lt;/P&gt;

&lt;P&gt;index=os sourcetype=cpu host=* | multikv fields pctIdle | eval Percent_CPU_Load = 100 - pctIdle | search host="birdhouse" | where Percent_CPU_Load &amp;gt; 80&lt;/P&gt;

&lt;P&gt;My intent was to receive an alert if the &lt;EM&gt;overall&lt;/EM&gt; CPU load of the server is over 80%.  However, it seems this string will trigger if any single core is over 80%, since it is reading mpstat data and seems to trigger for each line if result is over 80.  Leaving aside for the moment that cpu.sh cuts off Core #0, is there a way I can trigger on the average of all the cores?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
DL&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:44:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alert-on-overall-CPU-on-multicore-Solaris-server/m-p/22140#M161</guid>
      <dc:creator>davidl64</dc:creator>
      <dc:date>2020-09-28T12:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: Alert on overall %CPU on multicore Solaris server?</title>
      <link>https://community.splunk.com/t5/Alerting/Alert-on-overall-CPU-on-multicore-Solaris-server/m-p/22141#M162</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;index=os sourcetype=cpu host=birdhouse | multikv fields pctIdle | eval Percent_CPU_Load = 100 - pctIdle | stats avg(Percent_CPU_Load) as Percent_CPU_Load by host | where Percent_CPU_Load &amp;gt; 80
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 05 Nov 2012 05:51:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alert-on-overall-CPU-on-multicore-Solaris-server/m-p/22141#M162</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2012-11-05T05:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: Alert on overall %CPU on multicore Solaris server?</title>
      <link>https://community.splunk.com/t5/Alerting/Alert-on-overall-CPU-on-multicore-Solaris-server/m-p/22142#M163</link>
      <description>&lt;P&gt;Did this work for you ?&lt;BR /&gt;
I tried the same but do not see any results&lt;/P&gt;</description>
      <pubDate>Sun, 25 Aug 2013 06:19:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alert-on-overall-CPU-on-multicore-Solaris-server/m-p/22142#M163</guid>
      <dc:creator>sunilsk1</dc:creator>
      <dc:date>2013-08-25T06:19:31Z</dc:date>
    </item>
  </channel>
</rss>

