Debian Codegraph @

nrpe/packaging/files/nrpe3_add_centreon_cmd.patch

raw
1 --- a/sample-config/nrpe.cfg.in 2018-09-14 13:40:08.496324915 +0200
2 +++ b/sample-config/nrpe.cfg.in 2018-09-14 13:47:57.624296953 +0200
3 @@ -40,7 +40,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=@piddir@/nrpe.pid
8 +pid_file=@piddir@/nrpe3.pid
9
10
11
12 @@ -119,7 +119,7 @@
13 #
14 # Values: 0=do not allow arguments, 1=allow command arguments
15
16 -dont_blame_nrpe=0
17 +dont_blame_nrpe=1
18
19
20
21 @@ -300,7 +300,7 @@
22 command[check_hda1]=@pluginsdir@/check_disk -w 20% -c 10% -p /dev/hda1
23 command[check_zombie_procs]=@pluginsdir@/check_procs -w 5 -c 10 -s Z
24 command[check_total_procs]=@pluginsdir@/check_procs -w 150 -c 200
25 -
26 +command[check_centreon_plugins]=/usr/lib/centreon/plugins/centreon_linux_local.pl --plugin=$ARG1$ --mode=$ARG2$ $ARG3$
27
28 # The following examples allow user-supplied arguments and can
29 # only be used if the NRPE daemon was compiled with support for