Xymon Mailing List Archive search

iowait monitoring

3 messages in this thread

list Deepak Deore · Mon, 15 Aug 2016 16:57:02 -0700 ·
I want to generate alert if iowait increases beyond certain
threshold. analysis.cfg doesn't have monitoring iowait options in UP, LOAD
and CLOCK rules.

I have CPU utilization graph as below in hosts.cfg options which shows
iowait

x.x.x.x  server1.example.com  # noconn nofiles nobbd conn
TRENDS:*,vmstat:vmstat1|vmstat3|vmstat4|vmstat5

Could anyone guide me here?
list Olivier Audry · Tue, 16 Aug 2016 20:13:39 +0200 ·
    
Hello
You can setup threshold based on rrd. Look into the doc.


DS - RRD based status override

DS column filename:dataset rules COLOR=colorname TEXT=explanation

"column" is the statuscolumn that will be modified. "filename" is the name of the RRD file holding the data you use for comparison. "dataset" is the name of the dataset in the RRD file - the "rrdtool info" command is useful when determining these. "rules" determine when to apply the override. You can use ">", ">=", "<" or "<=" to compare the current measurement value against one or more thresholds. "explanation" is a text that will be shown to explain the override - you can use some placeholders in the text: "&N" is replaced with the name of the dataset, "&V" is replaced with the current value, "&L" is replaced by the low threshold, "&U" is replaced with the upper threshold.

NOTE: This rule uses the raw data value from a client to examine the rules. So this type of test is only really suitable for datasets that are of the "GAUGE" type. It cannot be used meaningfully for datasets that use "COUNTER" or "DERIVE" - e.g. the datasets that are used to capture network packet traffic - because the data stored in the RRD for COUNTER-based datasets undergo a transformation (calculation) when going into the RRD. Xymon does not have direct access to the calculated data.

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

oau
quoted from Deepak Deore

-------- Message d'origine --------
De : deepak deore <user-7b03b2a1ee70@xymon.invalid> 
Date : 16/08/2016  01:57  (GMT+01:00) 
À : xymon at xymon.com 
Objet : [Xymon] iowait monitoring 

I want to generate alert if iowait increases beyond certain threshold. analysis.cfg doesn't have monitoring iowait options in UP, LOAD and CLOCK rules.
I have CPU utilization graph as below in hosts.cfg options which shows iowait
x.x.x.x  server1.example.com  # noconn nofiles nobbd conn TRENDS:*,vmstat:vmstat1|vmstat3|vmstat4|vmstat5

Could anyone guide me here?
list Deepak Deore · Thu, 18 Aug 2016 13:51:24 -0700 ·
Thanks Olivier,
I will try it out.
quoted from Olivier Audry

On Tue, Aug 16, 2016 at 11:13 AM, Olivier Audry <user-368addb8e10a@xymon.invalid> wrote:
Hello

You can setup threshold based on rrd. Look into the doc.


DS - RRD based status override

DS column filename:dataset rules COLOR=colorname TEXT=explanation

"column" is the statuscolumn that will be modified. "filename" is the name
of the RRD file holding the data you use for comparison. "dataset" is the
name of the dataset in the RRD file - the "rrdtool info" command is useful
when determining these. "rules" determine when to apply the override. You
can use ">", ">=", "<" or "<=" to compare the current measurement value
against one or more thresholds. "explanation" is a text that will be shown
to explain the override - you can use some placeholders in the text: "&N"
is replaced with the name of the dataset, "&V" is replaced with the current
value, "&L" is replaced by the low threshold, "&U" is replaced with the
upper threshold.

NOTE: This rule uses the raw data value from a client to examine the
rules. So this type of test is only really suitable for datasets that are
of the "GAUGE" type. It cannot be used meaningfully for datasets that use
"COUNTER" or "DERIVE" - e.g. the datasets that are used to capture network
packet traffic - because the data stored in the RRD for COUNTER-based
datasets undergo a transformation (calculation) when going into the RRD.
Xymon does not have direct access to the calculated data.

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


oau


-------- Message d'origine --------
De : deepak deore <user-7b03b2a1ee70@xymon.invalid>
Date : 16/08/2016 01:57 (GMT+01:00)
À : xymon at xymon.com
Objet : [Xymon] iowait monitoring

I want to generate alert if iowait increases beyond certain
threshold. analysis.cfg doesn't have monitoring iowait options in UP, LOAD
and CLOCK rules.

I have CPU utilization graph as below in hosts.cfg options which shows
iowait

x.x.x.x  server1.example.com  # noconn nofiles nobbd conn
TRENDS:*,vmstat:vmstat1|vmstat3|vmstat4|vmstat5

Could anyone guide me here?