This file is indexed.

/usr/share/check_mk/checks-man/mounts is in check-mk-server 1.2.6p12-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
title: Options of mounted filesystems
agents: linux
catalog: os/storage
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']}