Check Mount

Check Mount


A plugin designed to ensure that given mount points are mounted from /proc/mounts. It can optionally conduct a write-test using the system touch command.

Download check_mount




NAME

check_mount.pl


SYNOPSIS

check_mount.pl [OPTIONS] /path/to/mount1,/path/to/mount2

check_mount.pl --write-test /path/to/mount


DESCRIPTION

Check_mount is a Nagios plugin designed to ensure that given mount points are mounted, searching /proc/mounts for the given mount point. It can optionally conduct a write-test using the system touch command. As a Nagios plugin, its return value and output are consistent with Nagios expectations.


OPTIONS

-h, --help

Print brief usage message.

-w, --write-test

Write test to /path/to/mount/.check_mount using system touch command.


CHANGES

check_mount 1.00 (20120617)

- Initial release.