Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

76 lines (55 sloc) 1.881 kB
Name: nagios-plugins-rabbitmq
Version: 1.0.3
Release: 1%{?dist}
Summary: Nagios checks for RabbitMQ
Group: Applications/System
License: ASL 2.0
URL: http://github.com/jamesc/nagios-plugins-rabbitmq
Source0: nagios-plugins-rabbitmq-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
# Correct for lots of packages, other common choices include eg. Module::Build
BuildRequires: perl(Module::Build)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Requires: perl(JSON)
Requires: perl(Nagios::Plugin)
Requires: perl(LWP::UserAgent)
Requires: perl(Getopt::Long)
Requires: perl(Pod::Usage)
%{?perl_default_filter}
%description
Nagios checks for RabbitMQ messaging server.
These use the RabbitMQ management interface for gathering various
information about the server
%prep
%setup -q
%build
%{__perl} Build.PL --installdirs=vendor
Build
%install
rm -rf $RPM_BUILD_ROOT
Build pure_install --destdir=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
%{_fixperms} $RPM_BUILD_ROOT/*
%check
Build test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc LICENSE.txt README.md
%{_bindir}/*
%{_mandir}/man1/*.1*
%changelog
* Wed Oct 26 2011 James Casey <jamesc.000@gmail.com> 1.0.4-1
- added check_rabbitmq_queue
* Wed Sep 07 2011 James Casey <jamesc.000@gmail.com> 1.0.3-1
- Added extra Basic Auth domain for rabbitmq 2.6.0
Thanks to Bill Gerrard for spotting it
* Mon Jun 06 2011 James Casey <jamesc.000@gmail.com> 1.0.2-1
- Build fixes
* Wed Jan 12 2011 James Casey <jamesc.000@gmail.com> 1.0.1-1
- Add more checks
* Sun Jan 09 2011 James Casey <jamesc.000@gmail.com> 1.0.0-1
- Initial version
Jump to Line
Something went wrong with that request. Please try again.