commit nagios-plugins for openSUSE:Factory
Hello community,
here is the log from the commit of package nagios-plugins for openSUSE:Factory
checked in at Wed Mar 4 15:40:40 CET 2009.
--------
--- nagios-plugins/nagios-plugins.changes 2008-09-25 12:58:45.000000000 +0200
+++ nagios-plugins/nagios-plugins.changes 2009-03-04 15:38:21.000000000 +0100
@@ -1,0 +2,5 @@
+Wed Mar 4 15:37:17 CET 2009 - lrupp@suse.de
+
+- added accidentally removed README and example again
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
New:
----
nagios-plugins-permissions
nagios-plugins-README.SuSE
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ nagios-plugins.spec ++++++
--- /var/tmp/diff_new_pack.A10437/_old 2009-03-04 15:40:05.000000000 +0100
+++ /var/tmp/diff_new_pack.A10437/_new 2009-03-04 15:40:05.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package nagios-plugins (Version 1.4.13)
#
-# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2009 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
@@ -21,7 +21,7 @@
Name: nagios-plugins
Summary: The Nagios Plug-Ins
Version: 1.4.13
-Release: 1
+Release: 2
Url: http://nagiosplug.sourceforge.net/
License: GPL v2 or later
Group: System/Monitoring
@@ -45,6 +45,8 @@
%endif
Source0: nagios-plugins-%{version}.tar.bz2
Source10: nagios-plugins.check_xenvm.sh
+Source11: nagios-plugins-permissions
+Source12: nagios-plugins-README.SuSE
#Patch2: nagios-plugins-1.4.5-check_fping.c.patch
#Patch3: nagios-plugins-1.4.5-check_mysql.c.patch
#Patch4: nagios-plugins-1.4.5-check_mysql_query.c.patch
@@ -138,6 +140,10 @@
s|use lib "/usr/local/nagios/libexec".*;|use lib "%libexecdir";|g' $file
done
popd
+mkdir -p %buildroot/%_defaultdocdir/%{name}
+install -Dm644 %{SOURCE11} %buildroot/%_defaultdocdir/%{name}/example/permissions.d/nagios-plugins
+install -m644 ACKNOWLEDGEMENTS AUTHORS BUGS CODING COPYING ChangeLog NEWS README FAQ SUPPORT REQUIREMENTS THANKS LEGAL %buildroot/%_defaultdocdir/%{name}/
+install -m644 %{SOURCE12} %buildroot/%_defaultdocdir/%{name}/
%find_lang %name
%clean
@@ -145,8 +151,7 @@
%files -f %name.lang
%defattr(-,root,root)
-%doc ACKNOWLEDGEMENTS AUTHORS BUGS CODING COPYING ChangeLog NEWS README FAQ SUPPORT
-%doc REQUIREMENTS THANKS LEGAL
+%doc %_defaultdocdir/%{name}
%dir %_sysconfdir/nagios
%dir %_prefix/lib/nagios
%dir %libexecdir
@@ -231,6 +236,8 @@
%libexecdir/check_game
%changelog
+* Wed Mar 04 2009 lrupp@suse.de
+- added accidentally removed README and example again
* Thu Sep 25 2008 cschneemann@suse.de
- update to 1.4.13:
+ Fix Debian bug #460097: check_http --max-age broken (Hilko Bengen)
@@ -442,7 +449,7 @@
* check_mysql_query added to run arbitrary SQL commands,
with threshold checking
* new check_clamd
-* Sat Jun 17 2006 schwab@suse.de
+* Fri Jun 16 2006 schwab@suse.de
- Fix syntax error in configure script.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
@@ -486,7 +493,7 @@
(Bug #20559)
- removed Requires: nagios because it is also possible
to use it with nagios-nrpe
-* Thu Aug 01 2002 ro@suse.de
+* Wed Jul 31 2002 ro@suse.de
- use openldap2 as neededforbuild
* Tue Jul 09 2002 stark@suse.de
- added patch to be able to connect via SNMPv3 (check_snmp)
++++++ nagios-plugins-permissions ++++++
# @@libexecdir@@/check_dhcp root.root 4755
# @@libexecdir@@/check_ide_smart root.root 4755
++++++ nagios-plugins-README.SuSE ++++++
README.SuSE for nagios-plugins
== Features and documentation ==
Please refer to the upstream documentation on
* http://www.nagios.org/docs/
* http://nagiosplugins.org/
* http://www.nagioscommunity.org/wiki/index.php/Main_Page
The openSUSE package contains most of the currently available plugins.
All plugins are installed in ''/usr/lib/nagios/plugins/'' on every architecture.
== Plugins needing special privileges ==
There are at least three check scripts that need root privileges to run:
* check_dhcp
* check_icmp
* check_ide_smart
To be "safe per default", SuSE doesn't install these plugins with the
suid bit set. There are two recommended ways about overriding this on
your system:
=== Set the suid bit ===
Note: Please choose only those examples you need.
* change the group ownership to the users primary group that executes this check (normally nagios):
chgrp nagios /usr/lib/nagios/plugins/check_dhcp
chgrp nagios /usr/lib/nagios/plugins/check_icmp
chgrp nagios /usr/lib/nagios/plugins/check_ide_smart
* set the suid bit so the plugin is executed as root:
chmod 4750 /usr/lib/nagios/plugins/check_dhcp
chmod 4750 /usr/lib/nagios/plugins/check_icmp
chmod 4750 /usr/lib/nagios/plugins/check_ide_smart
=== Use sudo to grant the permission and modify your plugin config ===
This way you need entries like:
nagios ALL = NOPASSWD: /usr/lib/nagios/plugins/check_dhcp
nagios ALL = NOPASSWD: /usr/lib/nagios/plugins/check_icmp
nagios ALL = NOPASSWD: /usr/lib/nagios/plugins/check_ide_smart
in ''/etc/sudoers'' and an adapted command definition like the following:
define command{
command_name check_dhcp
command_line /usr/bin/sudo $USER1$/check_dhcp
participants (1)
-
root@Hilbert.suse.de