Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > 16c5e5f8b5816c1b1037e59c9a2a8112 > files > 226

check-mk-docs-1.2.2-5.fc18.1.noarch.rpm

title: Check options of mounted filesystems
agents: linux
author: Mathias Kettner <mk@mathias-kettner.de>
license: GPL
distribution: check_mk
description:
 This check monitors the options with which a filesystem is mounted by
 using the output of {/proc/mounts}. In normal operation mount options
 should never change. In recent versions of Linux (e.g. UBUNTU oneiric),
 the mount option {commit=} may change automatically depending
 on the current battery state, so this option is being excluded from
 the monitoring. Also excluded is the option {localalloc=} for recent
 kernels and OCFS2 filesystems.

 This check goes critical if the mount option {ro} appears. This
 might indicate IO errors have occurred, causing the filesystem
 to switch to read-only mode.

 Any other change of mount options will trigger a warning state.

 If the filesystem is not being found mounted, the check returns
 an {UNKNOWN} state.

item:
 The mount point of the filesystem.

inventory:
 All filesystems which are not of the type {tmpfs} will be monitored.
 The inventory uses the current mount options as check parameter.
 Note: the agent sends only filesystems which have a device below
 {/dev}, so network filesystems and virtual filesystems are excluded
 by the agent.

[parameters]
target_options (list of strings): The list of expected mount options. During
 inventory this list is being put into the check's parameter.
 Example: {['data=ordered', 'rw']}