
Operating Systems
check_disk_write.pl (Advanced Nagios Plugins Collection)
Description:
Checks a disk is writable and functioning properly by writing a tiny canary file with unique generated contents and then reading it back to make sure it was written properly.
Useful to detect I/O errors and disks that have been re-mounted read-only as often happens when I/O errors in the disk subsystem are detected by the kernel.
Current Version
Last Release Date
December 9, 2013
Compatible With
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios XI
Owner
Download URL
Project Notes
Part of the Advanced Nagios Plugins Collection.
Download it here:
https://github.com/harisekhon/nagios-plugins
./check_disk_write.pl -d /tmp
OK: canary file I/O written => read back 51 bytes successfully in /tmp, unique contents verified
./check_disk_write.pl --help
usage: check_disk_write.pl [ options ]
-d --directory Directory to write the canary file to. Set this to a directory on the mount point of the disk you want to check
-t --timeout Timeout in secs (default: 10)
-v --verbose Verbose mode (-v, -vv, -vvv ...)
-h --help Print description and usage options
-V --version Print version and exit
Reviews
(0)
Add a Review
Page Sections
Project Stats
Rating
0 (0)
Favorites
0
Views
30,570