Group :: Monitoring
RPM: nagios-nrpe
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: nrpe-2.5.2-alt-config.patch
Download
Download
diff -ruN nrpe-2.5.2.orig/sample-config/nrpe.cfg.in nrpe-2.5.2/sample-config/nrpe.cfg.in
--- nrpe-2.5.2.orig/sample-config/nrpe.cfg.in 2006-02-24 08:48:26 +1000
+++ nrpe-2.5.2/sample-config/nrpe.cfg.in 2006-07-01 21:55:11 +1100
@@ -177,12 +177,12 @@
# The following examples use hardcoded command arguments...
-command[check_users]=@libexecdir@/check_users -w 5 -c 10
-command[check_load]=@libexecdir@/check_load -w 15,10,5 -c 30,25,20
-command[check_disk1]=@libexecdir@/check_disk -w 20 -c 10 -p /dev/hda1
-command[check_disk2]=@libexecdir@/check_disk -w 20 -c 10 -p /dev/hdb1
-command[check_zombie_procs]=@libexecdir@/check_procs -w 5 -c 10 -s Z
-command[check_total_procs]=@libexecdir@/check_procs -w 150 -c 200
+#command[check_users]=@libexecdir@/check_users -w 5 -c 10
+#command[check_load]=@libexecdir@/check_load -w 15,10,5 -c 30,25,20
+#command[check_disk1]=@libexecdir@/check_disk -w 20 -c 10 -p /dev/hda1
+#command[check_disk2]=@libexecdir@/check_disk -w 20 -c 10 -p /dev/hdb1
+#command[check_zombie_procs]=@libexecdir@/check_procs -w 5 -c 10 -s Z
+#command[check_total_procs]=@libexecdir@/check_procs -w 150 -c 200
# The following examples allow user-supplied arguments and can
# only be used if the NRPE daemon was compiled with support for
diff -ruN nrpe-2.5.2.orig/sample-config/nrpe.xinetd.in nrpe-2.5.2/sample-config/nrpe.xinetd.in
--- nrpe-2.5.2.orig/sample-config/nrpe.xinetd.in 2006-04-18 07:59:13 +1100
+++ nrpe-2.5.2/sample-config/nrpe.xinetd.in 2006-07-01 21:57:12 +1100
@@ -1,15 +1,16 @@
-# default: on
+# default: off
# description: NRPE (Nagios Remote Plugin Executor)
service nrpe
{
- flags = REUSE
- socket_type = stream
- wait = no
- user = @nrpe_user@
- group = @nrpe_grp@
- server = @bindir@/nrpe
- server_args = -c @sysconfdir@/nrpe.cfg --inetd
- log_on_failure += USERID
- disable = no
- only_from = 127.0.0.1
+ disable = yes
+ flags = REUSE
+ type = UNLISTED
+ port = @nrpe_port@
+ socket_type = stream
+ wait = no
+ user = @nrpe_user@
+ group = @nrpe_grp@
+ server = @sbindir@/nrpe
+ server_args = -c @sysconfdir@/nagios/nrpe.cfg --inetd
+ only_from = 127.0.0.1
}