Check IOStat

Check IOStat


A plugin designed to monitor block device statistics.

Download check_iostat




NAME

check_iostat.pl


SYNOPSIS

check_iostat.pl [OPTIONS] blockdev1,blockdev2

check_iostat.pl --warning 100,200,10 blockdev1 --critical 200,300,20 blockdev1


DESCRIPTION

Check_iostat is a Nagios plugin designed to monitor the iostats on block devices, tracking rsec, wsec, and await. It also passes back performance data for PNP4Nagios graphing. Stats are determined by running the system iostat command on a five-second interval. As a Nagios plugin, its return values and output are consistent with Nagios expectations.


OPTIONS

-c, --critical

Set the critical levels in format rsec,wsec,await. If any of the three values exceed these levels on any of the monitored block devices, the plugin returns 2 (Nagios CRITICAL).

-h, --help

Print brief usage message.

-w, --warning

Set the warning levels in format rsec,wsec,await. If any of the three values exceed these levels on any of the monitored block devices, the plugin returns 1 (Nagios WARNING).

blockdev

An optional list of block devices can be specified on the command line. This will restrict output to only those given, otherwise stats for all block devices will be returned.


CHANGES

check_iostat 1.00 (20120618)

- Initial release.