-
Notifications
You must be signed in to change notification settings - Fork 29
Nagios Plugin check_ifmountfs
Davide Madrisan edited this page Dec 18, 2016
·
2 revisions
check_ifmountfs - check whether the given filesystems are mounted
[/etc/nrpe.d/check_ifmountfs]
command[check_ifmountfs]=/usr/lib/nagios/plugins/check_ifmountfs / /boot/efi /home /var
This plugin checks whether the given filesystems are mounted.
Copyright (C) 2013-2014 Davide Madrisan <[email protected]>
Usage:
check_ifmountfs [FILESYSTEM]...
Options:
-h, --help display this help and exit
-V, --version output version information and exit
Examples:
check_ifmountfs /mnt/nfs-data /mnt/cdrom
> /usr/lib/nagios/plugins/check_ifmountfs / /boot/efi /home /var
filesystems OK
> /usr/lib/nagios/plugins/check_ifmountfs /nosuchfilesystem
filesystems CRITICAL /nosuchfilesystem unmounted!
none