Accepting request 641075 from server:monitoring

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/641075
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/monitoring-plugins-bonding?expand=0&rev=7
This commit is contained in:
Dominique Leuenberger 2018-10-11 09:59:08 +00:00 committed by Git OBS Bridge
commit d09fed1976
3 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Oct 3 14:00:38 UTC 2018 - lars@linux-schulserver.de
- add nrpe config snipplet: /etc/nrpe.d/check_bonding.cfg
=> nrpe-check_bonding
-------------------------------------------------------------------
Thu Jul 26 01:12:10 CEST 2018 - ro@suse.de

View File

@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@ -25,6 +25,7 @@ Group: System/Monitoring
Url: http://www.monitoringexchange.org/inventory/Check-Plugins/Operating-Systems/Linux/Network-Bonding
Source0: check_bonding.pl
Source1: usr.lib.nagios.plugins.check_bonding
Source2: nrpe-check_bonding
BuildRequires: nagios-rpm-macros
Provides: nagios-plugins-bonding = %{version}-%{release}
Obsoletes: nagios-plugins-bonding < %{version}-%{release}
@ -50,6 +51,7 @@ Nagios (or similar) to check.
%install
install -D -m755 %{SOURCE0} %{buildroot}%{nagios_plugindir}/check_bonding
install -D -m644 %{SOURCE1} %{buildroot}%{_sysconfdir}/apparmor.d/usr.lib.nagios.plugins.check_bonding
install -D -m644 %{SOURCE2} %{buildroot}%{nrpe_sysconfdir}/check_bonding.cfg
%clean
rm -rf %{buildroot}
@ -59,8 +61,10 @@ rm -rf %{buildroot}
# avoid build dependecy of nagios - own the dirs
%dir %{nagios_libdir}
%dir %{nagios_plugindir}
%dir %{nrpe_sysconfdir}
%{nagios_plugindir}/check_bonding
%dir %{_sysconfdir}/apparmor.d
%config(noreplace) %{_sysconfdir}/apparmor.d/usr.lib.nagios.plugins.check_bonding
%config(noreplace) %{nrpe_sysconfdir}/check_bonding.cfg
%changelog

1
nrpe-check_bonding Normal file
View File

@ -0,0 +1 @@
command[check_bonding]=/usr/lib/nagios/plugins/check_bonding