30 lines
955 B
Diff
30 lines
955 B
Diff
--- a/sample-config/nrpe.cfg.in 2018-09-14 13:40:08.496324915 +0200
|
|
+++ b/sample-config/nrpe.cfg.in 2018-09-14 13:47:57.624296953 +0200
|
|
@@ -40,7 +40,7 @@
|
|
# number. The file is only written if the NRPE daemon is started by the root
|
|
# user and is running in standalone mode.
|
|
|
|
-pid_file=@piddir@/nrpe.pid
|
|
+pid_file=@piddir@/nrpe4.pid
|
|
|
|
|
|
|
|
@@ -119,7 +119,7 @@
|
|
#
|
|
# Values: 0=do not allow arguments, 1=allow command arguments
|
|
|
|
-dont_blame_nrpe=0
|
|
+dont_blame_nrpe=1
|
|
|
|
|
|
|
|
@@ -300,7 +300,7 @@
|
|
command[check_hda1]=@pluginsdir@/check_disk -w 20% -c 10% -p /dev/hda1
|
|
command[check_zombie_procs]=@pluginsdir@/check_procs -w 5 -c 10 -s Z
|
|
command[check_total_procs]=@pluginsdir@/check_procs -w 150 -c 200
|
|
-
|
|
+command[check_centreon_plugins]=/usr/lib/centreon/plugins/centreon_linux_local.pl --plugin=$ARG1$ --mode=$ARG2$ $ARG3$
|
|
|
|
# The following examples allow user-supplied arguments and can
|
|
# only be used if the NRPE daemon was compiled with support for
|