Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_diskstat
Current Version
0.10
Last Release Date
2014-11-05
Compatible With
- Nagios 2.x
- Nagios 3.x
- Nagios 4.x
Owner
Download URL
License
GPL
Hits
58993
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
EXAMPLE OUTPUT
$ ./check_diskstat.sh -d sda -W 10 -C 20
summary: 3 io/s, read 32 sectors (0kB/s), write 4216 sectors (43kB/s), queue size 0 in 48 seconds | tps=3io/s;;; read=341b/s;;; write=44970b/s;;; avgrq-sz=24;;; avgqu-sz=0;10;20; await=43ms;;;
USAGE
./check_diskstat.sh -d DEVICE [ -w tps,read,write -c tps,read,write ]
| [ -W qlen -C qlen ] | -h
This plug-in is used to be alerted when maximum hard drive io/s, sectors
read|write/s or average queue length is reached.
-d DEVICE DEVICE must be without /dev (ex: -d sda)
-w/c TPS,READ,WRITE TPS means transfer per seconds (aka IO/s)
READ and WRITE are in bytes per seconds
-W/C NUM Use average queue length thresholds instead..
-b Brief output.
Performance data for graphing is supplied for tps, read, write, avgrq-sz,
avgqu-sz and await (see iostat man page for details).
Example: Tps, read and write thresholds:
./check_diskstat.sh -d sda -w 200,100000,100000 -c 300,200000,200000
Example: Average queue length threshold:
./check_diskstat.sh -d sda -W 50 -C 100
$ ./check_diskstat.sh -d sda -W 10 -C 20
summary: 3 io/s, read 32 sectors (0kB/s), write 4216 sectors (43kB/s), queue size 0 in 48 seconds | tps=3io/s;;; read=341b/s;;; write=44970b/s;;; avgrq-sz=24;;; avgqu-sz=0;10;20; await=43ms;;;
USAGE
./check_diskstat.sh -d DEVICE [ -w tps,read,write -c tps,read,write ]
| [ -W qlen -C qlen ] | -h
This plug-in is used to be alerted when maximum hard drive io/s, sectors
read|write/s or average queue length is reached.
-d DEVICE DEVICE must be without /dev (ex: -d sda)
-w/c TPS,READ,WRITE TPS means transfer per seconds (aka IO/s)
READ and WRITE are in bytes per seconds
-W/C NUM Use average queue length thresholds instead..
-b Brief output.
Performance data for graphing is supplied for tps, read, write, avgrq-sz,
avgqu-sz and await (see iostat man page for details).
Example: Tps, read and write thresholds:
./check_diskstat.sh -d sda -w 200,100000,100000 -c 300,200000,200000
Example: Average queue length threshold:
./check_diskstat.sh -d sda -W 50 -C 100
Reviews (0)
Be the first to review this listing!