Licenses: Updated the list of licenses and added a PDF containing all license texts
[check_mk.git] / checkman / cifsmounts
blobbc2b64012a2b3a368fb2778a14e8307a5798dbde
1 title: Health of CIFS Mounts mountet on UNIX/ Linux
2 agents: linux, aix
3 catalog: os/services
4 license: GPL
5 distribution: check_mk
6 description:
7  This check probes the availability of CIFS mounts. The agent sends the
8  status of all NFS mounts, if the command line utility {waitmax} is available
9  (it is is used to avoid hanging if the server is not responding). The
10  probe is done by trying a {stat -f} (system call {statfs(2)}) on the mount
11  point. If that lasts longer then 2 seconds, then the server is considered
12  to be not responding.
14  When you install the agent manually, please do not forget to also
15  install {waitmax} into {/usr/bin}.  That file is shipped together with
16  the agent. When {waitmax} is missing, the agent will silently omit the
17  section {nfsmounts}.
19  If the CIFS mount is "stale", then {stat -f} returns immediately but with
20  a size of {0}. The check detects that and results in a warning state.
22  Please note, that though this check outputs the current usage of the remote
23  filesystem, no levels can be defined for the used space and no performance
24  data is output. Please do a check for used space directly on the CIFS server.
26 item:
27  The mount point.
29 inventory:
30   All CIFS mounts are found automatically. This is done
31   by scanning {/proc/mounts} (linux) or using the mount command (aix). The file {/etc/fstab}
32   is irrelevant.