Refactoring: Changed remaining check parameters starting with an 's' to the new rules...
[check_mk.git] / .werks / 265
blob1c019d61d232c0a7083ae68668cf0ef534771f19
1 Title: mpre_include: run additional mrpe configs within user context
2 Level: 1
3 Component: checks
4 Version: 1.2.5i1
5 Date: 1390568187
6 Class: feature
8 This version brings the new local check <tt>mrpe_include</tt> where you can
9 configure additional include files for mrpe and under which user context
10 the commands of these files are run. It allows non-root users to add additional
11 mrpe commands without modifying the <tt>mrpe.cfg</tt> file.
12 You can assign include files to users and define in which user context the commands
13 should be executed.
15 This check is configured with the configuration
16 file <tt>mrpe_include.cfg</tt>. In a default installation this file is located
17 within the Check_MK config directory under <tt>/etc/check_mk/mrpe_include.cfg</tt>.
19 The <tt>mrpe_include.cfg</tt> does not contain the new mrpe commands,
20 though a user name followed by a include path.
21 Here is an example:
23 F+:/etc/check_mk/mrpe_include.cfg
24 # Execute as user ab
25 ab /etc/check_mk/mrpe_ab_commands.cfg
26 # Execute as user lm
27 lm /etc/other/mrpe_lm.cfg
28 # Execute with no user context change
29 - /etc/mrpe_default.cfg
30 F-:
32 Each line consists of two parameters, the user followed by the include file.
33 Each command within the include file is executed as this user.
34 If you do not want to change the user context (default is root), you can set the user to <tt>-</tt>.
35 The included files have the same configuration syntax as the <tt>mrpe.cfg</tt>.