mirror of
https://github.com/opinkerfi/nagios-plugins.git
synced 2024-11-24 03:13:47 +01:00
67 lines
2.0 KiB
RPMSpec
67 lines
2.0 KiB
RPMSpec
%define debug_package %{nil}
|
|
|
|
Summary: A Nagios plugin to check IBM Bladecenters
|
|
Name: nagios-okplugin-check_ibm_bladecenter
|
|
Version: 4
|
|
Release: 1%{?dist}
|
|
License: GPLv2+
|
|
Group: Applications/System
|
|
URL: http://opensource.ok.is/trac/wiki/Nagios-OKPlugin-check_ibm_bladecenter
|
|
Source0: http://opensource.ok.is/trac/browser/nagios-plugins/check_ibm_bladecenter/releases/%{name}-%{version}.tar.gz
|
|
Requires: nagios-plugins
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
Packager: Pall Sigurdsson <palli@opensource.is>
|
|
BuildArch: noarch
|
|
Requires: nrpe
|
|
|
|
|
|
%description
|
|
Checks the health status of an IBM Bladecenter via SNMP
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
|
|
|
|
%install
|
|
rm -rf %{buildroot}
|
|
install -D -p -m 0755 check_ibm_bladecenter.py %{buildroot}%{_libdir}/nagios/plugins/check_ibm_bladecenter.py
|
|
#mkdir -p %{buildroot}%{_sysconfdir}/nrpe.d
|
|
#sed "s^/usr/lib64^%{_libdir}^g" nrpe.d/check_bond.cfg > %{buildroot}%{_sysconfdir}/nrpe.d/check_bond.cfg
|
|
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc README
|
|
%{_libdir}/nagios/plugins/*
|
|
#%config(noreplace) %{_sysconfdir}/nrpe.d/check_bond.cfg
|
|
|
|
%changelog
|
|
* Fri Feb 21 2014 Pall Sigurdsson <palli@opensource.is> 4-1
|
|
-
|
|
|
|
* Fri Feb 21 2014 Unknown name 3-1
|
|
- Merge branch 'master' of github.com:opinkerfi/nagios-plugins
|
|
(palli@opensource.is)
|
|
- ibm_bladecenter - another firmware bug workaround (palli@opensource.is)
|
|
- pep8 fixes (palli@opensource.is)
|
|
- Fix workaround for firmware bug (palli@opensource.is)
|
|
|
|
* Thu Feb 20 2014 Pall Sigurdsson <palli@opensource.is> 2-1
|
|
- Merge branch 'master' of github.com:opinkerfi/misc (palli@opensource.is)
|
|
- --exclude option added. Added workaround around false positives
|
|
(palli@opensource.is)
|
|
|
|
* Thu Aug 23 2012 Pall Sigurdsson <palli@opensource.is> 1.1.2-3
|
|
- version number of scripts bumped (palli@opensource.is)
|
|
|
|
* Thu Aug 23 2012 Pall Sigurdsson <palli@opensource.is> 1.1.2-2
|
|
- rpm spec file added. version number bumped (palli@opensource.is)
|
|
|
|
|
|
* Tue Jul 17 2012 Pall Sigurdsson 1.0.0-1
|
|
- Initial packaging
|