[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Disk or I/O latency?

From: SZÉPE Viktor
Subject: Re: Disk or I/O latency?
Date: Wed, 18 May 2016 23:05:59 +0200
User-agent: Horde Application Framework 5

Munin does it by comparing `cat /sys/block/*/stat` e.g `cat /sys/block/sda/stat` with the previous reading. This file contains 11 values:

So previous rd_ios minus current rd_ios gives you and average IO/period.
You may "remember" these by storing them in a file, for example in /var/cache/monit/sda.stat

Idézem/Quoting Graham Smith <address@hidden>:

I don't think there is anything built in for that. You may not need a
script per se, an application may have an exit status you could use to
denote a fail or success of performance quality. Possibly iostat or iometer
If it's not a simple numeric output, a wrapper script might not need to be
long and that could output a simple exit status to denote a success quality
which monit can handle easier.

I always think it's best to keep complexity out of monit and if you need to
do something fancy a script for anything odd is ultimately more modular as
you may find other uses for it.

On 18 May 2016 19:04, "Bryan Harris" <address@hidden> wrote:

Hello all,

Does Monit have a way to measure i/o latency and alert if say a 4k write
takes longer than some number of ms?  I searched the mailing list and
manual and do not see anything.  Otherwise I can always monitor a custom
script for this purpose.

Thanks in advance.


To unsubscribe:

SZÉPE Viktor
+36-20-4242498  address@hidden  skype: szepe.viktor
Budapest, III. kerület

reply via email to

[Prev in Thread] Current Thread [Next in Thread]