]> git.pld-linux.org Git - packages/nagios-nrpe.git/blob - nagios-nrpe-config.patch
- write pidfile to dir writable by nrpe process
[packages/nagios-nrpe.git] / nagios-nrpe-config.patch
1 --- nrpe-2.4/sample-config/nrpe.cfg.in  2006-05-21 22:20:00.671748952 +0300
2 +++ nrpe-2.6/sample-config/nrpe.cfg.in  2007-02-08 18:01:01.000000000 +0200
3 @@ -16,7 +16,7 @@
4  # number.  The file is only written if the NRPE daemon is started by the root
5  # user and is running in standalone mode.
6  
7 -pid_file=/var/run/nrpe.pid
8 +pid_file=/var/run/nrpe/nrpe.pid
9  
10  
11  
12 @@ -162,12 +162,12 @@
13  
14  # The following examples use hardcoded command arguments...
15  
16 -command[check_users]=@libexecdir@/check_users -w 5 -c 10
17 -command[check_load]=@libexecdir@/check_load -w 15,10,5 -c 30,25,20
18 -command[check_disk1]=@libexecdir@/check_disk -w 20 -c 10 -p /dev/hda1
19 -command[check_disk2]=@libexecdir@/check_disk -w 20 -c 10 -p /dev/hdb1
20 -command[check_zombie_procs]=@libexecdir@/check_procs -w 5 -c 10 -s Z
21 -command[check_total_procs]=@libexecdir@/check_procs -w 150 -c 200 
22 +#command[check_users]=@libexecdir@/check_users -w 5 -c 10
23 +#command[check_load]=@libexecdir@/check_load -w 15,10,5 -c 30,25,20
24 +#command[check_disk1]=@libexecdir@/check_disk -w 20 -c 10 -p /dev/hda1
25 +#command[check_disk2]=@libexecdir@/check_disk -w 20 -c 10 -p /dev/hdb1
26 +#command[check_zombie_procs]=@libexecdir@/check_procs -w 5 -c 10 -s Z
27 +#command[check_total_procs]=@libexecdir@/check_procs -w 150 -c 200 
28  
29  # The following examples allow user-supplied arguments and can
30  # only be used if the NRPE daemon was compiled with support for 
This page took 0.073259 seconds and 4 git commands to generate.