--- nagios-plugins-rabbitmq-1.2.0.orig/Build.PL +++ nagios-plugins-rabbitmq-1.2.0/Build.PL @@ -20,7 +20,7 @@ "Getopt::Long" => 0, }, recommends => { - "Nagios::Plugin" => "0.33", + "Monitoring::Plugin" => "0.37", }, configure_requires => { "Module::Build" => 0, --- nagios-plugins-rabbitmq-1.2.0.orig/debian/changelog +++ nagios-plugins-rabbitmq-1.2.0/debian/changelog @@ -0,0 +1,76 @@ +nagios-plugins-rabbitmq (1:1.2.0-2.4) unstable; urgency=medium + + * Non-maintainer upload. + * Using new DH level format. Consequently: + - debian/compat: removed. + - debian/control: changed from 'debhelper' to 'debhelper-compat' in + Build-Depends field and bumped level to 13. + - Closes: #965742 + + -- Guilherme de Paula Xavier Segundo Thu, 21 Apr 2022 10:46:52 -0300 + +nagios-plugins-rabbitmq (1:1.2.0-2.3) unstable; urgency=medium + + * Non maintainer upload by the Reproducible Builds team. + * No source change upload to rebuild on buildd with .buildinfo files. + + -- Holger Levsen Tue, 05 Jan 2021 16:22:06 +0100 + +nagios-plugins-rabbitmq (1:1.2.0-2.2) unstable; urgency=medium + + * Non-maintainer upload. + * Change Nagios::Plugin with Monitoring::Plugin (Closes: #806228) + * Replace Depends on libnagios-plugin-perl with libmonitoring-plugin-perl + + -- Salvatore Bonaccorso Thu, 08 Dec 2016 12:41:43 +0100 + +nagios-plugins-rabbitmq (1:1.2.0-2.1) unstable; urgency=medium + + * Non-maintainer upload. + * Fix "should depend on libjson-perl": + add libjson-perl to Depends. + (Closes: #758723) + * Also add libwww-perl and liburi-perl to Depends, which are also required. + * Fix "FTBFS with perl 5.22 (Module::Build)": + add libmodule-build-perl to Build-Depends. + (Closes: #789637) + + -- gregor herrmann Sat, 25 Jul 2015 20:50:27 +0200 + +nagios-plugins-rabbitmq (1:1.2.0-2) unstable; urgency=medium + + * debian/postrm: reload nagios-nrpe-server only if needed (closes: + #749232). + + -- Cyril Bouthors Wed, 16 Jul 2014 15:48:54 +0200 + +nagios-plugins-rabbitmq (1:1.2.0-1) unstable; urgency=medium + + * New upstream release. + + -- Cyril Bouthors Tue, 08 Jul 2014 11:30:58 +0200 + +nagios-plugins-rabbitmq (1.1.0-4) unstable; urgency=medium + + * debian/postinst: reload nagios-nrpe-server if needed (closes: + #749232). + + -- Cyril Bouthors Tue, 24 Jun 2014 16:14:10 +0200 + +nagios-plugins-rabbitmq (1.1.0-3) unstable; urgency=medium + + * Fixed debian/copyright. + + -- Cyril Bouthors Thu, 17 Apr 2014 11:17:04 +0200 + +nagios-plugins-rabbitmq (1.1.0-2) unstable; urgency=medium + + * Fixed queue checking + + -- Cyril Bouthors Wed, 16 Apr 2014 15:22:22 +0200 + +nagios-plugins-rabbitmq (1.1.0-1) unstable; urgency=low + + * Initial release (closes: #744861). + + -- Cyril Bouthors Tue, 15 Apr 2014 17:13:13 +0200 --- nagios-plugins-rabbitmq-1.2.0.orig/debian/control +++ nagios-plugins-rabbitmq-1.2.0/debian/control @@ -0,0 +1,23 @@ +Source: nagios-plugins-rabbitmq +Section: net +Priority: optional +Maintainer: Cyril Bouthors +Uploaders: Cyril Bouthors , Cyril Bouthors +Build-Depends: debhelper-compat (= 13), rsync, libmodule-build-perl +Standards-Version: 3.9.5 + +Package: nagios-plugins-rabbitmq +Architecture: all +Depends: ${shlibs:Depends}, + ${misc:Depends}, + libjson-perl, + libmonitoring-plugin-perl, + liburi-perl, + libwww-perl +Suggests: rabbitmq-server +Description: Set of Nagios checks useful for monitoring a RabbitMQ server + They use the RabbitMQ management interface with is over HTTP and therefore have + a very light profile on the nagios server. + . + See the [documentation](http://www.rabbitmq.com/management.html) on the + RabbitMQ management interface for more details on what it provides. --- nagios-plugins-rabbitmq-1.2.0.orig/debian/copyright +++ nagios-plugins-rabbitmq-1.2.0/debian/copyright @@ -0,0 +1,20 @@ +This package was debianized by Cyril Bouthors on +Tue Apr 15 17:16:07 CEST 2014 + +It was downloaded from + +Upstream Author: + + James Casey + +Copyright: + + + +License: + +The original tarball is licensed under the Apache License Version 2.0, January +2004, see `/usr/share/common-licenses/Apache-2.0`. + +The Debian packaging is (C) 2014, Cyril Bouthors and is +licensed under the GPL, see `/usr/share/common-licenses/GPL'. --- nagios-plugins-rabbitmq-1.2.0.orig/debian/postinst +++ nagios-plugins-rabbitmq-1.2.0/debian/postinst @@ -0,0 +1,36 @@ +#!/bin/sh +# +# Copyright (C) 2009-2014 Cyril Bouthors +# +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU General Public License as published by the Free Software +# Foundation, either version 3 of the License, or (at your option) any later +# version. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# this program. If not, see . +# + +set -e + +# Reload NRPE if needed +if [ -f /etc/init.d/nagios-nrpe-server ] +then + if which invoke-rc.d >/dev/null 2>&1 + then + invoke-rc.d nagios-nrpe-server reload + else + /etc/init.d/nagios-nrpe-server reload + fi +fi + +if [ "$1" != "configure" ] +then + exit 0 +fi + +#DEBHELPER# --- nagios-plugins-rabbitmq-1.2.0.orig/debian/postrm +++ nagios-plugins-rabbitmq-1.2.0/debian/postrm @@ -0,0 +1,31 @@ +#!/bin/sh +# +# Copyright (C) 2009-2014 Cyril Bouthors +# +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU General Public License as published by the Free Software +# Foundation, either version 3 of the License, or (at your option) any later +# version. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along with +# this program. If not, see . +# + +set -e + +# Reload NRPE if needed +if [ -f /etc/init.d/nagios-nrpe-server ] +then + if which invoke-rc.d >/dev/null 2>&1 + then + invoke-rc.d nagios-nrpe-server reload + else + /etc/init.d/nagios-nrpe-server reload + fi +fi + +#DEBHELPER# --- nagios-plugins-rabbitmq-1.2.0.orig/debian/rules +++ nagios-plugins-rabbitmq-1.2.0/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ --- nagios-plugins-rabbitmq-1.2.0.orig/debian/source/format +++ nagios-plugins-rabbitmq-1.2.0/debian/source/format @@ -0,0 +1 @@ +1.0 --- nagios-plugins-rabbitmq-1.2.0.orig/scripts/check_rabbitmq_aliveness +++ nagios-plugins-rabbitmq-1.2.0/scripts/check_rabbitmq_aliveness @@ -12,7 +12,7 @@ use strict; use warnings; -use Nagios::Plugin ; +use Monitoring::Plugin ; use LWP::UserAgent; use URI::Escape; use JSON; @@ -31,8 +31,8 @@ # http://nagiosplug.sourceforge.net/developer-guidelines.html#PLUGOPTIONS -# Instantiate Nagios::Plugin object (the 'usage' parameter is mandatory) -my $p = Nagios::Plugin->new( +# Instantiate Monitoring::Plugin object (the 'usage' parameter is mandatory) +my $p = Monitoring::Plugin->new( usage => "Usage: %s [options] -H hostname", license => "", version => $VERSION, @@ -134,7 +134,7 @@ Use the management interface of RabbitMQ to check that the server is alive. It declares a test queue, then publishes and consumes a message. -It uses Nagios::Plugin and accepts all standard Nagios options. +It uses Monitoring::Plugin and accepts all standard Nagios options. =head1 OPTIONS @@ -208,7 +208,7 @@ =head1 SEE ALSO -See Nagios::Plugin(3) +See Monitoring::Plugin(3) The RabbitMQ management plugin is described at http://www.rabbitmq.com/management.html --- nagios-plugins-rabbitmq-1.2.0.orig/scripts/check_rabbitmq_connections +++ nagios-plugins-rabbitmq-1.2.0/scripts/check_rabbitmq_connections @@ -7,8 +7,8 @@ use strict; use warnings; -use Nagios::Plugin qw(OK CRITICAL WARNING UNKNOWN); -use Nagios::Plugin::Functions qw(%STATUS_TEXT); +use Monitoring::Plugin qw(OK CRITICAL WARNING UNKNOWN); +use Monitoring::Plugin::Functions qw(%STATUS_TEXT); use LWP::UserAgent; use URI::Escape; use JSON; @@ -20,7 +20,7 @@ use File::Basename; $PROGNAME = basename($0); -my $p = Nagios::Plugin->new( +my $p = Monitoring::Plugin->new( usage => "Usage: %s [options] -H hostname", license => "", version => $VERSION, @@ -201,7 +201,7 @@ Critical and warning thresholds can be set for each of the metric. -It uses Nagios::Plugin and accepts all standard Nagios options. +It uses Monitoring::Plugin and accepts all standard Nagios options. =head1 OPTIONS @@ -297,7 +297,7 @@ =head1 SEE ALSO -See Nagios::Plugin(3) +See Monitoring::Plugin(3) The RabbitMQ management plugin is described at http://www.rabbitmq.com/management.html --- nagios-plugins-rabbitmq-1.2.0.orig/scripts/check_rabbitmq_objects +++ nagios-plugins-rabbitmq-1.2.0/scripts/check_rabbitmq_objects @@ -8,7 +8,7 @@ use strict; use warnings; -use Nagios::Plugin ; +use Monitoring::Plugin ; use LWP::UserAgent; use URI::Escape; use JSON; @@ -20,7 +20,7 @@ use File::Basename; $PROGNAME = basename($0); -my $p = Nagios::Plugin->new( +my $p = Monitoring::Plugin->new( usage => "Usage: %s [options] -H hostname", license => "", version => $VERSION, @@ -147,7 +147,7 @@ =back -It uses Nagios::Plugin and accepts all standard Nagios options. +It uses Monitoring::Plugin and accepts all standard Nagios options. =head1 OPTIONS @@ -214,7 +214,7 @@ =head1 SEE ALSO -See Nagios::Plugin(3) +See Monitoring::Plugin(3) The RabbitMQ management plugin is described at http://www.rabbitmq.com/management.html --- nagios-plugins-rabbitmq-1.2.0.orig/scripts/check_rabbitmq_overview +++ nagios-plugins-rabbitmq-1.2.0/scripts/check_rabbitmq_overview @@ -7,8 +7,8 @@ use strict; use warnings; -use Nagios::Plugin qw(OK CRITICAL WARNING UNKNOWN); -use Nagios::Plugin::Functions qw(%STATUS_TEXT); +use Monitoring::Plugin qw(OK CRITICAL WARNING UNKNOWN); +use Monitoring::Plugin::Functions qw(%STATUS_TEXT); use LWP::UserAgent; use URI::Escape; use JSON; @@ -20,7 +20,7 @@ use File::Basename; $PROGNAME = basename($0); -my $p = Nagios::Plugin->new( +my $p = Monitoring::Plugin->new( usage => "Usage: %s [options] -H hostname", license => "", version => $VERSION, @@ -176,7 +176,7 @@ Critical and warning thresholds can be set for each of the metrics. -It uses Nagios::Plugin and accepts all standard Nagios options. +It uses Monitoring::Plugin and accepts all standard Nagios options. =head1 OPTIONS @@ -256,7 +256,7 @@ =head1 SEE ALSO -See Nagios::Plugin(3) +See Monitoring::Plugin(3) The RabbitMQ management plugin is described at http://www.rabbitmq.com/management.html --- nagios-plugins-rabbitmq-1.2.0.orig/scripts/check_rabbitmq_partition +++ nagios-plugins-rabbitmq-1.2.0/scripts/check_rabbitmq_partition @@ -13,7 +13,7 @@ use strict; use warnings; -use Nagios::Plugin ; +use Monitoring::Plugin ; use LWP::UserAgent; use URI::Escape; use JSON; @@ -32,8 +32,8 @@ # http://nagiosplug.sourceforge.net/developer-guidelines.html#PLUGOPTIONS -# Instantiate Nagios::Plugin object (the 'usage' parameter is mandatory) -my $p = Nagios::Plugin->new( +# Instantiate Monitoring::Plugin object (the 'usage' parameter is mandatory) +my $p = Monitoring::Plugin->new( usage => "Usage: %s [options] -H hostname", license => "", version => $VERSION, @@ -139,7 +139,7 @@ Use the management interface of RabbitMQ to check if a cluster partition has occured. -It uses Nagios::Plugin and accepts all standard Nagios options. +It uses Monitoring::Plugin and accepts all standard Nagios options. =head1 OPTIONS @@ -209,7 +209,7 @@ =head1 SEE ALSO -See Nagios::Plugin(3) +See Monitoring::Plugin(3) The RabbitMQ management plugin is described at http://www.rabbitmq.com/management.html --- nagios-plugins-rabbitmq-1.2.0.orig/scripts/check_rabbitmq_queue +++ nagios-plugins-rabbitmq-1.2.0/scripts/check_rabbitmq_queue @@ -7,8 +7,8 @@ use strict; use warnings; -use Nagios::Plugin qw(OK CRITICAL WARNING UNKNOWN); -use Nagios::Plugin::Functions qw(%STATUS_TEXT); +use Monitoring::Plugin qw(OK CRITICAL WARNING UNKNOWN); +use Monitoring::Plugin::Functions qw(%STATUS_TEXT); use LWP::UserAgent; use URI::Escape; use JSON; @@ -20,7 +20,7 @@ use File::Basename; $PROGNAME = basename($0); -my $p = Nagios::Plugin->new( +my $p = Monitoring::Plugin->new( usage => "Usage: %s [options] -H hostname", license => "", version => $VERSION, @@ -192,7 +192,7 @@ Critical and warning thresholds can be set for each of the metrics. -It uses Nagios::Plugin and accepts all standard Nagios options. +It uses Monitoring::Plugin and accepts all standard Nagios options. =head1 OPTIONS @@ -284,7 +284,7 @@ =head1 SEE ALSO -See Nagios::Plugin(3) +See Monitoring::Plugin(3) The RabbitMQ management plugin is described at http://www.rabbitmq.com/management.html --- nagios-plugins-rabbitmq-1.2.0.orig/scripts/check_rabbitmq_server +++ nagios-plugins-rabbitmq-1.2.0/scripts/check_rabbitmq_server @@ -9,8 +9,8 @@ use strict; use warnings; -use Nagios::Plugin qw(OK CRITICAL WARNING UNKNOWN); -use Nagios::Plugin::Functions qw(%STATUS_TEXT); +use Monitoring::Plugin qw(OK CRITICAL WARNING UNKNOWN); +use Monitoring::Plugin::Functions qw(%STATUS_TEXT); use LWP::UserAgent; use URI::Escape; use JSON; @@ -31,8 +31,8 @@ # http://nagiosplug.sourceforge.net/developer-guidelines.html#PLUGOPTIONS -# Instantiate Nagios::Plugin object (the 'usage' parameter is mandatory) -my $p = Nagios::Plugin->new( +# Instantiate Monitoring::Plugin object (the 'usage' parameter is mandatory) +my $p = Monitoring::Plugin->new( usage => "Usage: %s [options] -H hostname", license => "", version => $VERSION, @@ -207,7 +207,7 @@ It provides performance data for each of these variables and allows for warning and criticality levels to be specified for each. -It uses Nagios::Plugin and accepts all standard Nagios options. +It uses Monitoring::Plugin and accepts all standard Nagios options. =head1 OPTIONS @@ -298,7 +298,7 @@ =head1 SEE ALSO -See Nagios::Plugin(3) +See Monitoring::Plugin(3) The RabbitMQ management plugin is described at http://www.rabbitmq.com/management.html --- nagios-plugins-rabbitmq-1.2.0.orig/scripts/check_rabbitmq_shovels +++ nagios-plugins-rabbitmq-1.2.0/scripts/check_rabbitmq_shovels @@ -3,7 +3,7 @@ use warnings; use JSON -support_by_pp; use LWP::UserAgent; -use Nagios::Plugin; +use Monitoring::Plugin; $::PROGRAM = "check_rabbitmq_shovels"; @@ -22,7 +22,7 @@ # run() # --- sub run { - my $np = Nagios::Plugin->new( + my $np = Monitoring::Plugin->new( plugin => $::PROGRAM, version => $::VERSION, blurb => "check that all the shovels of the given RabbitMQ host " @@ -234,7 +234,7 @@ =head1 SEE ALSO -See L +See L The RabbitMQ management plugin is described at L --- nagios-plugins-rabbitmq-1.2.0.orig/scripts/check_rabbitmq_watermark +++ nagios-plugins-rabbitmq-1.2.0/scripts/check_rabbitmq_watermark @@ -12,7 +12,7 @@ use strict; use warnings; -use Nagios::Plugin ; +use Monitoring::Plugin ; use LWP::UserAgent; use URI::Escape; use JSON; @@ -31,8 +31,8 @@ # http://nagiosplug.sourceforge.net/developer-guidelines.html#PLUGOPTIONS -# Instantiate Nagios::Plugin object (the 'usage' parameter is mandatory) -my $p = Nagios::Plugin->new( +# Instantiate Monitoring::Plugin object (the 'usage' parameter is mandatory) +my $p = Monitoring::Plugin->new( usage => "Usage: %s [options] -H hostname", license => "", version => $VERSION, @@ -150,7 +150,7 @@ Use the management interface of RabbitMQ to check if the mem_alarm or disk_free_alarm has been triggered. -It uses Nagios::Plugin and accepts all standard Nagios options. +It uses Monitoring::Plugin and accepts all standard Nagios options. =head1 OPTIONS @@ -228,7 +228,7 @@ =head1 SEE ALSO -See Nagios::Plugin(3) +See Monitoring::Plugin(3) The RabbitMQ management plugin is described at http://www.rabbitmq.com/management.html