check nfs,cifs,davfs mountpoints


Check if all specified nfs/cifs/davfs mounts exist and if they are correct implemented. That means we check /etc/fstab, the mountpoints in the filesystem and if they are mounted. It is written for Linux, uses proc-Filesystem and was tested on Debian, OpenSuse 10.1 10.2 10.3 11.0, SLES 10.1 11.1, RHEL 5 6, CentOS 5 6 and solaris


Usage: $PROGNAME [-m FILE] $NFSmountpoint [$NFSmountpoint2 ...]

Usage: $PROGNAME -h,--help


-m FILE Use this mtab instead (default is /proc/mounts)
-f FILE Use this fstab instead (default is /etc/fstab)
-N NUMBER FS Field number in fstab
-M NUMBER Mount Field number in fstab
-T SECONDS Responsetime at which an NFS is declared as staled (default: 3)

now we check if the given parameters ...

  1. ... exist in the /etc/fstab
  2. ... are mounted
  3. ... df -k gives no stale
  4. ... exist on the filesystem

This plugin is NOT developped by the Nagios Plugin group.

Please do not e-mail them for support on this plugin, since they won't know what you're talking about.

For contact info, read the plugin itself...