2010-10-30 15:13:40 +02:00
|
|
|
%define debug_package %{nil}
|
|
|
|
|
|
|
|
Summary: A Nagios plugin to check disks via NRPE
|
|
|
|
Name: nagios-okplugin-check_disks
|
2012-05-16 12:20:19 +02:00
|
|
|
Version: 1.0.3
|
2012-03-12 17:08:57 +01:00
|
|
|
Release: 1%{?dist}
|
2010-10-30 15:13:40 +02:00
|
|
|
License: GPLv2+
|
|
|
|
Group: Applications/System
|
|
|
|
URL: http://opensource.is/trac/wiki/check_disks
|
|
|
|
Source0: http://opensource.ok.is/trac/browser/nagios-plugins/check_eva/releases/nagios-okplugin-check_disks-%{version}.tar.gz
|
2011-10-16 19:35:58 +02:00
|
|
|
Requires: nagios-plugins-nrpe
|
2010-10-30 15:13:40 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
Packager: Pall Sigurdsson <palli@opensource.is>
|
2011-10-16 19:35:58 +02:00
|
|
|
BuildArch: noarch
|
2010-10-30 15:13:40 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
A Nagios plugin to check disks via NRPE
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
perl -pi -e "s|/usr/lib|%{_libdir}|g" check_disks.pl
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
install -D -p -m 0755 check_disks.pl %{buildroot}%{_libdir}/nagios/plugins/check_disks.pl
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
#%doc README LICENSE
|
|
|
|
#%{_libdir}/nagios/plugins/*
|
|
|
|
%{_libdir}/nagios/plugins/check_disks.pl
|
|
|
|
|
|
|
|
%changelog
|
2012-05-16 12:20:19 +02:00
|
|
|
* Wed May 16 2012 Tomas Edwardsson <tommi@tommi.org> 1.0.3-1
|
|
|
|
- Updated version of nagios-okplugin-check_disks (tommi@tommi.org)
|
|
|
|
- Issue #56, temporary fix for selinux and disk checks (tommi@tommi.org)
|
|
|
|
|
2012-05-16 12:08:37 +02:00
|
|
|
* Mon May 16 2012 Tomas Edwardsson <tommi@opensource.is> 1.0.2-1
|
|
|
|
- Ignore warning states from nrpe
|
|
|
|
|
2012-03-12 17:08:57 +01:00
|
|
|
* Mon Mar 12 2012 Pall Sigurdsson <palli@opensource.is> 1.0.1-1
|
|
|
|
- new package built with tito
|
|
|
|
|
2011-10-16 19:35:58 +02:00
|
|
|
* Sun Oct 16 2011 Tomas Edwardsson <tommi@opensource.is> 0.1-2
|
|
|
|
- Fixed dependencies and build arch
|
|
|
|
|
2010-10-30 15:13:40 +02:00
|
|
|
* Mon Mar 1 2010 Pall Sigurdsson <palli@opensource.is> 0.1-1
|
|
|
|
- Initial packaging
|