sexta-feira, 22 de maio de 2009

Nagios - Check Disk Mounted Disks

This was a development from a script found on unixdaemon. The purpose of this script is to validate the the partitions that are mounted and the partitions that are found on /etc/fstab. With this check one can prevent problems like, on reboot the partitions will not be mounted automatically, because they are not on fstab. Or validate if every partition found in fstab is currently mounted.
The original script from unixdaemon does not check partitions defined using Label or UUID, or even nfs. This was the "new" feature that i add.
Any comments or improvements are welcome.
ps. need to find some place to host the file :)
ps2. found it !

check_mounted_disks.pl