Xymon Mailing List Archive search

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

list Henrik Størner
Wed, 07 Dec 2011 22:50:39 +0100
Message-Id: <user-2f73e0120cdd@xymon.invalid>

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"


Regards,
Henrik