[Xymon] Feature request - thresholds for CPU utilisation (not load average)

Ralph Mitchell ralphmitchell at gmail.com
Thu Dec 8 14:32:59 CET 2011


On Wed, Dec 7, 2011 at 4:50 PM, Henrik Størner <henrik at hswn.dk> wrote:

> On 07-12-2011 17:13, Bill Richardson wrote:
>
>> I see that Buchan asked for this a few years back. Has anyone done this.
>> I would like to start alerting on %CPU not LOAD. I would still like to
>> graph LOAD and have that show up under trends. The % CPU is already in
>> Trends being graphed it would be nice just to pull that over to the CPU
>> column.
>>
>
> In 4.3.x, add this to your analysis.cfg:
>
> HOST=foo
>   DS cpu vmstat.rrd:cpu_idl >=25 COLOR=green TEXT="CPU load normal"
>   DS cpu vmstat.rrd:cpu_idl <25  COLOR=yellow TEXT="High CPU load"
>   DS cpu vmstat.rrd:cpu_idl <10  COLOR=red TEXT="Critical CPU load"
>


FYI: The column name is missing in the DS example in the docs:

Example: Flag "conn" status a yellow if responsetime exceeds
100 msec.
.br
        DS tcp.conn.rrd:sec >0.1 COLOR=yellow TEXT="Response time &V
exceeds &U seconds"


Ralph Mitchell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20111208/d9197b65/attachment.html>


More information about the Xymon mailing list