This file is indexed.

/usr/share/check_mk/checks-man/sap.value 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
title: SAP Single Value Monitoring
agents: linux
catalog: app/sap
license: GPL
distribution: check_mk
description:
 This check uses the data provided by the {mk_sap} agent plugin, which uses
 RFC calls to retrieve monitoring information from SAP R/3 systems. To make
 this check work, you have to deploy the {mk_sap} agent plugin on a host.

 This check looks into the list of nodes which the agent is sending data
 for. You can adapt the agent plugin configuration to modify this list.
 The check simply uses the states, performance values and outputs generated
 by SAP, there are no special thresholds or similar to configure here.

item:
 A combination of the SAP system ID and, space separated, the path of the
 node to process the information of.

inventory:
 The check does not inventory all available values by default. By default
 it does not inventorize any value. You can use the inventory option
 {inventory_sap_values}. This is a hostlist which contains dictionaries
 as paramters.

 At the moment, the only parameter is the {match} paramter. It is used
 during inventory to filter the list of all available nodes by their paths
 and add the matching ones to the list of inventorized services.

 During inventory Check_MK tries to match all entries on each
 node found on the target host. If an entry matches, a new check will
 be created according to the entry (if it's not already existing).

perfdata:
 For status variables, no performance data is being output. Numeric
 values are output as performance data.

examples:
 # Examples for automatic inventorization of processes
 inventory_sap_values = [
   # Matches all nodes which paths starts with MyCompany/MyStructure
   ( {'match': '~MyCompany/MyStructure'}, [], ALL_HOSTS ),

   # Matches all nodes below SAP BI Monitors/BI Monitor
   ( {'match': '~SAP BI Monitors/BI Monitor'}, [], ALL_HOSTS ),
 ] + inventory_sap_values

[configuration]
inventory_sap_values (list): A list of 3-tuples. See {INVENTORY} for details.

[parameters]
match (string): Matching specification. This can either be the full path of the node or
   a regular expressing matching the path. In case of a regular expression it must be
   prefixed with a {~}. It can also be set to {None} to inventorize all nodes provided
   by the {mk_sap} agent plugin.