Logoj0ke.net Open Build Service > Projects > server:monitoring > nrpe3 > nrpe-0003-Include-etc-npre.d-config-directory.patch
Sign Up | Log In

File nrpe-0003-Include-etc-npre.d-config-directory.patch of Package nrpe3 (Revision efaf26e10b50477c10834f9b63c0f06a)

Currently displaying revision efaf26e10b50477c10834f9b63c0f06a, show latest

x
 
1
diff -up ./sample-config/nrpe.cfg.in.include_etc_npre_d ./sample-config/nrpe.cfg.in
2
--- ./sample-config/nrpe.cfg.in.include_etc_npre_d  2017-07-14 17:44:04.511051885 -0400
3
+++ ./sample-config/nrpe.cfg.in 2017-07-14 17:46:55.255275288 -0400
4
@@ -47,7 +47,10 @@ pid_file=@piddir@/nrpe.pid
5
 # PORT NUMBER
6
 # Port number we should wait for connections on.
7
 # NOTE: This must be a non-privileged port (i.e. > 1024).
8
-# NOTE: This option is ignored if NRPE is running under either inetd or xinetd
9
+# NOTE: This option is ignored if NRPE is running under either inetd
10
+# or xinetd or via systemd. [In systemd please use
11
+# systemctl edit nrpe.service
12
+# to set up the port.
13
 
14
 server_port=@nrpe_port@
15
 
16
@@ -57,6 +60,7 @@ server_port=@nrpe_port@
17
 # Address that nrpe should bind to in case there are more than one interface
18
 # and you do not want nrpe to bind on all interfaces.
19
 # NOTE: This option is ignored if NRPE is running under either inetd or xinetd
20
+#       or with systemd. Please start by hand.
21
 
22
 #server_address=127.0.0.1
23
 
24
@@ -74,7 +78,10 @@ server_port=@nrpe_port@
25
 # This determines the effective user that the NRPE daemon should run as.
26
 # You can either supply a username or a UID.
27
 #
28
-# NOTE: This option is ignored if NRPE is running under either inetd or xinetd
29
+# NOTE: This option is ignored if NRPE is running under either inetd
30
+# or xinetd or via systemd. [In systemd please use
31
+# systemctl edit nrpe.service
32
+# to set up the group.
33
 
34
 nrpe_user=@nrpe_user@
35
 
36
@@ -84,7 +91,10 @@ nrpe_user=@nrpe_user@
37
 # This determines the effective group that the NRPE daemon should run as.
38
 # You can either supply a group name or a GID.
39
 #
40
-# NOTE: This option is ignored if NRPE is running under either inetd or xinetd
41
+# NOTE: This option is ignored if NRPE is running under either inetd
42
+# or xinetd or via systemd. [In systemd please use
43
+# systemctl edit nrpe.service
44
+# to set up the user.
45
 
46
 nrpe_group=@nrpe_group@
47
 
48
@@ -101,7 +111,8 @@ nrpe_group=@nrpe_group@
49
 # file to allow only the specified host to connect to the port
50
 # you are running this daemon on.
51
 #
52
-# NOTE: This option is ignored if NRPE is running under either inetd or xinetd
53
+# NOTE: This option is ignored if NRPE is running under either inetd
54
+# or xinetd or systemd
55
 
56
 allowed_hosts=127.0.0.1,::1
57
 
58
@@ -359,3 +370,7 @@ command[check_total_procs]=@pluginsdir@/
59
 
60
 #include_dir=<somedirectory>
61
 #include_dir=<someotherdirectory>
62
+
63
+include_dir=/etc/nrpe.d/
64
+
65
+
66