Logoj0ke.net Open Build Service > Projects > server:monitoring > nrpe3 > nrpe-default-config.patch
Sign Up | Log In

File nrpe-default-config.patch of Package nrpe3 (Revision efaf26e10b50477c10834f9b63c0f06a)

Currently displaying revision efaf26e10b50477c10834f9b63c0f06a, show latest

x
 
1
--- sample-config/nrpe.cfg.in.orig  2019-10-15 10:41:44.460555712 +0200
2
+++ sample-config/nrpe.cfg.in   2019-10-15 12:53:23.362712336 +0200
3
@@ -169,7 +169,7 @@
4
 # without asking for a password.  If you do this, make sure you don't give
5
 # random users write access to that directory or its contents!
6
 
7
-# command_prefix=/usr/bin/sudo
8
+command_prefix=/usr/bin/sudo
9
 
10
 
11
 # MAX COMMANDS
12
@@ -232,7 +232,7 @@
13
 # ADH or 2 to require ADH. 1 is currently the default but will be changed
14
 # in a later version.
15
 
16
-#ssl_use_adh=1
17
+ssl_use_adh=2
18
 
19
 # SSL CIPHER LIST
20
 # This lists which ciphers can be used. For backward compatibility, this
21
@@ -307,10 +307,10 @@
22
 # This is by far the most secure method of using NRPE
23
 
24
 command[check_users]=@pluginsdir@/check_users -w 5 -c 10
25
-command[check_load]=@pluginsdir@/check_load -r -w .15,.10,.05 -c .30,.25,.20
26
+command[check_load]=@pluginsdir@/check_load -r -w 15,10,05 -c 30,25,20
27
 command[check_hda1]=@pluginsdir@/check_disk -w 20% -c 10% -p /dev/hda1
28
 command[check_zombie_procs]=@pluginsdir@/check_procs -w 5 -c 10 -s Z
29
-command[check_total_procs]=@pluginsdir@/check_procs -w 150 -c 200
30
+command[check_total_procs]=@pluginsdir@/check_procs -w 450 -c 500
31
 
32
 
33
 # The following examples allow user-supplied arguments and can
34
@@ -372,5 +372,6 @@
35
 #include_dir=<someotherdirectory>
36
 
37
 include_dir=/etc/nrpe.d/
38
-
39
+include=/etc/nagios/nrpe_local.cfg
40
+include_dir=/etc/nagios/nrpe.d
41
 
42