File nrpe-config.patch of Package nrpe

--- sample-config/nrpe.cfg.in.orig	2010-04-20 09:02:50.459690200 +0200
+++ sample-config/nrpe.cfg.in	2010-04-20 09:03:38.218535336 +0200
@@ -113,7 +113,7 @@
 # without asking for a password.  If you do this, make sure you don't give
 # random users write access to that directory or its contents!
 
-# command_prefix=/usr/bin/sudo 
+command_prefix=/usr/bin/sudo 
 
 
 
@@ -213,3 +213,13 @@
 #command[check_load]=@libexecdir@/check_load -w $ARG1$ -c $ARG2$
 #command[check_disk]=@libexecdir@/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$
 #command[check_procs]=@libexecdir@/check_procs -w $ARG1$ -c $ARG2$ -s $ARG3$
+
+#
+# local configuration:
+#       if you'd prefer, you can instead place directives here
+include=/etc/nagios/nrpe_local.cfg
+
+#
+# you can place your config snipplets into nrpe.d/
+include_dir=/etc/nagios/nrpe.d/
+
openSUSE Build Service is sponsored by