[Xymon] iowait monitoring

Olivier Audry olivier at minas.fr
Tue Aug 16 20:13:39 CEST 2016


    
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 <deepakdeore2004 at gmail.com> 
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?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20160816/a6d8698e/attachment.html>


More information about the Xymon mailing list