2010-08-12 00:28:59 +02:00
|
|
|
%define debug_package %{nil}
|
|
|
|
|
|
|
|
Summary: A Nagios plugin to check APC devices
|
|
|
|
Name: nagios-okplugin-apc
|
2014-03-20 09:10:31 +01:00
|
|
|
Version: 2.1.1
|
2010-08-12 00:28:59 +02:00
|
|
|
Release: 1%{?dist}
|
|
|
|
License: GPLv2+
|
|
|
|
Group: Applications/System
|
|
|
|
URL: http://opensource.ok.is/trac/wiki/Nagios-OKPlugin-APC
|
|
|
|
Source0: http://opensource.ok.is/trac/browser/nagios-plugins/check_apcext.pl/releases/nagios-okplugin-apc-%{version}.tar.gz
|
|
|
|
Requires: nagios-plugins
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
Packager: Tomas Edwardsson <tommi@ok.is>
|
2012-04-20 16:39:47 +02:00
|
|
|
BuildArch: noarch
|
2010-08-12 00:28:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
Checks APC devices, both netbotz and UPS
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
#perl -pi -e "s|/usr/lib|%{_libdir}|g" check_sip
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
install -D -p -m 0755 check_apcext.pl %{buildroot}%{_libdir}/nagios/plugins/check_apcext.pl
|
2010-08-13 16:37:24 +02:00
|
|
|
install -D -p -m 0755 check_snmp_apc_ups %{buildroot}%{_libdir}/nagios/plugins/check_snmp_apc_ups
|
2010-08-12 00:28:59 +02:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc README
|
|
|
|
%{_libdir}/nagios/plugins/*
|
|
|
|
|
|
|
|
%changelog
|
2014-03-20 09:10:31 +01:00
|
|
|
* Thu Mar 20 2014 Tomas Edwardsson <tommi@tommi.org> 2.1.1-1
|
|
|
|
- Merge github.com:opinkerfi/misc (palli@opensource.is)
|
|
|
|
- Use the right value for the job nbmstemp (tommi@tommi.org)
|
|
|
|
- Fixed metric conversion for all mibs (tommi@opensource.is)
|
|
|
|
- Added fahrenheit to celsius conversion (tommi@tommi.org)
|
|
|
|
|
2012-08-23 12:49:04 +02:00
|
|
|
* Thu Aug 23 2012 Pall Sigurdsson <palli@opensource.is> 2.1.0-1
|
|
|
|
- Version number bumped to 2.1.0 (palli@opensource.is)
|
|
|
|
- Added noarch buildarch (tommi@tommi.org)
|
|
|
|
|
2012-03-12 17:08:55 +01:00
|
|
|
* Mon Mar 12 2012 Pall Sigurdsson <palli@opensource.is> 0.0.3-1
|
|
|
|
- new package built with tito
|
|
|
|
|
2010-08-12 00:28:59 +02:00
|
|
|
* Mon Mar 1 2010 Tomas Edwardsson <tommi@ok.is> 0.1-1
|
|
|
|
- Initial packaging
|