<div class="gmail_quote">On Wed, Dec 7, 2011 at 4:50 PM, Henrik Størner <span dir="ltr"><<a href="mailto:henrik@hswn.dk">henrik@hswn.dk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 07-12-2011 17:13, Bill Richardson wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I see that Buchan asked for this a few years back. Has anyone done this.<br>
I would like to start alerting on %CPU not LOAD. I would still like to<br>
graph LOAD and have that show up under trends. The % CPU is already in<br>
Trends being graphed it would be nice just to pull that over to the CPU<br>
column.<br>
</blockquote>
<br></div>
In 4.3.x, add this to your analysis.cfg:<br>
<br>
HOST=foo<br>
   DS cpu vmstat.rrd:cpu_idl >=25 COLOR=green TEXT="CPU load normal"<br>
   DS cpu vmstat.rrd:cpu_idl <25  COLOR=yellow TEXT="High CPU load"<br>
   DS cpu vmstat.rrd:cpu_idl <10  COLOR=red TEXT="Critical CPU load"<br></blockquote><div><br></div><div><br></div><div>FYI: The column name is missing in the DS example in the docs:</div><div><br></div></div>
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div class="gmail_quote"><div><div>Example: Flag "conn" status a yellow if responsetime exceeds</div></div></div><div class="gmail_quote"><div>
<div>100 msec.</div></div></div><div class="gmail_quote"><div><div>.br</div></div></div><div class="gmail_quote"><div><div>        DS tcp.conn.rrd:sec >0.1 COLOR=yellow TEXT="Response time &V exceeds &U seconds"</div>
</div></div></blockquote><div class="gmail_quote"><div><br></div><div>Ralph Mitchell</div></div>