1
0
mirror of https://github.com/opinkerfi/nagios-plugins.git synced 2024-11-21 18:03:45 +01:00

Merge branch 'master' of github.com:opinkerfi/nagios-plugins

This commit is contained in:
Pall Sigurdsson 2013-05-27 17:47:28 +00:00
commit 5482a7e25c
2 changed files with 18 additions and 3 deletions

View File

@ -2,8 +2,8 @@
Summary: A Nagios plugin to check yum updates via NRPE Summary: A Nagios plugin to check yum updates via NRPE
Name: nagios-okplugin-check_yum Name: nagios-okplugin-check_yum
Version: 0.8.0 Version: 0.8.2
Release: 2%{?dist} Release: 1%{?dist}
License: GPLv2+ License: GPLv2+
Group: Applications/System Group: Applications/System
URL: http://opensource.is/trac/wiki/check_yum URL: http://opensource.is/trac/wiki/check_yum
@ -24,11 +24,13 @@ A Nagios plugin to check for updates using yum via NRPE
%build %build
perl -pi -e "s|/usr/lib|%{_libdir}|g" sudoers.d/check_yum perl -pi -e "s|/usr/lib|%{_libdir}|g" sudoers.d/check_yum
perl -pi -e "s|/usr/lib|%{_libdir}|g" nrpe.d/check_yum.cfg
%install %install
rm -rf %{buildroot} rm -rf %{buildroot}
install -D -p -m 0755 check_yum %{buildroot}%{_libdir}/nagios/plugins/check_yum install -D -p -m 0755 check_yum %{buildroot}%{_libdir}/nagios/plugins/check_yum
install -D -p -m 0440 sudoers.d/check_yum %{buildroot}/etc/sudoers.d/check_yum install -D -p -m 0440 sudoers.d/check_yum %{buildroot}/etc/sudoers.d/check_yum
install -D -p -m 0644 nrpe.d/check_yum.cfg %{buildroot}/etc/nrpe.d/check_yum.cfg
%clean %clean
@ -40,7 +42,20 @@ rm -rf %{buildroot}
#%{_libdir}/nagios/plugins/* #%{_libdir}/nagios/plugins/*
%{_libdir}/nagios/plugins/check_yum %{_libdir}/nagios/plugins/check_yum
/etc/sudoers.d/check_yum /etc/sudoers.d/check_yum
/etc/nrpe.d/check_yum.cfg
%changelog %changelog
* Mon May 27 2013 Tomas Edwardsson <tommi@tommi.org> 0.8.2-1
- Fixed nrpe with invalid libdir (tommi@tommi.org)
* Mon May 27 2013 Tomas Edwardsson <tommi@tommi.org> 0.8.1-1
- Added missing nrpe config (tommi@tommi.org)
- Initial rpm packaging (tommi@tommi.org)
- fix for changed output in list-security query (pall.valmundsson@gmail.com)
- Merge branch 'master' of github.com:opinkerfi/misc (palli@opensource.is)
- Added perfdata and longoutput with ERRATA IDs (tommi@tommi.org)
- Added perfdata and longoutput with ERRATA IDs (tommi@tommi.org)
- Updated to new upstream release (tommi@tommi.org)
* Tue Apr 16 2013 Tomas Edwardsson <tommi@opensource.is> 0.8.0-2 * Tue Apr 16 2013 Tomas Edwardsson <tommi@opensource.is> 0.8.0-2
- Initial packaging - Initial packaging

View File

@ -1 +1 @@
0.7.4-2 check_yum/ 0.8.2-1 check_yum/