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

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
149272
Files:
FileDescription
disk_service_time.pydisk_service_time.py
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
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