[Top][All Lists]

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

Re: Disk or I/O latency?

From: Bryan Harris
Subject: Re: Disk or I/O latency?
Date: Thu, 19 May 2016 07:57:46 -0400

Hello folks,

Thanks for your replies.  Here is what I'm going to start with and see
how it works out for us.

# -*- tcl -*-
# The next line is executed by /bin/sh, but not tcl \
exec tclsh "$0" ${1+"$@"}

set avg [exec ioping -q / -c 5 -p 5 | cut {-d } -f6]

if {[expr $avg > 10000]} {
  puts "[set avg] Alert"
  exit 1
} else {
  puts "[set avg] Safe"
  exit 0


On Wed, May 18, 2016 at 7:11 PM, Jan-Henrik Haukeland
<address@hidden> wrote:
> Monit does not have this metric. It is implemented in the Monit Widget on OS 
> X only ( We do plan to back-port this later 
> together with S.M.A.R.T. device status. In the meantime the best option is to 
> do as suggested and use an external script. Monit can use Nagios scripts that 
> return meaningful exist status, maybe one can be found?
>> On 18 May 2016, at 20:03, 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.
>> V/r,
>> Bryan
> --
> To unsubscribe:

reply via email to

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