blob: 8b987c8f02da0accf89aac912fda9301617945ac (
plain)
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
|
--- a/sample-config/nrpe.cfg.in
+++ b/sample-config/nrpe.cfg.in
@@ -18,15 +18,6 @@
-# PID FILE
-# The name of the file in which the NRPE daemon should write it's process ID
-# number. The file is only written if the NRPE daemon is started by the root
-# user and is running in standalone mode.
-
-pid_file=/var/run/nrpe.pid
-
-
-
# PORT NUMBER
# Port number we should wait for connections on.
# NOTE: This must be a non-priviledged port (i.e. > 1024).
@@ -50,8 +41,10 @@
# You can either supply a username or a UID.
#
# NOTE: This option is ignored if NRPE is running under either inetd or xinetd
+# NOTE: OpenRC starts NRPE already as @nrpe_user@ user. You can change the user
+# in /etc/conf.d/nrpe.
-nrpe_user=@nrpe_user@
+#nrpe_user=@nrpe_user@
@@ -60,8 +53,10 @@
# You can either supply a group name or a GID.
#
# NOTE: This option is ignored if NRPE is running under either inetd or xinetd
+# NOTE: OpenRC starts NRPE already as @nrpe_group@ group. You can change the
+# group in /etc/conf.d/nrpe.
-nrpe_group=@nrpe_group@
+#nrpe_group=@nrpe_group@
|