Hello community,

here is the log from the commit of package nrpe for openSUSE:Factory checked in 
at 2014-02-19 07:20:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nrpe (Old)
 and      /work/SRC/openSUSE:Factory/.nrpe.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nrpe"

Changes:
--------
--- /work/SRC/openSUSE:Factory/nrpe/nrpe.changes        2013-09-27 
17:52:08.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.nrpe.new/nrpe.changes   2014-02-19 
07:20:57.000000000 +0100
@@ -1,0 +2,5 @@
+Thu Feb  6 15:55:32 UTC 2014 - l...@linux-schulserver.de
+
+- install an example check_nrpe.cfg definition in /etc/nagios/objects
+
+-------------------------------------------------------------------

New:
----
  check_nrpe.cfg

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ nrpe.spec ++++++
--- /var/tmp/diff_new_pack.Yd2q8X/_old  2014-02-19 07:20:58.000000000 +0100
+++ /var/tmp/diff_new_pack.Yd2q8X/_new  2014-02-19 07:20:58.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package nrpe
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -34,6 +34,7 @@
 Source2:        nagios-nrpe-rpmlintrc
 Source3:        nagios-nrpe-SuSEfirewall2
 Source4:        nrpe.8
+Source5:        check_nrpe.cfg
 Source10:       README.SuSE
 # PATCH-FIX-openSUSE place the service disabled in the directory
 Patch1:         nrpe-xinetd.patch
@@ -221,6 +222,9 @@
 EOF
 install -Dm0644 nrpe_check_control.cfg 
%{buildroot}%{nagios_sysconfdir}/objects/nrpe_check_control.cfg
 
+# install simple nrpe.cfg for the Nagios server in the objects directory
+install -Dm644 %{SOURCE5} 
%{buildroot}%{nagios_sysconfdir}/objects/check_nrpe.cfg
+
 %pre
 # Create user and group on the system if necessary
 %nagios_user_group_add
@@ -311,6 +315,7 @@
 %attr(0755,root,%{nagios_command_group})           %dir %{nagios_sysconfdir}
 %attr(0755,root,%{nagios_command_group})           %dir 
%{nagios_sysconfdir}/objects
 %config(noreplace) %{nagios_sysconfdir}/objects/nrpe_check_control.cfg
+%config(noreplace) %{nagios_sysconfdir}/objects/check_nrpe.cfg
 %{nagios_plugindir}/check_nrpe
 %{nagios_plugindir}/nrpe_check_control
 

++++++ check_nrpe.cfg ++++++
# Please note that the service nrpe should be up and running on your client
# and allowing the Nagios server access (to port 5666).
#
# Please have a look at /etc/nrpe.cfg on the client to see which 'command'
# you can execute (use the name in the bracket behind the command argument
# as $ARG1$).

# this command runs command $ARG1$
define command {
    command_name    check_nrpe
    command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$
}

# this command runs command $ARG1$ with one argument
# please note that you need to set
# dont_blame_nrpe=1
# in your nrpe.cfg on the client to allow specifying arguments to commands 
# that are executed via nrpe. 
# *** ENABLING THIS OPTION on the client IS A SECURITY RISK! ***
define command {
    command_name    check_nrpe_with_arg
    command_line    $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ -a $ARG2$
}

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to