Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Disk Service Time

Rating
0 votes
Favoured:
0
Current Version
1.0
Last Release Date
2010-04-27
Compatible With
  • Nagios 3.x
Owner
Hits
151255
Files:
FileDescription
disk_service_time.pydisk_service_time.py
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!
Check's disk service time on Linux block devices.
Check's disk service time on a specified device (-d) or, if unspecified, all devices listed in /etc/mtab. Default warning threshold of 15ms and critical threshold of 20ms. Can be overwritten with the -w and -c flags, respectively. Since I couldn't locate a python library to do what I need, I use the native iostat binary and parse based on order output.

This was written to try and find Amazon EBS volumes before they completely tanked.

Usage: disk_service_time.py [options]

Options:
-h, --help show this help message and exit
-w INT, --warn=INT Warning threshold
-c INT, --crit=INT Critical threshold
-d DEV, --dev=DEV Device to check