Storage Subsystem

check_diskstat

Description:

Linux disk IO check. Reads /sys filesystem directly to query tps, read, write, avg. request size, avg. queue size and avg. wait time.

Current Version

0.10

Last Release Date

2014-11-05

Compatible With

  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x

License

GPL


Nagios CSP

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!
Project Photos
Project Notes
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
Reviews (0) Add a Review
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
4.7 (3)
Favorites
3
Views
58,653