monitorbuilder_pel7ppc64lebuilder0
4 years ago
23 changed files with 3428 additions and 0 deletions
@ -0,0 +1,25 @@
@@ -0,0 +1,25 @@
|
||||
From 59f2fbf7d50957daf005a8ea167e7686f280a04a Mon Sep 17 00:00:00 2001 |
||||
From: Matthew Wilson <diakopter@gmail.com> |
||||
Date: Mon, 25 Apr 2016 14:06:55 -0700 |
||||
Subject: [PATCH 01/10] track codes in all cases (#66) |
||||
|
||||
--- |
||||
scripts/check_rabbitmq_queue | 2 ++ |
||||
1 file changed, 2 insertions(+) |
||||
|
||||
diff --git a/scripts/check_rabbitmq_queue b/scripts/check_rabbitmq_queue |
||||
index 335c7b3..b8201d5 100755 |
||||
--- a/scripts/check_rabbitmq_queue |
||||
+++ b/scripts/check_rabbitmq_queue |
||||
@@ -187,6 +187,8 @@ for my $metric (@metrics) { |
||||
my $value = 0; |
||||
$value = $result->{$metric} if defined $result->{$metric}; |
||||
my $code = $p->check_threshold(check => $value, warning => $warning, critical=> $critical); |
||||
+ push @values, $code; |
||||
+ |
||||
$p->add_message($code, sprintf("$metric ".$STATUS_TEXT{$code}." (%d)", $value)) ; |
||||
$p->add_perfdata(label=>$metric, value => $value, warning=>$warning, critical=> $critical); |
||||
} |
||||
-- |
||||
2.20.1 |
||||
|
@ -0,0 +1,26 @@
@@ -0,0 +1,26 @@
|
||||
From caabebdf4e1d820c19b7d7fa8e682848f22834e9 Mon Sep 17 00:00:00 2001 |
||||
From: "Thierno IB. BARRY" <ibrahima.br@gmail.com> |
||||
Date: Tue, 26 Apr 2016 00:06:16 +0200 |
||||
Subject: [PATCH 02/10] don't rise critical error when $used is 0 |
||||
|
||||
close #57 |
||||
--- |
||||
scripts/check_rabbitmq_server | 2 +- |
||||
1 file changed, 1 insertion(+), 1 deletion(-) |
||||
|
||||
diff --git a/scripts/check_rabbitmq_server b/scripts/check_rabbitmq_server |
||||
index 3a6ec98..4e47585 100755 |
||||
--- a/scripts/check_rabbitmq_server |
||||
+++ b/scripts/check_rabbitmq_server |
||||
@@ -188,7 +188,7 @@ sub check { |
||||
my $warning = shift; |
||||
my $critical = shift; |
||||
|
||||
- if (!$p || !$used) { |
||||
+ if (!$p || !defined($used)) { |
||||
$p->nagios_exit( return_code=>CRITICAL, message=>'Unable to get values for '.$label); |
||||
} else { |
||||
my $value = percent($used, $limit); |
||||
-- |
||||
2.20.1 |
||||
|
@ -0,0 +1,238 @@
@@ -0,0 +1,238 @@
|
||||
From c670ebe177f0b67da2804f7b3862b4c141a032fa Mon Sep 17 00:00:00 2001 |
||||
From: "Thierno IB. BARRY" <ibrahima.br@gmail.com> |
||||
Date: Tue, 26 Apr 2016 20:21:24 +0200 |
||||
Subject: [PATCH 03/10] Improve the cluster check script to make more nagios |
||||
friendly (#69) |
||||
|
||||
- Use request function as other scripts |
||||
- Use check_threshold instead of manual check (close #67) |
||||
- Add an expected node list in the cluster (close #68) |
||||
--- |
||||
scripts/check_rabbitmq_cluster | 138 +++++++++++++++++++++++++-------- |
||||
t/1_checks_scripts.t | 4 +- |
||||
2 files changed, 107 insertions(+), 35 deletions(-) |
||||
|
||||
diff --git a/scripts/check_rabbitmq_cluster b/scripts/check_rabbitmq_cluster |
||||
index 534f01f..f4da8cb 100755 |
||||
--- a/scripts/check_rabbitmq_cluster |
||||
+++ b/scripts/check_rabbitmq_cluster |
||||
@@ -7,7 +7,8 @@ |
||||
use strict; |
||||
use warnings; |
||||
|
||||
-use Monitoring::Plugin; |
||||
+use Monitoring::Plugin qw(OK CRITICAL WARNING UNKNOWN); |
||||
+use Monitoring::Plugin::Functions qw(%STATUS_TEXT); |
||||
use LWP::UserAgent; |
||||
use URI::Escape; |
||||
use JSON; |
||||
@@ -73,18 +74,23 @@ $p->add_arg(spec => 'proxyurl=s', |
||||
help => "Use proxy url like http://proxy.domain.com:8080", |
||||
); |
||||
|
||||
+$p->add_arg(spec => 'nodes|n=s', |
||||
+ help => "Comma separated list of expected nodes in the cluster", |
||||
+); |
||||
+ |
||||
$p->add_arg( |
||||
- spec => 'warning|w=i', |
||||
+ spec => 'warning|w=s', |
||||
help => |
||||
-qq{-w, --warning=THRESHOLD |
||||
+qq{-w, --warning=THRESHOLD[,THRESHOLD[,THRESHOLD]] |
||||
Warning thresholds specified in order that the metrics are returned. |
||||
Specify -1 if no warning threshold.}, |
||||
+ |
||||
); |
||||
|
||||
$p->add_arg( |
||||
- spec => 'critical|c=i', |
||||
+ spec => 'critical|c=s', |
||||
help => |
||||
-qq{-c, --critical=THRESHOLD |
||||
+qq{-c, --critical=THRESHOLD[,THRESHOLD[,THRESHOLD]] |
||||
Critical thresholds specified in order that the metrics are returned. |
||||
Specify -1 if no critical threshold.}, |
||||
); |
||||
@@ -92,11 +98,34 @@ qq{-c, --critical=THRESHOLD |
||||
# Parse arguments and process standard ones (e.g. usage, help, version) |
||||
$p->getopts; |
||||
|
||||
+# perform sanity checking on command line options |
||||
+my %warning; |
||||
+if (defined $p->opts->warning) { |
||||
+ my @warning = split(',', $p->opts->warning); |
||||
+ $p->nagios_die("You should specify 1 to 3 ranges for --warning argument") unless $#warning < 3; |
||||
+ |
||||
+ $warning{'nb_running_node'} = shift @warning; |
||||
+ $warning{'nb_running_disc_node'} = shift @warning; |
||||
+ $warning{'nb_running_ram_node'} = shift @warning; |
||||
+} |
||||
+ |
||||
+my %critical; |
||||
+if (defined $p->opts->critical) { |
||||
+ my @critical = split(',', $p->opts->critical); |
||||
+ $p->nagios_die("You should specify specify 1 to 3 ranges for --critical argument") unless $#critical < 3; |
||||
+ |
||||
+ $critical{'nb_running_node'} = shift @critical; |
||||
+ $critical{'nb_running_disc_node'} = shift @critical; |
||||
+ $critical{'nb_running_ram_node'} = shift @critical; |
||||
+} |
||||
+ |
||||
+# check stuff. |
||||
my $hostname=$p->opts->hostname; |
||||
my $port=$p->opts->port; |
||||
|
||||
my $url = sprintf("http%s://%s:%d/api/nodes", ($p->opts->ssl ? "s" : ""), $hostname, $port); |
||||
my $ua = LWP::UserAgent->new; |
||||
+ |
||||
if (defined $p->opts->proxyurl) |
||||
{ |
||||
$ua->proxy('http', $p->opts->proxyurl); |
||||
@@ -110,40 +139,85 @@ $ua->timeout($p->opts->timeout); |
||||
if ($p->opts->ssl and $ua->can('ssl_opts')) { |
||||
$ua->ssl_opts(verify_hostname => $p->opts->ssl_strict); |
||||
} |
||||
-my $req = HTTP::Request->new(GET => $url); |
||||
-$req->authorization_basic($p->opts->username, $p->opts->password); |
||||
-my $res = $ua->request($req); |
||||
- |
||||
-if (!$res->is_success) { |
||||
- # Deal with standard error conditions - make the messages more sensible |
||||
- if ($res->code == 400) { |
||||
- my $bodyref = decode_json $res->content; |
||||
- $p->nagios_exit(CRITICAL, $bodyref->{'reason'}); |
||||
- } |
||||
- $res->code == 404 and $p->nagios_die("Not found"); |
||||
- $res->code == 401 and $p->nagios_die("Access refused"); |
||||
- if ($res->code < 200 or $res->code > 400 ) { |
||||
- $p->nagios_exit(CRITICAL, "Received ".$res->status_line); |
||||
- } |
||||
+ |
||||
+my ($retcode, $result) = request($url); |
||||
+if ($retcode != 200) { |
||||
+ $p->nagios_exit(CRITICAL, "$result : $url"); |
||||
} |
||||
|
||||
-my @nodes = @{ decode_json $res->content }; |
||||
-my $count = 0; |
||||
-foreach my $node ( @nodes ) { |
||||
- if ($node->{"name"} && $node->{"running"}) { |
||||
- $count++; |
||||
- } |
||||
+my $values = {}; |
||||
+$values->{'running_nodes'} = (); |
||||
+$values->{'nb_running_node'} = 0; |
||||
+$values->{'nb_running_disc_node'} = 0; |
||||
+$values->{'nb_running_ram_node'} = 0; |
||||
+ |
||||
+foreach my $node ( @$result ) { |
||||
+ if ($node->{"name"} && $node->{"running"}) { |
||||
+ push @{ $values->{'running_nodes'} }, $node->{"name"}; |
||||
+ |
||||
+ $values->{'nb_running_node'}++; |
||||
+ $values->{'nb_running_disc_node'}++ if ($node->{"type"} && $node->{"type"} eq "disc"); |
||||
+ $values->{'nb_running_ram_node'}++ if ($node->{"type"} && $node->{"type"} eq "ram"); |
||||
+ } |
||||
} |
||||
|
||||
-if ($p->opts->critical && $count <= $p->opts->critical) { |
||||
- $p->nagios_exit( CRITICAL, "The cluster has $count nodes" ); |
||||
+my $code = 0; |
||||
+my $message = ""; |
||||
+ |
||||
+if (defined($p->opts->nodes)) { |
||||
+ my @nodes = split(',', $p->opts->nodes); |
||||
+ my @excluded_nodes = diff(\@nodes, \@{ $values->{'running_nodes'} }); |
||||
+ my $nb_excluded_nodes = @excluded_nodes; |
||||
+ ($code, $message) = (OK, "All nodes are running"); |
||||
+ ($code, $message) = (CRITICAL, "$nb_excluded_nodes failed cluster node: " . join(',', @excluded_nodes)) if($nb_excluded_nodes ne 0); |
||||
+} |
||||
+else { |
||||
+ my @metrics = ("nb_running_node", "nb_running_disc_node", "nb_running_ram_node"); |
||||
+ for my $metric (@metrics) { |
||||
+ my $warning = undef; |
||||
+ $warning = $warning{$metric} if (defined $warning{$metric} and $warning{$metric} ne -1); |
||||
+ |
||||
+ my $critical = undef; |
||||
+ $critical = $critical{$metric} if (defined $critical{$metric} and $critical{$metric} ne -1); |
||||
+ |
||||
+ my $value = 0; |
||||
+ $value = $values->{$metric} if defined $values->{$metric}; |
||||
+ my $code = $p->check_threshold(check => $value, warning => $warning, critical=> $critical); |
||||
+ $p->add_message($code, sprintf("$metric ".$STATUS_TEXT{$code}." (%d)", $value)); |
||||
+ } |
||||
+ ($code, $message) = $p->check_messages(join_all=>', '); |
||||
} |
||||
|
||||
-if ($p->opts->warning && $count <= $p->opts->warning) { |
||||
- $p->nagios_exit( WARNING, "The cluster has $count nodes" ); |
||||
+$p->nagios_exit(return_code => $code, message => $message); |
||||
+ |
||||
+sub request { |
||||
+ my ($url) = @_; |
||||
+ my $req = HTTP::Request->new(GET => $url); |
||||
+ $req->authorization_basic($p->opts->username, $p->opts->password); |
||||
+ my $res = $ua->request($req); |
||||
+ |
||||
+ if (!$res->is_success) { |
||||
+ # Deal with standard error conditions - make the messages more sensible |
||||
+ if ($res->code == 400) { |
||||
+ my $bodyref = decode_json $res->content; |
||||
+ return (400, $bodyref->{'reason'}); |
||||
+ |
||||
+ } |
||||
+ $res->code == 404 and return (404, "Not Found"); |
||||
+ $res->code == 401 and return (401, "Access Refused"); |
||||
+ $res->status_line =~ /Can\'t connect/ and return (500, "Connection Refused : $url"); |
||||
+ if ($res->code < 200 or $res->code > 400 ) { |
||||
+ return ($res->code, "Received ".$res->status_line); |
||||
+ } |
||||
+ } |
||||
+ my $bodyref = decode_json $res->content; |
||||
+ return($res->code, $bodyref); |
||||
} |
||||
|
||||
-$p->nagios_exit( OK, "The cluster has $count nodes" ); |
||||
+sub diff { |
||||
+ my ($array_1, $array_2) = (@_); |
||||
+ return grep { my $baz = $_; grep($_ ne $baz, @$array_2) } @$array_1; |
||||
+} |
||||
|
||||
=head1 NAME |
||||
|
||||
@@ -206,7 +280,7 @@ is needed is to specify the host to connect to: |
||||
|
||||
This returns a standard Nagios result: |
||||
|
||||
- RABBITMQ_NODE OK - The cluster has 3 nodes |
||||
+ RABBITMQ_CLUSTER OK - The cluster has 3 nodes |
||||
|
||||
=head1 ERRORS |
||||
|
||||
diff --git a/t/1_checks_scripts.t b/t/1_checks_scripts.t |
||||
index ad9a4b7..7672f84 100644 |
||||
--- a/t/1_checks_scripts.t |
||||
+++ b/t/1_checks_scripts.t |
||||
@@ -13,9 +13,7 @@ $args = sprintf("--hostname=%s --username=%s --password=%s", $rabbit_hostname, $ |
||||
script_runs(['scripts/check_rabbitmq_aliveness', $args]); |
||||
|
||||
# Checks on check_rabbitmq_cluster |
||||
-$regex = /The cluster has \d+ nodes/im; |
||||
script_runs(['scripts/check_rabbitmq_cluster', ($args, ' -w 1 -c 1')]); |
||||
-script_stdout_like $regex, 'scripts/check_rabbitmq_cluster stdout is correct'; |
||||
|
||||
# Checks on check_rabbitmq_connections |
||||
script_runs(['scripts/check_rabbitmq_connections', $args]); |
||||
@@ -35,7 +33,7 @@ script_runs(['scripts/check_rabbitmq_queue', ($args, '--queue=aliveness-test')]) |
||||
# Checks on check_rabbitmq_server |
||||
$regex = /(Memory=.*)\s(Process=.*)\s(FD=.*)/im; |
||||
script_runs(['scripts/check_rabbitmq_server', ($args, "--node=${rabbit_servername}")]); |
||||
-script_stdout_like $regex, 'scripts/check_rabbitmq_server stdout is correct'; |
||||
+script_stdout_like $regex, 'Scripts/check_rabbitmq_server stdout is correct'; |
||||
|
||||
# Checks on check_rabbitmq_watermark |
||||
script_runs(['scripts/check_rabbitmq_watermark', ($args, "--node=${rabbit_servername}")]); |
||||
-- |
||||
2.20.1 |
||||
|
@ -0,0 +1,29 @@
@@ -0,0 +1,29 @@
|
||||
From 3d7ad2b27c4df0ef048d93891af9cded0a4f9b15 Mon Sep 17 00:00:00 2001 |
||||
From: Augie Schwer <augie@schwer.us> |
||||
Date: Thu, 26 May 2016 16:18:53 -0700 |
||||
Subject: [PATCH 04/10] Update check_rabbitmq_cluster.cfg (#74) |
||||
|
||||
Typo, was "partition" should be "cluster". |
||||
--- |
||||
etc/nagios-plugins/config/check_rabbitmq_cluster.cfg | 4 ++-- |
||||
1 file changed, 2 insertions(+), 2 deletions(-) |
||||
|
||||
diff --git a/etc/nagios-plugins/config/check_rabbitmq_cluster.cfg b/etc/nagios-plugins/config/check_rabbitmq_cluster.cfg |
||||
index 94fa8ae..a302496 100644 |
||||
--- a/etc/nagios-plugins/config/check_rabbitmq_cluster.cfg |
||||
+++ b/etc/nagios-plugins/config/check_rabbitmq_cluster.cfg |
||||
@@ -1,9 +1,9 @@ |
||||
define command{ |
||||
- command_name check_rabbitmq_partition |
||||
+ command_name check_rabbitmq_cluster |
||||
command_line exec sudo /usr/lib/nagios/plugins/check_rabbitmq_cluster --extra-opts=$ARG1$ |
||||
} |
||||
|
||||
define command{ |
||||
- command_name check_rabbitmq_partition_by_ssh |
||||
+ command_name check_rabbitmq_cluster_by_ssh |
||||
command_line exec ssh $HOSTADDRESS$ sudo /usr/lib/nagios/plugins/check_rabbitmq_cluster --extra-opts=$ARG1$ |
||||
} |
||||
-- |
||||
2.20.1 |
||||
|
@ -0,0 +1,62 @@
@@ -0,0 +1,62 @@
|
||||
From c09c063754e5e6dbd36e85870ef5cb61253aa1a0 Mon Sep 17 00:00:00 2001 |
||||
From: Ron Griffin <rongriffin@gmail.com> |
||||
Date: Thu, 6 Oct 2016 15:21:18 -0500 |
||||
Subject: [PATCH 05/10] If a queue is not found, report an UNKNOWN status (#75) |
||||
|
||||
* If a queue is not found, report an UNKNOWN status |
||||
* Add ignore option to report an OK status if queue doesn't exist |
||||
* Setting default value for ignore option |
||||
--- |
||||
scripts/check_rabbitmq_queue | 15 +++++++++++++++ |
||||
1 file changed, 15 insertions(+) |
||||
|
||||
diff --git a/scripts/check_rabbitmq_queue b/scripts/check_rabbitmq_queue |
||||
index b8201d5..0909798 100755 |
||||
--- a/scripts/check_rabbitmq_queue |
||||
+++ b/scripts/check_rabbitmq_queue |
||||
@@ -95,6 +95,11 @@ $p->add_arg(spec => 'proxyurl=s', |
||||
help => "Use proxy url like http://proxy.domain.com:8080", |
||||
); |
||||
|
||||
+$p->add_arg(spec => 'ignore|ignore!', |
||||
+ help => "Ignore alerts if queue does not exist (default: false)", |
||||
+ default => 0 |
||||
+); |
||||
+ |
||||
# Parse arguments and process standard ones (e.g. usage, help, version) |
||||
$p->getopts; |
||||
|
||||
@@ -131,6 +136,7 @@ my $port=$p->opts->port; |
||||
my $vhost=uri_escape($p->opts->vhost); |
||||
my $queue=$p->opts->queue; |
||||
my $filter=$p->opts->filter; |
||||
+my $ignore=$p->opts->ignore; |
||||
|
||||
my $ua = LWP::UserAgent->new; |
||||
if (defined $p->opts->proxyurl) |
||||
@@ -154,6 +160,9 @@ if ($queue eq "all"){ |
||||
$url = sprintf("http%s://%s:%d/api/queues/%s/%s", ($p->opts->ssl ? "s" : ""), $hostname, $port, $vhost, $queue); |
||||
} |
||||
my ($retcode, $result) = request($url); |
||||
+if ($retcode == 404 && $ignore) { |
||||
+ $p->nagios_exit(OK, "$result : $url"); |
||||
+} |
||||
if ($retcode != 200) { |
||||
$p->nagios_exit(CRITICAL, "$result : $url"); |
||||
} |
||||
@@ -296,6 +305,12 @@ messages_unacknowledged and consumers. This field consists of |
||||
one to four comma-separated thresholds. Specify -1 if no threshold |
||||
for a particular count. |
||||
|
||||
+=item --ignore |
||||
+ |
||||
+If the queue specified does not exist, this option ignores |
||||
+CRITICAL alerts and returns a status of OK. Useful for scenarios |
||||
+where queue existence is optional. |
||||
+ |
||||
=back |
||||
|
||||
=head1 THRESHOLD FORMAT |
||||
-- |
||||
2.20.1 |
||||
|
@ -0,0 +1,37 @@
@@ -0,0 +1,37 @@
|
||||
From 82763cb426446f4694a49b838bd63f1662b4fd4c Mon Sep 17 00:00:00 2001 |
||||
From: Will Yardley <wyardley@users.noreply.github.com> |
||||
Date: Mon, 20 Mar 2017 07:13:39 -0700 |
||||
Subject: [PATCH 06/10] Add descriptive text about the order of thresholds |
||||
(#81) |
||||
|
||||
--- |
||||
scripts/check_rabbitmq_queue | 6 ++++-- |
||||
1 file changed, 4 insertions(+), 2 deletions(-) |
||||
|
||||
diff --git a/scripts/check_rabbitmq_queue b/scripts/check_rabbitmq_queue |
||||
index 0909798..7e35235 100755 |
||||
--- a/scripts/check_rabbitmq_queue |
||||
+++ b/scripts/check_rabbitmq_queue |
||||
@@ -64,7 +64,8 @@ $p->add_arg( |
||||
spec => 'warning|w=s', |
||||
help => |
||||
qq{-w, --warning=THRESHOLD[,THRESHOLD[,THRESHOLD[,THRESHOLD]]] |
||||
- Warning thresholds specified in order that the metrics are returned. |
||||
+ Warning thresholds specified in following order: |
||||
+ messages[,messages_ready[,messages_unacknowledged[,consumers]]] |
||||
Specify -1 if no warning threshold.}, |
||||
|
||||
); |
||||
@@ -73,7 +74,8 @@ $p->add_arg( |
||||
spec => 'critical|c=s', |
||||
help => |
||||
qq{-c, --critical=THRESHOLD[,THRESHOLD[,THRESHOLD[,THRESHOLD]]] |
||||
- Critical thresholds specified in order that the metrics are returned. |
||||
+ Critical thresholds specified in following order: |
||||
+ messages[,messages_ready[,messages_unacknowledged[,consumers]]] |
||||
Specify -1 if no critical threshold.}, |
||||
); |
||||
|
||||
-- |
||||
2.20.1 |
||||
|
@ -0,0 +1,75 @@
@@ -0,0 +1,75 @@
|
||||
From c164023ffc68e0a684b1af0d3518eef5e6dea8f2 Mon Sep 17 00:00:00 2001 |
||||
From: Will Yardley <wyardley@users.noreply.github.com> |
||||
Date: Mon, 20 Mar 2017 07:15:11 -0700 |
||||
Subject: [PATCH 07/10] minor docs fixes (#79) |
||||
|
||||
--- |
||||
README.md | 8 ++++---- |
||||
scripts/check_rabbitmq_cluster | 6 +++--- |
||||
2 files changed, 7 insertions(+), 7 deletions(-) |
||||
|
||||
diff --git a/README.md b/README.md |
||||
index 39fca00..565b7f7 100755 |
||||
--- a/README.md |
||||
+++ b/README.md |
||||
@@ -5,8 +5,8 @@ nagios-plugins-rabbitmq |
||||
Overview |
||||
-------- |
||||
This package contains a 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. |
||||
+RabbitMQ server. They use the RabbitMQ management interface 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. |
||||
@@ -48,7 +48,7 @@ Currently we have the following checks: |
||||
- Use the `/api/nodes` API to check for partitions in a RabbitMQ cluster. |
||||
|
||||
- check\_rabbitmq\_cluster |
||||
- - Use the `/api/nodes` API to check how many node are alived in the cluster. |
||||
+ - Use the `/api/nodes` API to check how many node are alive in the cluster. |
||||
|
||||
- check\_rabbitmq\_queue |
||||
- Use the `/api/queue` API to collect the number of pending, ready and |
||||
@@ -90,4 +90,4 @@ limitations under the License. |
||||
Contributors |
||||
------------ |
||||
|
||||
-James Casey <jamesc.000@gmail.com>, Thierno IB. BARRY [@barryib](https://github.com/barryib) |
||||
\ No newline at end of file |
||||
+James Casey <jamesc.000@gmail.com>, Thierno IB. BARRY [@barryib](https://github.com/barryib) |
||||
diff --git a/scripts/check_rabbitmq_cluster b/scripts/check_rabbitmq_cluster |
||||
index f4da8cb..641a4f4 100755 |
||||
--- a/scripts/check_rabbitmq_cluster |
||||
+++ b/scripts/check_rabbitmq_cluster |
||||
@@ -2,7 +2,7 @@ |
||||
# |
||||
# check_rabbitmq_cluster |
||||
# |
||||
-# Use the management API to check how many node are alived in the cluster. |
||||
+# Use the management API to check how many node are alive in the cluster. |
||||
|
||||
use strict; |
||||
use warnings; |
||||
@@ -221,7 +221,7 @@ sub diff { |
||||
|
||||
=head1 NAME |
||||
|
||||
-check_rabbitmq_cluster - Nagios plugin using RabbitMQ management API to check how many node are alived in the cluster |
||||
+check_rabbitmq_cluster - Nagios plugin using RabbitMQ management API to check how many node are alive in the cluster |
||||
|
||||
=head1 SYNOPSIS |
||||
|
||||
@@ -229,7 +229,7 @@ check_rabbitmq_cluster [options] -H hostname |
||||
|
||||
=head1 DESCRIPTION |
||||
|
||||
-Use the management interface of RabbitMQ to check if a cluster partition has occured. |
||||
+Use the `/api/nodes` API to check how many node are alive in the cluster. |
||||
|
||||
It uses Monitoring::Plugin and accepts all standard Nagios options. |
||||
|
||||
-- |
||||
2.20.1 |
||||
|
@ -0,0 +1,54 @@
@@ -0,0 +1,54 @@
|
||||
From 31cc591c2d771f2392eef4cfe354c34f2ccc20f3 Mon Sep 17 00:00:00 2001 |
||||
From: Will Yardley <wyardley@users.noreply.github.com> |
||||
Date: Mon, 20 Mar 2017 15:19:07 -0700 |
||||
Subject: [PATCH 08/10] Add '.' to character class for hostnames (to |
||||
accommodate FQDNs) (#80) |
||||
|
||||
--- |
||||
scripts/check_rabbitmq_partition | 2 +- |
||||
scripts/check_rabbitmq_server | 2 +- |
||||
scripts/check_rabbitmq_watermark | 2 +- |
||||
3 files changed, 3 insertions(+), 3 deletions(-) |
||||
|
||||
diff --git a/scripts/check_rabbitmq_partition b/scripts/check_rabbitmq_partition |
||||
index 7c9d3a5..0b4336f 100755 |
||||
--- a/scripts/check_rabbitmq_partition |
||||
+++ b/scripts/check_rabbitmq_partition |
||||
@@ -101,7 +101,7 @@ my $nodename = $p->opts->node; |
||||
my $rname = $p->opts->rname; |
||||
|
||||
if (!$nodename) { |
||||
- $hostname =~ /^([a-zA-Z0-9-]*)/; |
||||
+ $hostname =~ /^([a-zA-Z0-9-.]+)/; |
||||
$nodename = $1; |
||||
} |
||||
|
||||
diff --git a/scripts/check_rabbitmq_server b/scripts/check_rabbitmq_server |
||||
index 4e47585..b97803c 100755 |
||||
--- a/scripts/check_rabbitmq_server |
||||
+++ b/scripts/check_rabbitmq_server |
||||
@@ -124,7 +124,7 @@ my $nodename = $p->opts->node; |
||||
my $rname = $p->opts->rname; |
||||
|
||||
if (!$nodename) { |
||||
- $hostname =~ /^([a-zA-Z0-9-]*)/; |
||||
+ $hostname =~ /^([a-zA-Z0-9-.]*)/; |
||||
$nodename = $1; |
||||
} |
||||
|
||||
diff --git a/scripts/check_rabbitmq_watermark b/scripts/check_rabbitmq_watermark |
||||
index c944dca..0fe4e0b 100755 |
||||
--- a/scripts/check_rabbitmq_watermark |
||||
+++ b/scripts/check_rabbitmq_watermark |
||||
@@ -107,7 +107,7 @@ my $nodename = $p->opts->node; |
||||
my $rname = $p->opts->rname; |
||||
|
||||
if (!$nodename) { |
||||
- $hostname =~ /^([a-zA-Z0-9-]*)/; |
||||
+ $hostname =~ /^([a-zA-Z0-9-.]*)/; |
||||
$nodename = $1; |
||||
} |
||||
|
||||
-- |
||||
2.20.1 |
||||
|
@ -0,0 +1,26 @@
@@ -0,0 +1,26 @@
|
||||
From b54ee73e18c43a61a6f341eeae745517f7771465 Mon Sep 17 00:00:00 2001 |
||||
From: "Thierno IB. BARRY" <ibrahima.br@gmail.com> |
||||
Date: Mon, 3 Apr 2017 15:40:12 +0200 |
||||
Subject: [PATCH 09/10] check_rabbitmq_cluster: return correctly excluded nodes |
||||
(#84) |
||||
|
||||
--- |
||||
scripts/check_rabbitmq_cluster | 2 +- |
||||
1 file changed, 1 insertion(+), 1 deletion(-) |
||||
|
||||
diff --git a/scripts/check_rabbitmq_cluster b/scripts/check_rabbitmq_cluster |
||||
index 641a4f4..f9df23c 100755 |
||||
--- a/scripts/check_rabbitmq_cluster |
||||
+++ b/scripts/check_rabbitmq_cluster |
||||
@@ -216,7 +216,7 @@ sub request { |
||||
|
||||
sub diff { |
||||
my ($array_1, $array_2) = (@_); |
||||
- return grep { my $baz = $_; grep($_ ne $baz, @$array_2) } @$array_1; |
||||
+ return grep { my $baz = $_; !grep{$_ eq $baz} @$array_2; } @$array_1; |
||||
} |
||||
|
||||
=head1 NAME |
||||
-- |
||||
2.20.1 |
||||
|
@ -0,0 +1,30 @@
@@ -0,0 +1,30 @@
|
||||
From bc20bf810660b96a7b24ecdb058a666e941c6cea Mon Sep 17 00:00:00 2001 |
||||
From: Olof Mattsson <olof@devopsninja.nu> |
||||
Date: Thu, 22 Mar 2018 11:40:00 +0100 |
||||
Subject: [PATCH 10/10] Fix to handle shovels in connections list on shovel |
||||
source server. (#92) |
||||
|
||||
--- |
||||
scripts/check_rabbitmq_connections | 6 +++--- |
||||
1 file changed, 3 insertions(+), 3 deletions(-) |
||||
|
||||
diff --git a/scripts/check_rabbitmq_connections b/scripts/check_rabbitmq_connections |
||||
index d8bcdfd..b059bac 100755 |
||||
--- a/scripts/check_rabbitmq_connections |
||||
+++ b/scripts/check_rabbitmq_connections |
||||
@@ -149,9 +149,9 @@ $values->{'send_rate'} = 0; |
||||
for my $connection (@$result) { |
||||
if (not defined($p->opts->clientuser) or $p->opts->clientuser eq $connection->{"user"}) { |
||||
$values->{'connections'}++; |
||||
- $values->{'connections_notrunning'}++ if $connection->{"state"} ne "running"; |
||||
- $values->{'receive_rate'} += $connection->{"recv_oct_details"}->{"rate"}; |
||||
- $values->{'send_rate'} += $connection->{"send_oct_details"}->{"rate"}; |
||||
+ $values->{'connections_notrunning'}++ if ((not defined $connection->{"state"}) || ($connection->{"state"} ne "running")); |
||||
+ $values->{'receive_rate'} += $connection->{"recv_oct_details"}->{"rate"} if (defined $connection->{"recv_oct_details"}->{"rate"}); |
||||
+ $values->{'send_rate'} += $connection->{"send_oct_details"}->{"rate"} if (defined $connection->{"send_oct_details"}->{"rate"}); |
||||
} |
||||
} |
||||
|
||||
-- |
||||
2.20.1 |
||||
|
@ -0,0 +1,412 @@
@@ -0,0 +1,412 @@
|
||||
From 38ea88121d0510ca43f13e925306e7e6d023ead3 Mon Sep 17 00:00:00 2001 |
||||
From: Jeremy Cline <jcline@redhat.com> |
||||
Date: Tue, 23 Apr 2019 19:18:44 +0000 |
||||
Subject: [PATCH] lib -> lib64 |
||||
|
||||
--- |
||||
Makefile | 4 ++-- |
||||
etc/nagios-plugins/config/check_rabbitmq_aliveness.cfg | 4 ++-- |
||||
etc/nagios-plugins/config/check_rabbitmq_cluster.cfg | 4 ++-- |
||||
etc/nagios-plugins/config/check_rabbitmq_connections.cfg | 4 ++-- |
||||
etc/nagios-plugins/config/check_rabbitmq_exchange.cfg | 4 ++-- |
||||
etc/nagios-plugins/config/check_rabbitmq_objects.cfg | 4 ++-- |
||||
etc/nagios-plugins/config/check_rabbitmq_overview.cfg | 4 ++-- |
||||
etc/nagios-plugins/config/check_rabbitmq_partition.cfg | 4 ++-- |
||||
etc/nagios-plugins/config/check_rabbitmq_queue.cfg | 4 ++-- |
||||
etc/nagios-plugins/config/check_rabbitmq_server.cfg | 4 ++-- |
||||
etc/nagios-plugins/config/check_rabbitmq_shovels.cfg | 4 ++-- |
||||
etc/nagios-plugins/config/check_rabbitmq_watermark.cfg | 4 ++-- |
||||
etc/nagios/nrpe.d/check_rabbitmq_aliveness.cfg | 1 - |
||||
etc/nagios/nrpe.d/check_rabbitmq_cluster.cfg | 1 - |
||||
etc/nagios/nrpe.d/check_rabbitmq_connections.cfg | 1 - |
||||
etc/nagios/nrpe.d/check_rabbitmq_exchange.cfg | 1 - |
||||
etc/nagios/nrpe.d/check_rabbitmq_objects.cfg | 1 - |
||||
etc/nagios/nrpe.d/check_rabbitmq_overview.cfg | 1 - |
||||
etc/nagios/nrpe.d/check_rabbitmq_partition.cfg | 1 - |
||||
etc/nagios/nrpe.d/check_rabbitmq_queue.cfg | 1 - |
||||
etc/nagios/nrpe.d/check_rabbitmq_server.cfg | 1 - |
||||
etc/nagios/nrpe.d/check_rabbitmq_shovels.cfg | 1 - |
||||
etc/nagios/nrpe.d/check_rabbitmq_watermark.cfg | 1 - |
||||
etc/nrpe.d/check_rabbitmq_aliveness.cfg | 1 + |
||||
etc/nrpe.d/check_rabbitmq_cluster.cfg | 1 + |
||||
etc/nrpe.d/check_rabbitmq_connections.cfg | 1 + |
||||
etc/nrpe.d/check_rabbitmq_exchange.cfg | 1 + |
||||
etc/nrpe.d/check_rabbitmq_objects.cfg | 1 + |
||||
etc/nrpe.d/check_rabbitmq_overview.cfg | 1 + |
||||
etc/nrpe.d/check_rabbitmq_partition.cfg | 1 + |
||||
etc/nrpe.d/check_rabbitmq_queue.cfg | 1 + |
||||
etc/nrpe.d/check_rabbitmq_server.cfg | 1 + |
||||
etc/nrpe.d/check_rabbitmq_shovels.cfg | 1 + |
||||
etc/nrpe.d/check_rabbitmq_watermark.cfg | 1 + |
||||
34 files changed, 35 insertions(+), 35 deletions(-) |
||||
delete mode 100644 etc/nagios/nrpe.d/check_rabbitmq_aliveness.cfg |
||||
delete mode 100644 etc/nagios/nrpe.d/check_rabbitmq_cluster.cfg |
||||
delete mode 100644 etc/nagios/nrpe.d/check_rabbitmq_connections.cfg |
||||
delete mode 100644 etc/nagios/nrpe.d/check_rabbitmq_exchange.cfg |
||||
delete mode 100644 etc/nagios/nrpe.d/check_rabbitmq_objects.cfg |
||||
delete mode 100644 etc/nagios/nrpe.d/check_rabbitmq_overview.cfg |
||||
delete mode 100644 etc/nagios/nrpe.d/check_rabbitmq_partition.cfg |
||||
delete mode 100644 etc/nagios/nrpe.d/check_rabbitmq_queue.cfg |
||||
delete mode 100644 etc/nagios/nrpe.d/check_rabbitmq_server.cfg |
||||
delete mode 100644 etc/nagios/nrpe.d/check_rabbitmq_shovels.cfg |
||||
delete mode 100644 etc/nagios/nrpe.d/check_rabbitmq_watermark.cfg |
||||
create mode 100644 etc/nrpe.d/check_rabbitmq_aliveness.cfg |
||||
create mode 100644 etc/nrpe.d/check_rabbitmq_cluster.cfg |
||||
create mode 100644 etc/nrpe.d/check_rabbitmq_connections.cfg |
||||
create mode 100644 etc/nrpe.d/check_rabbitmq_exchange.cfg |
||||
create mode 100644 etc/nrpe.d/check_rabbitmq_objects.cfg |
||||
create mode 100644 etc/nrpe.d/check_rabbitmq_overview.cfg |
||||
create mode 100644 etc/nrpe.d/check_rabbitmq_partition.cfg |
||||
create mode 100644 etc/nrpe.d/check_rabbitmq_queue.cfg |
||||
create mode 100644 etc/nrpe.d/check_rabbitmq_server.cfg |
||||
create mode 100644 etc/nrpe.d/check_rabbitmq_shovels.cfg |
||||
create mode 100644 etc/nrpe.d/check_rabbitmq_watermark.cfg |
||||
|
||||
diff --git a/Makefile b/Makefile |
||||
index bb0e70c..5994568 100644 |
||||
--- a/Makefile |
||||
+++ b/Makefile |
||||
@@ -9,8 +9,8 @@ clean: build |
||||
@rm -f nagios-plugins-rabbitmq-*.tar.gz RabbitMQ-API-*.tar.gz _build |
||||
|
||||
install: |
||||
- mkdir -p $(DESTDIR)/usr/lib/nagios/plugins-rabbitmq |
||||
- cp scripts/* $(DESTDIR)/usr/lib/nagios/plugins-rabbitmq/ |
||||
+ mkdir -p $(DESTDIR)/usr/lib64/nagios/plugins-rabbitmq |
||||
+ cp scripts/* $(DESTDIR)/usr/lib64/nagios/plugins-rabbitmq/ |
||||
rsync -a etc $(DESTDIR) |
||||
|
||||
test: |
||||
diff --git a/etc/nagios-plugins/config/check_rabbitmq_aliveness.cfg b/etc/nagios-plugins/config/check_rabbitmq_aliveness.cfg |
||||
index c2c5bb6..96cc0a0 100644 |
||||
--- a/etc/nagios-plugins/config/check_rabbitmq_aliveness.cfg |
||||
+++ b/etc/nagios-plugins/config/check_rabbitmq_aliveness.cfg |
||||
@@ -1,9 +1,9 @@ |
||||
define command{ |
||||
command_name check_rabbitmq_aliveness |
||||
- command_line exec sudo /usr/lib/nagios/plugins/check_rabbitmq_aliveness --extra-opts=$ARG1$ |
||||
+ command_line exec sudo /usr/lib64/nagios/plugins/check_rabbitmq_aliveness --extra-opts=$ARG1$ |
||||
} |
||||
|
||||
define command{ |
||||
command_name check_rabbitmq_aliveness_by_ssh |
||||
- command_line exec ssh $HOSTADDRESS$ sudo /usr/lib/nagios/plugins/check_rabbitmq_aliveness --extra-opts=$ARG1$ |
||||
+ command_line exec ssh $HOSTADDRESS$ sudo /usr/lib64/nagios/plugins/check_rabbitmq_aliveness --extra-opts=$ARG1$ |
||||
} |
||||
diff --git a/etc/nagios-plugins/config/check_rabbitmq_cluster.cfg b/etc/nagios-plugins/config/check_rabbitmq_cluster.cfg |
||||
index a302496..f403e77 100644 |
||||
--- a/etc/nagios-plugins/config/check_rabbitmq_cluster.cfg |
||||
+++ b/etc/nagios-plugins/config/check_rabbitmq_cluster.cfg |
||||
@@ -1,9 +1,9 @@ |
||||
define command{ |
||||
command_name check_rabbitmq_cluster |
||||
- command_line exec sudo /usr/lib/nagios/plugins/check_rabbitmq_cluster --extra-opts=$ARG1$ |
||||
+ command_line exec sudo /usr/lib64/nagios/plugins/check_rabbitmq_cluster --extra-opts=$ARG1$ |
||||
} |
||||
|
||||
define command{ |
||||
command_name check_rabbitmq_cluster_by_ssh |
||||
- command_line exec ssh $HOSTADDRESS$ sudo /usr/lib/nagios/plugins/check_rabbitmq_cluster --extra-opts=$ARG1$ |
||||
+ command_line exec ssh $HOSTADDRESS$ sudo /usr/lib64/nagios/plugins/check_rabbitmq_cluster --extra-opts=$ARG1$ |
||||
} |
||||
diff --git a/etc/nagios-plugins/config/check_rabbitmq_connections.cfg b/etc/nagios-plugins/config/check_rabbitmq_connections.cfg |
||||
index 95da0d5..15b6419 100644 |
||||
--- a/etc/nagios-plugins/config/check_rabbitmq_connections.cfg |
||||
+++ b/etc/nagios-plugins/config/check_rabbitmq_connections.cfg |
||||
@@ -1,9 +1,9 @@ |
||||
define command{ |
||||
command_name check_rabbitmq_connections |
||||
- command_line exec sudo /usr/lib/nagios/plugins/check_rabbitmq_connections --extra-opts=$ARG1$ |
||||
+ command_line exec sudo /usr/lib64/nagios/plugins/check_rabbitmq_connections --extra-opts=$ARG1$ |
||||
} |
||||
|
||||
define command{ |
||||
command_name check_rabbitmq_connections_by_ssh |
||||
- command_line exec ssh $HOSTADDRESS$ sudo /usr/lib/nagios/plugins/check_rabbitmq_connections --extra-opts=$ARG1$ |
||||
+ command_line exec ssh $HOSTADDRESS$ sudo /usr/lib64/nagios/plugins/check_rabbitmq_connections --extra-opts=$ARG1$ |
||||
} |
||||
diff --git a/etc/nagios-plugins/config/check_rabbitmq_exchange.cfg b/etc/nagios-plugins/config/check_rabbitmq_exchange.cfg |
||||
index 11d7a75..bb0dafe 100644 |
||||
--- a/etc/nagios-plugins/config/check_rabbitmq_exchange.cfg |
||||
+++ b/etc/nagios-plugins/config/check_rabbitmq_exchange.cfg |
||||
@@ -1,9 +1,9 @@ |
||||
define command{ |
||||
command_name check_rabbitmq_exchange |
||||
- command_line exec sudo /usr/lib/nagios/plugins/check_rabbitmq_exchange --extra-opts=$ARG1$ --exchange=$ARG2$ --period=$ARG3$ |
||||
+ command_line exec sudo /usr/lib64/nagios/plugins/check_rabbitmq_exchange --extra-opts=$ARG1$ --exchange=$ARG2$ --period=$ARG3$ |
||||
} |
||||
|
||||
define command{ |
||||
command_name check_rabbitmq_exchange_by_ssh |
||||
- command_line exec ssh $HOSTADDRESS$ sudo /usr/lib/nagios/plugins/check_rabbitmq_exchange --extra-opts=$ARG1$ --exchange=$ARG2$ --period=$ARG3$ |
||||
+ command_line exec ssh $HOSTADDRESS$ sudo /usr/lib64/nagios/plugins/check_rabbitmq_exchange --extra-opts=$ARG1$ --exchange=$ARG2$ --period=$ARG3$ |
||||
} |
||||
diff --git a/etc/nagios-plugins/config/check_rabbitmq_objects.cfg b/etc/nagios-plugins/config/check_rabbitmq_objects.cfg |
||||
index a577a27..9a15a26 100644 |
||||
--- a/etc/nagios-plugins/config/check_rabbitmq_objects.cfg |
||||
+++ b/etc/nagios-plugins/config/check_rabbitmq_objects.cfg |
||||
@@ -1,9 +1,9 @@ |
||||
define command{ |
||||
command_name check_rabbitmq_objects |
||||
- command_line exec sudo /usr/lib/nagios/plugins/check_rabbitmq_objects --extra-opts=$ARG1$ |
||||
+ command_line exec sudo /usr/lib64/nagios/plugins/check_rabbitmq_objects --extra-opts=$ARG1$ |
||||
} |
||||
|
||||
define command{ |
||||
command_name check_rabbitmq_objects_by_ssh |
||||
- command_line exec ssh $HOSTADDRESS$ sudo /usr/lib/nagios/plugins/check_rabbitmq_objects --extra-opts=$ARG1$ |
||||
+ command_line exec ssh $HOSTADDRESS$ sudo /usr/lib64/nagios/plugins/check_rabbitmq_objects --extra-opts=$ARG1$ |
||||
} |
||||
diff --git a/etc/nagios-plugins/config/check_rabbitmq_overview.cfg b/etc/nagios-plugins/config/check_rabbitmq_overview.cfg |
||||
index a02e070..024813f 100644 |
||||
--- a/etc/nagios-plugins/config/check_rabbitmq_overview.cfg |
||||
+++ b/etc/nagios-plugins/config/check_rabbitmq_overview.cfg |
||||
@@ -1,9 +1,9 @@ |
||||
define command{ |
||||
command_name check_rabbitmq_overview |
||||
- command_line exec sudo /usr/lib/nagios/plugins/check_rabbitmq_overview --extra-opts=$ARG1$ |
||||
+ command_line exec sudo /usr/lib64/nagios/plugins/check_rabbitmq_overview --extra-opts=$ARG1$ |
||||
} |
||||
|
||||
define command{ |
||||
command_name check_rabbitmq_overview_by_ssh |
||||
- command_line exec ssh $HOSTADDRESS$ sudo /usr/lib/nagios/plugins/check_rabbitmq_overview --extra-opts=$ARG1$ |
||||
+ command_line exec ssh $HOSTADDRESS$ sudo /usr/lib64/nagios/plugins/check_rabbitmq_overview --extra-opts=$ARG1$ |
||||
} |
||||
diff --git a/etc/nagios-plugins/config/check_rabbitmq_partition.cfg b/etc/nagios-plugins/config/check_rabbitmq_partition.cfg |
||||
index eaab2a7..9c0adea 100644 |
||||
--- a/etc/nagios-plugins/config/check_rabbitmq_partition.cfg |
||||
+++ b/etc/nagios-plugins/config/check_rabbitmq_partition.cfg |
||||
@@ -1,9 +1,9 @@ |
||||
define command{ |
||||
command_name check_rabbitmq_partition |
||||
- command_line exec sudo /usr/lib/nagios/plugins/check_rabbitmq_partition --extra-opts=$ARG1$ |
||||
+ command_line exec sudo /usr/lib64/nagios/plugins/check_rabbitmq_partition --extra-opts=$ARG1$ |
||||
} |
||||
|
||||
define command{ |
||||
command_name check_rabbitmq_partition_by_ssh |
||||
- command_line exec ssh $HOSTADDRESS$ sudo /usr/lib/nagios/plugins/check_rabbitmq_partition --extra-opts=$ARG1$ |
||||
+ command_line exec ssh $HOSTADDRESS$ sudo /usr/lib64/nagios/plugins/check_rabbitmq_partition --extra-opts=$ARG1$ |
||||
} |
||||
diff --git a/etc/nagios-plugins/config/check_rabbitmq_queue.cfg b/etc/nagios-plugins/config/check_rabbitmq_queue.cfg |
||||
index 3c03b12..9f1bbba 100644 |
||||
--- a/etc/nagios-plugins/config/check_rabbitmq_queue.cfg |
||||
+++ b/etc/nagios-plugins/config/check_rabbitmq_queue.cfg |
||||
@@ -1,9 +1,9 @@ |
||||
define command{ |
||||
command_name check_rabbitmq_queue |
||||
- command_line exec sudo /usr/lib/nagios/plugins/check_rabbitmq_queue --extra-opts=$ARG1$ --queue=$ARG2$ |
||||
+ command_line exec sudo /usr/lib64/nagios/plugins/check_rabbitmq_queue --extra-opts=$ARG1$ --queue=$ARG2$ |
||||
} |
||||
|
||||
define command{ |
||||
command_name check_rabbitmq_queue_by_ssh |
||||
- command_line exec ssh $HOSTADDRESS$ sudo /usr/lib/nagios/plugins/check_rabbitmq_queue --extra-opts=$ARG1$ --queue=$ARG2$ |
||||
+ command_line exec ssh $HOSTADDRESS$ sudo /usr/lib64/nagios/plugins/check_rabbitmq_queue --extra-opts=$ARG1$ --queue=$ARG2$ |
||||
} |
||||
diff --git a/etc/nagios-plugins/config/check_rabbitmq_server.cfg b/etc/nagios-plugins/config/check_rabbitmq_server.cfg |
||||
index 0182b1b..5b32810 100644 |
||||
--- a/etc/nagios-plugins/config/check_rabbitmq_server.cfg |
||||
+++ b/etc/nagios-plugins/config/check_rabbitmq_server.cfg |
||||
@@ -1,9 +1,9 @@ |
||||
define command{ |
||||
command_name check_rabbitmq_server |
||||
- command_line exec sudo /usr/lib/nagios/plugins/check_rabbitmq_server --extra-opts=$ARG1$ |
||||
+ command_line exec sudo /usr/lib64/nagios/plugins/check_rabbitmq_server --extra-opts=$ARG1$ |
||||
} |
||||
|
||||
define command{ |
||||
command_name check_rabbitmq_server_by_ssh |
||||
- command_line exec ssh $HOSTADDRESS$ sudo /usr/lib/nagios/plugins/check_rabbitmq_server --extra-opts=$ARG1$ |
||||
+ command_line exec ssh $HOSTADDRESS$ sudo /usr/lib64/nagios/plugins/check_rabbitmq_server --extra-opts=$ARG1$ |
||||
} |
||||
diff --git a/etc/nagios-plugins/config/check_rabbitmq_shovels.cfg b/etc/nagios-plugins/config/check_rabbitmq_shovels.cfg |
||||
index 148d7b4..af1d481 100644 |
||||
--- a/etc/nagios-plugins/config/check_rabbitmq_shovels.cfg |
||||
+++ b/etc/nagios-plugins/config/check_rabbitmq_shovels.cfg |
||||
@@ -1,9 +1,9 @@ |
||||
define command{ |
||||
command_name check_rabbitmq_shovels |
||||
- command_line exec sudo /usr/lib/nagios/plugins/check_rabbitmq_shovels --extra-opts=$ARG1$ |
||||
+ command_line exec sudo /usr/lib64/nagios/plugins/check_rabbitmq_shovels --extra-opts=$ARG1$ |
||||
} |
||||
|
||||
define command{ |
||||
command_name check_rabbitmq_shovels_by_ssh |
||||
- command_line exec ssh $HOSTADDRESS$ sudo /usr/lib/nagios/plugins/check_rabbitmq_shovels --extra-opts=$ARG1$ |
||||
+ command_line exec ssh $HOSTADDRESS$ sudo /usr/lib64/nagios/plugins/check_rabbitmq_shovels --extra-opts=$ARG1$ |
||||
} |
||||
diff --git a/etc/nagios-plugins/config/check_rabbitmq_watermark.cfg b/etc/nagios-plugins/config/check_rabbitmq_watermark.cfg |
||||
index 14a9e0b..554f9b4 100644 |
||||
--- a/etc/nagios-plugins/config/check_rabbitmq_watermark.cfg |
||||
+++ b/etc/nagios-plugins/config/check_rabbitmq_watermark.cfg |
||||
@@ -1,9 +1,9 @@ |
||||
define command{ |
||||
command_name check_rabbitmq_watermark |
||||
- command_line exec sudo /usr/lib/nagios/plugins/check_rabbitmq_watermark --extra-opts=$ARG1$ |
||||
+ command_line exec sudo /usr/lib64/nagios/plugins/check_rabbitmq_watermark --extra-opts=$ARG1$ |
||||
} |
||||
|
||||
define command{ |
||||
command_name check_rabbitmq_watermark_by_ssh |
||||
- command_line exec ssh $HOSTADDRESS$ sudo /usr/lib/nagios/plugins/check_rabbitmq_watermark --extra-opts=$ARG1$ |
||||
+ command_line exec ssh $HOSTADDRESS$ sudo /usr/lib64/nagios/plugins/check_rabbitmq_watermark --extra-opts=$ARG1$ |
||||
} |
||||
diff --git a/etc/nagios/nrpe.d/check_rabbitmq_aliveness.cfg b/etc/nagios/nrpe.d/check_rabbitmq_aliveness.cfg |
||||
deleted file mode 100644 |
||||
index 4d4026a..0000000 |
||||
--- a/etc/nagios/nrpe.d/check_rabbitmq_aliveness.cfg |
||||
+++ /dev/null |
||||
@@ -1 +0,0 @@ |
||||
-command[check_nrpe_check_rabbitmq_aliveness]=exec /usr/lib/nagios/plugins-rabbitmq/check_rabbitmq_aliveness --extra-opts=$ARG1$ |
||||
diff --git a/etc/nagios/nrpe.d/check_rabbitmq_cluster.cfg b/etc/nagios/nrpe.d/check_rabbitmq_cluster.cfg |
||||
deleted file mode 100644 |
||||
index 45accfa..0000000 |
||||
--- a/etc/nagios/nrpe.d/check_rabbitmq_cluster.cfg |
||||
+++ /dev/null |
||||
@@ -1 +0,0 @@ |
||||
-command[check_nrpe_check_rabbitmq_cluster]=exec /usr/lib/nagios/plugins-rabbitmq/check_rabbitmq_cluster --extra-opts=$ARG1$ |
||||
diff --git a/etc/nagios/nrpe.d/check_rabbitmq_connections.cfg b/etc/nagios/nrpe.d/check_rabbitmq_connections.cfg |
||||
deleted file mode 100644 |
||||
index 35d098e..0000000 |
||||
--- a/etc/nagios/nrpe.d/check_rabbitmq_connections.cfg |
||||
+++ /dev/null |
||||
@@ -1 +0,0 @@ |
||||
-command[check_nrpe_check_rabbitmq_connections]=exec /usr/lib/nagios/plugins-rabbitmq/check_rabbitmq_connections --extra-opts=$ARG1$ |
||||
diff --git a/etc/nagios/nrpe.d/check_rabbitmq_exchange.cfg b/etc/nagios/nrpe.d/check_rabbitmq_exchange.cfg |
||||
deleted file mode 100644 |
||||
index e374a93..0000000 |
||||
--- a/etc/nagios/nrpe.d/check_rabbitmq_exchange.cfg |
||||
+++ /dev/null |
||||
@@ -1 +0,0 @@ |
||||
-command[check_nrpe_check_rabbitmq_exchange]=exec /usr/lib/nagios/plugins-rabbitmq/check_rabbitmq_exchange --extra-opts=$ARG1$ --exchange=$ARG2$ --period=$ARG3$ |
||||
diff --git a/etc/nagios/nrpe.d/check_rabbitmq_objects.cfg b/etc/nagios/nrpe.d/check_rabbitmq_objects.cfg |
||||
deleted file mode 100644 |
||||
index a6f99c7..0000000 |
||||
--- a/etc/nagios/nrpe.d/check_rabbitmq_objects.cfg |
||||
+++ /dev/null |
||||
@@ -1 +0,0 @@ |
||||
-command[check_nrpe_check_rabbitmq_objects]=exec /usr/lib/nagios/plugins-rabbitmq/check_rabbitmq_objects --extra-opts=$ARG1$ |
||||
diff --git a/etc/nagios/nrpe.d/check_rabbitmq_overview.cfg b/etc/nagios/nrpe.d/check_rabbitmq_overview.cfg |
||||
deleted file mode 100644 |
||||
index a320ca2..0000000 |
||||
--- a/etc/nagios/nrpe.d/check_rabbitmq_overview.cfg |
||||
+++ /dev/null |
||||
@@ -1 +0,0 @@ |
||||
-command[check_nrpe_check_rabbitmq_overview]=exec /usr/lib/nagios/plugins-rabbitmq/check_rabbitmq_overview --extra-opts=$ARG1$ |
||||
diff --git a/etc/nagios/nrpe.d/check_rabbitmq_partition.cfg b/etc/nagios/nrpe.d/check_rabbitmq_partition.cfg |
||||
deleted file mode 100644 |
||||
index 04ac468..0000000 |
||||
--- a/etc/nagios/nrpe.d/check_rabbitmq_partition.cfg |
||||
+++ /dev/null |
||||
@@ -1 +0,0 @@ |
||||
-command[check_nrpe_check_rabbitmq_partition]=exec /usr/lib/nagios/plugins-rabbitmq/check_rabbitmq_partition --extra-opts=$ARG1$ |
||||
diff --git a/etc/nagios/nrpe.d/check_rabbitmq_queue.cfg b/etc/nagios/nrpe.d/check_rabbitmq_queue.cfg |
||||
deleted file mode 100644 |
||||
index 4cf8c98..0000000 |
||||
--- a/etc/nagios/nrpe.d/check_rabbitmq_queue.cfg |
||||
+++ /dev/null |
||||
@@ -1 +0,0 @@ |
||||
-command[check_nrpe_check_rabbitmq_queue]=exec /usr/lib/nagios/plugins-rabbitmq/check_rabbitmq_queue --extra-opts=$ARG1$ --queue=$ARG2$ |
||||
diff --git a/etc/nagios/nrpe.d/check_rabbitmq_server.cfg b/etc/nagios/nrpe.d/check_rabbitmq_server.cfg |
||||
deleted file mode 100644 |
||||
index 0e4fc27..0000000 |
||||
--- a/etc/nagios/nrpe.d/check_rabbitmq_server.cfg |
||||
+++ /dev/null |
||||
@@ -1 +0,0 @@ |
||||
-command[check_nrpe_check_rabbitmq_server]=exec /usr/lib/nagios/plugins-rabbitmq/check_rabbitmq_server --extra-opts=$ARG1$ |
||||
diff --git a/etc/nagios/nrpe.d/check_rabbitmq_shovels.cfg b/etc/nagios/nrpe.d/check_rabbitmq_shovels.cfg |
||||
deleted file mode 100644 |
||||
index 86428fb..0000000 |
||||
--- a/etc/nagios/nrpe.d/check_rabbitmq_shovels.cfg |
||||
+++ /dev/null |
||||
@@ -1 +0,0 @@ |
||||
-command[check_nrpe_check_rabbitmq_shovels]=exec /usr/lib/nagios/plugins-rabbitmq/check_rabbitmq_shovels --extra-opts=$ARG1$ |
||||
diff --git a/etc/nagios/nrpe.d/check_rabbitmq_watermark.cfg b/etc/nagios/nrpe.d/check_rabbitmq_watermark.cfg |
||||
deleted file mode 100644 |
||||
index 59c98de..0000000 |
||||
--- a/etc/nagios/nrpe.d/check_rabbitmq_watermark.cfg |
||||
+++ /dev/null |
||||
@@ -1 +0,0 @@ |
||||
-command[check_nrpe_check_rabbitmq_watermark]=exec /usr/lib/nagios/plugins-rabbitmq/check_rabbitmq_watermark --extra-opts=$ARG1$ |
||||
diff --git a/etc/nrpe.d/check_rabbitmq_aliveness.cfg b/etc/nrpe.d/check_rabbitmq_aliveness.cfg |
||||
new file mode 100644 |
||||
index 0000000..d1f5527 |
||||
--- /dev/null |
||||
+++ b/etc/nrpe.d/check_rabbitmq_aliveness.cfg |
||||
@@ -0,0 +1 @@ |
||||
+command[check_nrpe_check_rabbitmq_aliveness]=exec /usr/lib64/nagios/plugins-rabbitmq/check_rabbitmq_aliveness --extra-opts=$ARG1$ |
||||
diff --git a/etc/nrpe.d/check_rabbitmq_cluster.cfg b/etc/nrpe.d/check_rabbitmq_cluster.cfg |
||||
new file mode 100644 |
||||
index 0000000..b968538 |
||||
--- /dev/null |
||||
+++ b/etc/nrpe.d/check_rabbitmq_cluster.cfg |
||||
@@ -0,0 +1 @@ |
||||
+command[check_nrpe_check_rabbitmq_cluster]=exec /usr/lib64/nagios/plugins-rabbitmq/check_rabbitmq_cluster --extra-opts=$ARG1$ |
||||
diff --git a/etc/nrpe.d/check_rabbitmq_connections.cfg b/etc/nrpe.d/check_rabbitmq_connections.cfg |
||||
new file mode 100644 |
||||
index 0000000..64151db |
||||
--- /dev/null |
||||
+++ b/etc/nrpe.d/check_rabbitmq_connections.cfg |
||||
@@ -0,0 +1 @@ |
||||
+command[check_nrpe_check_rabbitmq_connections]=exec /usr/lib64/nagios/plugins-rabbitmq/check_rabbitmq_connections --extra-opts=$ARG1$ |
||||
diff --git a/etc/nrpe.d/check_rabbitmq_exchange.cfg b/etc/nrpe.d/check_rabbitmq_exchange.cfg |
||||
new file mode 100644 |
||||
index 0000000..d3c3664 |
||||
--- /dev/null |
||||
+++ b/etc/nrpe.d/check_rabbitmq_exchange.cfg |
||||
@@ -0,0 +1 @@ |
||||
+command[check_nrpe_check_rabbitmq_exchange]=exec /usr/lib64/nagios/plugins-rabbitmq/check_rabbitmq_exchange --extra-opts=$ARG1$ --exchange=$ARG2$ --period=$ARG3$ |
||||
diff --git a/etc/nrpe.d/check_rabbitmq_objects.cfg b/etc/nrpe.d/check_rabbitmq_objects.cfg |
||||
new file mode 100644 |
||||
index 0000000..420bcec |
||||
--- /dev/null |
||||
+++ b/etc/nrpe.d/check_rabbitmq_objects.cfg |
||||
@@ -0,0 +1 @@ |
||||
+command[check_nrpe_check_rabbitmq_objects]=exec /usr/lib64/nagios/plugins-rabbitmq/check_rabbitmq_objects --extra-opts=$ARG1$ |
||||
diff --git a/etc/nrpe.d/check_rabbitmq_overview.cfg b/etc/nrpe.d/check_rabbitmq_overview.cfg |
||||
new file mode 100644 |
||||
index 0000000..57f2f68 |
||||
--- /dev/null |
||||
+++ b/etc/nrpe.d/check_rabbitmq_overview.cfg |
||||
@@ -0,0 +1 @@ |
||||
+command[check_nrpe_check_rabbitmq_overview]=exec /usr/lib64/nagios/plugins-rabbitmq/check_rabbitmq_overview --extra-opts=$ARG1$ |
||||
diff --git a/etc/nrpe.d/check_rabbitmq_partition.cfg b/etc/nrpe.d/check_rabbitmq_partition.cfg |
||||
new file mode 100644 |
||||
index 0000000..713c899 |
||||
--- /dev/null |
||||
+++ b/etc/nrpe.d/check_rabbitmq_partition.cfg |
||||
@@ -0,0 +1 @@ |
||||
+command[check_nrpe_check_rabbitmq_partition]=exec /usr/lib64/nagios/plugins-rabbitmq/check_rabbitmq_partition --extra-opts=$ARG1$ |
||||
diff --git a/etc/nrpe.d/check_rabbitmq_queue.cfg b/etc/nrpe.d/check_rabbitmq_queue.cfg |
||||
new file mode 100644 |
||||
index 0000000..b1cce62 |
||||
--- /dev/null |
||||
+++ b/etc/nrpe.d/check_rabbitmq_queue.cfg |
||||
@@ -0,0 +1 @@ |
||||
+command[check_nrpe_check_rabbitmq_queue]=exec /usr/lib64/nagios/plugins-rabbitmq/check_rabbitmq_queue --extra-opts=$ARG1$ --queue=$ARG2$ |
||||
diff --git a/etc/nrpe.d/check_rabbitmq_server.cfg b/etc/nrpe.d/check_rabbitmq_server.cfg |
||||
new file mode 100644 |
||||
index 0000000..d6eea57 |
||||
--- /dev/null |
||||
+++ b/etc/nrpe.d/check_rabbitmq_server.cfg |
||||
@@ -0,0 +1 @@ |
||||
+command[check_nrpe_check_rabbitmq_server]=exec /usr/lib64/nagios/plugins-rabbitmq/check_rabbitmq_server --extra-opts=$ARG1$ |
||||
diff --git a/etc/nrpe.d/check_rabbitmq_shovels.cfg b/etc/nrpe.d/check_rabbitmq_shovels.cfg |
||||
new file mode 100644 |
||||
index 0000000..333feb3 |
||||
--- /dev/null |
||||
+++ b/etc/nrpe.d/check_rabbitmq_shovels.cfg |
||||
@@ -0,0 +1 @@ |
||||
+command[check_nrpe_check_rabbitmq_shovels]=exec /usr/lib64/nagios/plugins-rabbitmq/check_rabbitmq_shovels --extra-opts=$ARG1$ |
||||
diff --git a/etc/nrpe.d/check_rabbitmq_watermark.cfg b/etc/nrpe.d/check_rabbitmq_watermark.cfg |
||||
new file mode 100644 |
||||
index 0000000..c0df615 |
||||
--- /dev/null |
||||
+++ b/etc/nrpe.d/check_rabbitmq_watermark.cfg |
||||
@@ -0,0 +1 @@ |
||||
+command[check_nrpe_check_rabbitmq_watermark]=exec /usr/lib64/nagios/plugins-rabbitmq/check_rabbitmq_watermark --extra-opts=$ARG1$ |
||||
-- |
||||
2.20.1 |
||||
|
@ -0,0 +1,11 @@
@@ -0,0 +1,11 @@
|
||||
diff -up ./plugins-scripts/check_ntp.pl.not_parsed ./plugins-scripts/check_ntp.pl |
||||
--- ./plugins-scripts/check_ntp.pl.not_parsed 2017-01-16 12:24:03.000000000 -0500 |
||||
+++ ./plugins-scripts/check_ntp.pl 2017-07-12 15:29:20.311215673 -0400 |
||||
@@ -314,7 +314,6 @@ if ($have_ntpq) { |
||||
} |
||||
} else { |
||||
print "No match!\n" if $verbose; |
||||
- $jitter = '(not parsed)'; |
||||
} |
||||
|
||||
} |
@ -0,0 +1,13 @@
@@ -0,0 +1,13 @@
|
||||
diff -up ./plugins-scripts/utils.pm.in.ext_ntp_cmds ./plugins-scripts/utils.pm.in |
||||
--- ./plugins-scripts/utils.pm.in.ext_ntp_cmds 2017-01-16 12:24:03.000000000 -0500 |
||||
+++ ./plugins-scripts/utils.pm.in 2017-07-12 15:31:06.154120875 -0400 |
||||
@@ -23,6 +23,9 @@ $PATH_TO_LMSTAT = "@PATH_TO_LMSTAT@" ; |
||||
$PATH_TO_SMBCLIENT = "@PATH_TO_SMBCLIENT@" ; |
||||
$PATH_TO_MAILQ = "@PATH_TO_MAILQ@"; |
||||
$PATH_TO_QMAIL_QSTAT = "@PATH_TO_QMAIL_QSTAT@"; |
||||
+# Hardcoded values (autotools patch will be provided to the uptream project) |
||||
+$PATH_TO_NTPDATE = "/usr/sbin/ntpdate"; |
||||
+$PATH_TO_NTPQ = "/usr/sbin/ntpq"; |
||||
|
||||
## common variables |
||||
$TIMEOUT = 15; |
@ -0,0 +1,28 @@
@@ -0,0 +1,28 @@
|
||||
diff -up ./plugins-scripts/check_ntp.pl.fix_ipv6 ./plugins-scripts/check_ntp.pl |
||||
--- ./plugins-scripts/check_ntp.pl.fix_ipv6 2019-08-29 21:07:13.497504795 +0000 |
||||
+++ ./plugins-scripts/check_ntp.pl 2019-08-29 21:11:48.626816686 +0000 |
||||
@@ -112,13 +112,23 @@ if (defined $opt_j || defined $opt_k ) { |
||||
} |
||||
|
||||
$opt_H = shift unless ($opt_H); |
||||
-my $host = $1 if ($opt_H && $opt_H =~ m/^([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+|[a-zA-Z][-a-zA-Z0-9]+(\.[a-zA-Z][-a-zA-Z0-9]+)*)$/); |
||||
+ |
||||
+## From https://bugzilla.redhat.com/show_bug.cgi?id=1731468 |
||||
+my $host = $opt_H if ($opt_H && |
||||
+ ($opt_H =~ m/^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$/ || # IPv4 |
||||
+ $opt_H =~ m/^([0-9a-f]{1,4}:){7}([0-9a-f]{1,4})$/i || # IPv6 without :: |
||||
+ $opt_H =~ m/^:(:[0-9a-f]{1,4})+$/i || # IPv6 with leading :: |
||||
+ $opt_H =~ m/^([0-9a-f]{1,4}:)+:$/i || # IPv6 with trailing :: |
||||
+ $opt_H =~ m/^([0-9a-f]{1,4}:)+(:[0-9a-f]{1,4})+$/i || # IPv6 with middle :: |
||||
+ $opt_H =~ m/^[a-z0-9][-a-z0-9]*(\.[a-z0-9][-a-z0-9]*)*$/)); # hostnames |
||||
+ |
||||
unless ($host) { |
||||
print "No target host specified\n"; |
||||
print_usage(); |
||||
exit $ERRORS{'UNKNOWN'}; |
||||
} |
||||
|
||||
+ |
||||
my ($timeout, $owarn, $ocrit, $jwarn, $jcrit); |
||||
|
||||
$timeout = $TIMEOUT; |
@ -0,0 +1,38 @@
@@ -0,0 +1,38 @@
|
||||
From f5599aafb3cac9b25b1739b31827596581f92c2c Mon Sep 17 00:00:00 2001 |
||||
From: Joachim Jaeckel <bugzilla-2004@jj-it.de> |
||||
Date: Sun, 16 Sep 2012 09:53:48 +0400 |
||||
Subject: [PATCH 1/1] Fix for Nagios 3.x |
||||
|
||||
https://bugzilla.redhat.com/823859 |
||||
--- |
||||
check_sip | 14 ++++++++------ |
||||
1 file changed, 8 insertions(+), 6 deletions(-) |
||||
|
||||
diff --git a/check_sip b/check_sip |
||||
index d2b0ecd..71438df 100644 |
||||
--- a/check_sip |
||||
+++ b/check_sip |
||||
@@ -124,12 +124,14 @@ $socket->send($req); |
||||
$response=''; |
||||
$resend_times++; |
||||
# sip retransmission, totally 35.5 seconds. |
||||
-switch($resend_times){ |
||||
- case 1 { ualarm(500000); } |
||||
- case 2 { $TIMEOUT=1; alarm($TIMEOUT); } |
||||
- case 3 { $TIMEOUT=2; alarm($TIMEOUT); } |
||||
- else { $TIMEOUT=4; alarm($TIMEOUT); } |
||||
-} |
||||
+if($resend_times==1) |
||||
+ { ualarm(500000); } |
||||
+elsif($resend_times==2) |
||||
+ { $TIMEOUT=1; alarm($TIMEOUT); } |
||||
+elsif ($resend_times==3) |
||||
+ { $TIMEOUT=2; alarm($TIMEOUT); } |
||||
+else |
||||
+ { $TIMEOUT=4; alarm($TIMEOUT); } |
||||
#print $resend_times."->".$Total_timeout." $TIMEOUT\n"; |
||||
$socket->recv($response, 1024) or $state = 'CRITICAL'; # TODO: CHECK and show '503 Service Unavailable' when receiving unreachable ICMP packet. |
||||
#get rid of the 100 Trying - provisional response ... |
||||
-- |
||||
1.7.12 |
||||
|
@ -0,0 +1,7 @@
@@ -0,0 +1,7 @@
|
||||
PowerEL Users |
||||
|
||||
Nagios plugins for PowerEL have all been packaged separately. |
||||
For example, to install the check_http just install nagios-plugins-http. |
||||
|
||||
All plugins are installed in the architecture dependent directory |
||||
/usr/lib{,64}/nagios/plugins/. |
@ -0,0 +1,112 @@
@@ -0,0 +1,112 @@
|
||||
# Name of the plugin |
||||
%global plugin check_linux_bonding |
||||
|
||||
# No binaries here, do not build a debuginfo package. This is a binary |
||||
# package on RHEL/Fedora because it depends on %_libdir which is arch |
||||
# dependent |
||||
%global debug_package %{nil} |
||||
|
||||
Name: nagios-plugins-bonding |
||||
Version: 1.4 |
||||
Release: 14%{?dist} |
||||
Summary: Nagios plugin to monitor Linux bonding interfaces |
||||
|
||||
License: GPLv3+ |
||||
URL: http://folk.uio.no/trondham/software/%{plugin}.html |
||||
Source0: http://folk.uio.no/trondham/software/files/%{plugin}-%{version}.tar.gz |
||||
|
||||
# Since we're also building for RHEL5 |
||||
|
||||
# Building requires Docbook XML |
||||
BuildRequires: libxslt |
||||
BuildRequires: libxml2 |
||||
BuildRequires: docbook-style-xsl |
||||
BuildRequires: perl-generators |
||||
|
||||
# Owns the nagios plugins directory |
||||
%if 0%{?rhel} > 5 || 0%{?fedora} > 18 |
||||
Requires: nagios-common |
||||
%else |
||||
Requires: nagios-plugins |
||||
%endif |
||||
|
||||
# Makes the transition to new package name easier for existing |
||||
# users of RPM packages |
||||
Provides: check_linux_bonding = %{version}-%{release} |
||||
Obsoletes: check_linux_bonding < 1.3.2 |
||||
|
||||
%description |
||||
This package contains check_linux_bonding, which is a plugin for |
||||
Nagios that checks bonding network interfaces on Linux. The plugin |
||||
will report any interfaces that are down (both masters and slaves), as |
||||
well as other aspects which may point to a problem with bonded |
||||
interfaces. |
||||
|
||||
%prep |
||||
%setup -q -n %{plugin}-%{version} |
||||
|
||||
%build |
||||
%if 0%{?rhel} > 5 || 0%{?fedora} > 18 |
||||
pushd man |
||||
make clean && make |
||||
popd |
||||
%else |
||||
: # use pre-built man-pages on old systems |
||||
%endif |
||||
|
||||
%install |
||||
rm -rf %{buildroot} |
||||
install -Dp -m 0755 %{plugin} %{buildroot}%{_libdir}/nagios/plugins/%{plugin} |
||||
install -Dp -m 0644 man/%{plugin}.8 %{buildroot}%{_mandir}/man8/%{plugin}.8 |
||||
|
||||
%files |
||||
%doc COPYING CHANGES |
||||
%{_libdir}/nagios/plugins/%{plugin} |
||||
%{_mandir}/man8/%{plugin}.8* |
||||
|
||||
|
||||
%changelog |
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-14 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild |
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-13 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild |
||||
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-12 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild |
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-11 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild |
||||
|
||||
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-10 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild |
||||
|
||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-9 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild |
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-8 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild |
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-7 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild |
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-6 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild |
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-5 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild |
||||
|
||||
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-4 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild |
||||
|
||||
* Mon Jul 28 2014 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 1.4-3 |
||||
- Fix specfile bug that resulted in wrong requires for ownership of |
||||
the nagios plugins directory |
||||
- Conditionalize building man pages for rhel6+ and fedora19+ (others |
||||
will use pre-built man pages) |
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
||||
|
||||
* Tue May 13 2014 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 1.4-1 |
||||
- Upstream release 1.4 |
@ -0,0 +1,249 @@
@@ -0,0 +1,249 @@
|
||||
%define plugin check_updates |
||||
%define nagiospluginsdir %{_libdir}/nagios/plugins |
||||
|
||||
# No binaries in this package |
||||
%define debug_package %{nil} |
||||
|
||||
Name: nagios-plugins-check-updates |
||||
Version: 1.7.10 |
||||
Release: 2%{?dist} |
||||
Summary: A Nagios plugin to check if Red Hat or Fedora system is up-to-date |
||||
|
||||
License: GPLv3+ |
||||
URL: https://github.com/matteocorti/check_updates |
||||
Source: https://github.com/matteocorti/check_updates/releases/download/v%{version}/check_updates-%{version}.tar.gz |
||||
|
||||
|
||||
BuildRequires: perl-generators |
||||
BuildRequires: perl(ExtUtils::MakeMaker) |
||||
BuildRequires: perl(Test::More) |
||||
BuildRequires: perl(Module::Install) |
||||
BuildRequires: perl(Monitoring::Plugin) |
||||
BuildRequires: perl(Readonly) |
||||
|
||||
Requires: nagios-plugins |
||||
Requires: which |
||||
# Yum security plugin: |
||||
# Fedora >= 19 : yum-plugin-security (is now provided by the yum package) |
||||
# Fedora <= 18 : yum-plugin-security (yum-utils subpackage; also provides yum-security) |
||||
# Red Hat Enterprise 6 : yum-plugin-security (yum-utils subpackage; also provides yum-security) |
||||
# Red Hat Enterprise 5 : yum-security (yum-utils subpackage) |
||||
# Red Hat Enterprise 8+: |
||||
|
||||
%if (0%{?rhel} && 0%{?rhel} < 8) || (0%{?fedora} && 0%{?fedora} < 31) |
||||
Requires: yum-plugin-security |
||||
%endif |
||||
|
||||
Requires: perl(Monitoring::Plugin) |
||||
|
||||
Obsoletes: check_updates < 1.4.11 |
||||
|
||||
%description |
||||
%{summary}. |
||||
|
||||
|
||||
%prep |
||||
%setup -q -n %{plugin}-%{version} |
||||
# Remove bundled modules |
||||
rm -r ./inc/* |
||||
sed -i -e '/^inc\//d' MANIFEST |
||||
|
||||
%build |
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor \ |
||||
INSTALLSCRIPT=%{nagiospluginsdir} \ |
||||
INSTALLVENDORSCRIPT=%{nagiospluginsdir} |
||||
make %{?_smp_mflags} |
||||
|
||||
%install |
||||
rm -rf %{buildroot} |
||||
make pure_install PERL_INSTALL_ROOT=%{buildroot} |
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} \; |
||||
find %{buildroot} -type f -name "*.pod" -exec rm -f {} \; |
||||
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; |
||||
%{_fixperms} %{buildroot}/* |
||||
|
||||
%check |
||||
make test |
||||
|
||||
|
||||
%files |
||||
%doc AUTHORS Changes NEWS README.md TODO COPYING COPYRIGHT |
||||
%{nagiospluginsdir}/* |
||||
%{_mandir}/man1/*.1* |
||||
|
||||
|
||||
%changelog |
||||
* Thu May 07 2020 Martin Jackson <mhjacks@swbell.net> - 1.7.10-2 |
||||
- Fix date |
||||
|
||||
* Thu May 07 2020 Martin Jackson <mhjacks@swbell.net> - 1.7.10-1 |
||||
- Remove bundled libs |
||||
- New version |
||||
|
||||
* Thu Feb 27 2020 Martin Jackson <mhjacks@swbell.net> - 1.7.9-1 |
||||
- Update to latest release, fix bz#1808156; remove bundled lib fixup |
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.8-3 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild |
||||
|
||||
* Thu Jan 23 2020 Piotr Popieluch <piotr1212@gmail.com> - 1.7.8-2 |
||||
- Remove bundled libraries |
||||
|
||||
* Sat Jan 18 2020 Piotr Popieluch <piotr1212@gmail.com> - 1.7.8-1 |
||||
- Update to 1.7.8 |
||||
- Add version to Obsoletes: |
||||
|
||||
* Mon Dec 2 2019 Martin Jackson <mhjacks@swbell.net> - 1.6.23-4 |
||||
- Conditionalize yum Requires |
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.23-3 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild |
||||
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.23-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild |
||||
|
||||
* Sun Jul 29 2018 Piotr Popieluch <piotr1212@gmail.com> - 1.6.23-1 |
||||
- Add Module::Install to BR to fix rhbz#1583366 |
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.19-6 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild |
||||
|
||||
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.19-5 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild |
||||
|
||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.19-4 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild |
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.19-3 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild |
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.19-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild |
||||
|
||||
* Thu Jan 5 2017 Jose Pedro Oliveira <jose.p.oliveira.oss at gmail.com> - 1.6.19-1 |
||||
- Update to 1.6.19. |
||||
|
||||
* Sat Sep 3 2016 Jose Pedro Oliveira <jose.p.oliveira.oss at gmail.com> - 1.6.18-2 |
||||
- Add missing requirement: perl(Monitoring::Plugin) |
||||
|
||||
* Wed Jun 1 2016 Jose Pedro Oliveira <jose.p.oliveira.oss at gmail.com> - 1.6.18-1 |
||||
- Update to 1.6.18. |
||||
|
||||
* Sun May 29 2016 Jose Pedro Oliveira <jose.p.oliveira.oss at gmail.com> - 1.6.17-1 |
||||
- Update to 1.6.17. |
||||
|
||||
* Mon Apr 18 2016 Jose Pedro Oliveira <jose.p.oliveira.oss at gmail.com> - 1.6.16-1 |
||||
- Update to 1.6.16. |
||||
|
||||
* Sun Feb 07 2016 Jose Pedro Oliveira <jose.p.oliveira.oss at gmail.com> - 1.6.15-1 |
||||
- Update to 1.6.15. |
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.12-3 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild |
||||
|
||||
* Mon Dec 28 2015 Jose Pedro Oliveira <jose.p.oliveira.oss at gmail.com> - 1.6.12-2 |
||||
- Upstream project moved to github |
||||
- Upstream is now using git instead of subversion |
||||
- Version 1.6.12 tarball in github has slightly different content |
||||
|
||||
* Sat Sep 19 2015 Jose Pedro Oliveira <jose.p.oliveira.oss at gmail.com> - 1.6.12-1 |
||||
- Update to 1.6.12. |
||||
- Initial support for DNF. |
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.10-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild |
||||
|
||||
* Mon Feb 16 2015 Jose Pedro Oliveira <jose.p.oliveira.oss at gmail.com> - 1.6.10-1 |
||||
- Update to 1.6.10. |
||||
- It now requires perl(Monitoring::Plugin). |
||||
|
||||
* Tue Feb 10 2015 Jose Pedro Oliveira <jose.p.oliveira.oss at gmail.com> - 1.6.9-1 |
||||
- Update to 1.6.9. |
||||
- No longer requires perl(Sort::Versions). |
||||
- Ship the version.pm file from check-updates 1.6.7 (temporary). |
||||
|
||||
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.7-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild |
||||
|
||||
* Mon Jun 23 2014 Jose Pedro Oliveira <jose.p.oliveira.oss at gmail.com> - 1.6.7-1 |
||||
- Update to 1.6.7. |
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.6-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
||||
|
||||
* Fri Oct 11 2013 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.6.6-1 |
||||
- Update to 1.6.6. |
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.5-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
||||
|
||||
* Thu Jul 18 2013 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.6.5-1 |
||||
- Update to 1.6.5. |
||||
|
||||
* Wed Jun 19 2013 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.6.4-1 |
||||
- Update to 1.6.4. |
||||
|
||||
* Sat May 25 2013 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.6.3-2 |
||||
- Fedora 19: yum-plugin-security is now provided by the yum package |
||||
(and the yum-security virtual provide was dropped) (#967225). |
||||
|
||||
* Wed May 15 2013 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.6.3-1 |
||||
- Update to 1.6.3. |
||||
|
||||
* Sat Mar 30 2013 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.6.2-1 |
||||
- Update to 1.6.2. |
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
||||
|
||||
* Mon Dec 10 2012 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.6.1-1 |
||||
- Update to 1.6.1. |
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.0-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
||||
|
||||
* Mon Apr 16 2012 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.6.0-1 |
||||
- Update to 1.6.0. |
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.2-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
||||
|
||||
* Mon Dec 5 2011 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.5.2-1 |
||||
- Update to 1.5.2. |
||||
|
||||
* Sat Dec 3 2011 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.5.1-1 |
||||
- Update to 1.5.1. |
||||
|
||||
* Tue Oct 4 2011 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.5.0-1 |
||||
- Update to 1.5.0. |
||||
|
||||
* Wed May 25 2011 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.4.14-1 |
||||
- Update to 1.4.14. |
||||
|
||||
* Tue May 24 2011 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.4.13-1 |
||||
- Update to 1.4.13. |
||||
- Fixes a build problem in EPEL5 (test script failure). |
||||
|
||||
* Tue May 24 2011 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.4.12-1 |
||||
- Update to 1.4.12. |
||||
- Upstream added a test suite. |
||||
|
||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.11-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
||||
|
||||
* Thu Nov 18 2010 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.4.11-1 |
||||
- Update to 1.4.11. |
||||
|
||||
* Mon Nov 1 2010 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.4.9-1 |
||||
- Update to 1.4.9 (solves the EPEL5 build problem). |
||||
|
||||
* Sun Oct 31 2010 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.4.8-1 |
||||
- Update to 1.4.8 (license clarification). |
||||
|
||||
* Thu Feb 18 2010 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.4.7-1 |
||||
- Update to 1.4.7. |
||||
|
||||
* Thu Dec 10 2009 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.4.6-1 |
||||
- First build for Fedora and EPEL. |
||||
|
||||
# vim:set ai ts=4 sw=4 sts=4 et: |
@ -0,0 +1,122 @@
@@ -0,0 +1,122 @@
|
||||
%global debug_package %{nil} |
||||
|
||||
Summary: A Nagios plugin to check SIP servers and devices |
||||
Name: nagios-plugins-check_sip |
||||
Version: 1.3 |
||||
Release: 8%{?dist} |
||||
License: GPLv2+ |
||||
Group: Applications/System |
||||
URL: http://bashton.com/osprojects/nagiosplugins/ |
||||
Source0: http://www.bashton.com/downloads/nagios-check_sip-%{version}.tar.gz |
||||
# Fix for Nagios 3.x - https://bugzilla.redhat.com/823859 |
||||
Patch1: nagios-plugins-check_sip-0001-Fix-for-Nagios-3.x.patch |
||||
Requires: nagios-plugins |
||||
Requires: nagios-plugins-perl |
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
||||
|
||||
%description |
||||
A Nagios plugin that will test a SIP server/device for availability and |
||||
response time. |
||||
|
||||
%prep |
||||
%setup -q -n nagios-check_sip-%{version} |
||||
# lib64 fix |
||||
perl -pi -e "s|/usr/lib64|%{_libdir}|g" check_sip |
||||
%if 0%{?el6}%{?fedora} |
||||
%patch1 -p1 -b .nagios3x |
||||
%endif |
||||
|
||||
%build |
||||
|
||||
%install |
||||
rm -rf %{buildroot} |
||||
install -D -p -m 0755 check_sip %{buildroot}%{_libdir}/nagios/plugins/check_sip |
||||
|
||||
%clean |
||||
rm -rf %{buildroot} |
||||
|
||||
%files |
||||
%doc README COPYING CHANGES |
||||
%{_libdir}/nagios/plugins/check_sip |
||||
|
||||
%changelog |
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-8 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-7 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
||||
|
||||
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1.3-6 |
||||
- Perl 5.18 rebuild |
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-5 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
||||
|
||||
* Sun Sep 16 2012 Peter Lemenkov <lemenkov@gmail.com> - 1.3-4 |
||||
- Fixed work with Nagios 3.x (thanks, Joachim Jaeckel) |
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-3 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
||||
|
||||
* Tue May 22 2012 Peter Lemenkov <lemenkov@gmail.com> - 1.3-2 |
||||
- Fixed typo (see rhbz #823859) |
||||
|
||||
* Sun May 06 2012 Peter Lemenkov <lemenkov@gmail.com> - 1.3-1 |
||||
- Ver. 1.3 (bugfix release) |
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-9 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
||||
|
||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-8 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
||||
|
||||
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-7 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
||||
|
||||
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-6 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
||||
|
||||
* Tue Oct 7 2008 Peter Lemenkov <lemenkov@gmail.com> 1.2-5 |
||||
- Small changes due to Rakesh Pandit's sugestions |
||||
|
||||
* Tue Sep 30 2008 Peter Lemenkov <lemenkov@gmail.com> 1.2-4 |
||||
- Fixed project's URL |
||||
- Removed unnecessary explicit "Provides:" |
||||
|
||||
* Sat Aug 23 2008 Peter Lemenkov <lemenkov@gmail.com> 1.2-3 |
||||
- Cleanups |
||||
|
||||
* Sun Aug 10 2008 Peter Lemenkov <lemenkov@gmail.com> 1.2-2 |
||||
- Fixed issue with multiarch |
||||
|
||||
* Fri May 16 2008 Peter Lemenkov <lemenkov@gmail.com> 1.2-1 |
||||
-Initial package for Fedora/EPEL |
||||
V |
||||
* Tue Feb 19 2008 Oden Eriksson <oeriksson@mandriva.com> 1.1-1mdv2008.1 |
||||
+ Revision: 173081 |
||||
- 1.1 |
||||
|
||||
+ Olivier Blin <oblin@mandriva.com> |
||||
- restore BuildRoot |
||||
|
||||
+ Thierry Vignaud <tvignaud@mandriva.com> |
||||
- kill re-definition of %%buildroot on Pixel's request |
||||
|
||||
* Tue Apr 17 2007 Oden Eriksson <oeriksson@mandriva.com> 1.01-3mdv2008.0 |
||||
+ Revision: 13796 |
||||
- use the new /etc/nagios/plugins.d scandir |
||||
|
||||
|
||||
* Wed Nov 15 2006 Oden Eriksson <oeriksson@mandriva.com> 1.01-2mdv2007.0 |
||||
+ Revision: 84577 |
||||
- Import nagios-check_sip |
||||
|
||||
* Thu Aug 10 2006 Oden Eriksson <oeriksson@mandriva.com> 1.01-2mdk |
||||
- disable debug packages |
||||
|
||||
* Thu Apr 06 2006 Oden Eriksson <oeriksson@mandriva.com> 1.01-1mdk |
||||
- 1.01 |
||||
|
||||
* Sun Jul 31 2005 Oden Eriksson <oeriksson@mandriva.com> 1.0-1mdk |
||||
- initial Mandriva package |
||||
|
@ -0,0 +1,292 @@
@@ -0,0 +1,292 @@
|
||||
# Name of the plugin |
||||
%global plugin check_openmanage |
||||
|
||||
# No binaries here, do not build a debuginfo package |
||||
%global debug_package %{nil} |
||||
|
||||
Name: nagios-plugins-openmanage |
||||
Version: 3.7.12 |
||||
Release: 1%{?dist} |
||||
Summary: Nagios plugin to monitor hardware health on Dell servers |
||||
|
||||
License: GPLv3+ |
||||
URL: http://folk.uio.no/trondham/software/%{plugin}.html |
||||
Source0: http://folk.uio.no/trondham/software/files/%{plugin}-%{version}.tar.gz |
||||
|
||||
|
||||
# Building requires Docbook XML |
||||
BuildRequires: libxslt |
||||
BuildRequires: libxml2 |
||||
BuildRequires: docbook-style-xsl |
||||
BuildRequires: perl-generators |
||||
|
||||
# Rpmbuild doesn't find these perl dependencies |
||||
Requires: perl(Config::Tiny) |
||||
Requires: perl(Net::SNMP) |
||||
|
||||
# Owns the nagios plugins directory |
||||
%if 0%{?rhel} > 5 || 0%{?fedora} > 18 |
||||
Requires: nagios-common |
||||
%else |
||||
Requires: nagios-plugins |
||||
%endif |
||||
|
||||
# Make the transition to Fedora/EPEL packages easier for existing |
||||
# users of the non-Fedora/EPEL RPM packages |
||||
Provides: nagios-plugins-check-openmanage = %{version}-%{release} |
||||
Obsoletes: nagios-plugins-check-openmanage < 3.7.2-3 |
||||
|
||||
%description |
||||
check_openmanage is a plugin for Nagios which checks the hardware |
||||
health of Dell servers running OpenManage Server Administrator |
||||
(OMSA). The plugin can be used remotely with SNMP or locally with |
||||
NRPE, check_by_ssh or similar, whichever suits your needs and |
||||
particular taste. The plugin checks the health of the storage |
||||
subsystem, power supplies, memory modules, temperature probes etc., |
||||
and gives an alert if any of the components are faulty or operate |
||||
outside normal parameters. |
||||
|
||||
%prep |
||||
%setup -q -n %{plugin}-%{version} |
||||
rm -f %{plugin}.exe |
||||
|
||||
%build |
||||
%if 0%{?rhel} > 5 || 0%{?fedora} > 18 |
||||
pushd man |
||||
make clean && make |
||||
popd |
||||
%else |
||||
: # use pre-built man-pages on old systems |
||||
%endif |
||||
|
||||
%install |
||||
rm -rf %{buildroot} |
||||
install -Dp -m 0755 %{plugin} %{buildroot}%{_libdir}/nagios/plugins/%{plugin} |
||||
install -Dp -m 0644 man/%{plugin}.8 %{buildroot}%{_mandir}/man8/%{plugin}.8 |
||||
install -Dp -m 0644 man/%{plugin}.conf.5 %{buildroot}%{_mandir}/man5/%{plugin}.conf.5 |
||||
|
||||
%files |
||||
%doc README COPYING CHANGES example.conf |
||||
%{_libdir}/nagios/plugins/%{plugin} |
||||
%{_mandir}/man8/%{plugin}.8* |
||||
%{_mandir}/man5/%{plugin}.conf.5* |
||||
|
||||
|
||||
%changelog |
||||
* Mon Jul 28 2014 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.7.12-1 |
||||
- Upstream release 3.7.12 |
||||
- Conditionalize building man pages for rhel6+ and fedora19+ (others |
||||
will use pre-built man pages) |
||||
- Conditionalize require nagios-common (rhel6+/fedora19+) or |
||||
nagios-plugins (others) for owner of the plugins directory |
||||
- Drop perl(Crypt::Rijndael) requirement, as it provides optional and |
||||
very rarely used functionality |
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.7.11-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
||||
|
||||
* Tue Aug 6 2013 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.7.11-1 |
||||
- Upstream release 3.7.11 |
||||
|
||||
* Sat Aug 03 2013 Petr Pisar <ppisar@redhat.com> - 3.7.10-2 |
||||
- Perl 5.18 rebuild |
||||
|
||||
* Fri Jul 19 2013 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.7.10-1 |
||||
- Upstream release 3.7.10 |
||||
|
||||
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 3.7.9-3 |
||||
- Perl 5.18 rebuild |
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.7.9-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
||||
|
||||
* Thu Jan 10 2013 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.7.9-1 |
||||
- Upstream release 3.7.9 |
||||
|
||||
* Wed Dec 12 2012 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.7.8-1 |
||||
- Upstream release 3.7.8 |
||||
|
||||
* Thu Dec 6 2012 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.7.7-1 |
||||
- Upstream release 3.7.7 |
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.7.6-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
||||
|
||||
* Thu Jun 28 2012 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.7.6-1 |
||||
- Upstream release 3.7.6 |
||||
- Changes to build section and buildrequires for new manpage format |
||||
|
||||
* Fri Apr 13 2012 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.7.5-1 |
||||
- Upstream version 3.7.5 |
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.7.3-4 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
||||
|
||||
* Mon Nov 28 2011 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.7.3-3 |
||||
- Provide example config file as documentation rather than installing |
||||
it under /etc/nagios |
||||
- Remove win32 binary in prep section |
||||
|
||||
* Tue Nov 15 2011 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.7.3-2 |
||||
- Spec file changes which address issues raised in rhbz#743615 |
||||
|
||||
* Wed Oct 5 2011 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.7.3-1 |
||||
- Version 3.7.3 |
||||
- RPM name changed to nagios-plugins-openmanage |
||||
- Added obsoletes for old name |
||||
|
||||
* Tue Sep 27 2011 Xavier Bachelot <xavier@bachelot.org> - 3.7.2-2 |
||||
- Add a commented configuration file. |
||||
- Add some Requires to have all features out of the box. |
||||
- Add Requires on nagios-plugins for %%{_libdir}/nagios/plugins directory. |
||||
- Remove some useless command macros. |
||||
- Fix Obsoletes/Provides. |
||||
|
||||
* Mon Sep 19 2011 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.7.2-1 |
||||
- Version 3.7.2 |
||||
|
||||
* Mon Aug 22 2011 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.7.1-1 |
||||
- Version 3.7.1 |
||||
|
||||
* Mon Aug 15 2011 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.7.0-1 |
||||
- Version 3.7.0 |
||||
|
||||
* Mon Jun 06 2011 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.6.8-1 |
||||
- Version 3.6.8 |
||||
|
||||
* Thu May 12 2011 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.6.7-1 |
||||
- Version 3.6.7 |
||||
|
||||
* Thu Apr 28 2011 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.6.6-1 |
||||
- Version 3.6.6 |
||||
|
||||
* Wed Feb 9 2011 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.6.5-1 |
||||
- Version 3.6.5 |
||||
|
||||
* Tue Jan 4 2011 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.6.4-2 |
||||
- Don't compress the man page, rpmbuild takes care of that. Thanks to |
||||
Jose Pedro Oliveira for a patch that fixes this. |
||||
|
||||
* Tue Jan 4 2011 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.6.4-1 |
||||
- Version 3.6.4 |
||||
- Initial build with new spec file |
||||
- Spec file adapted to Fedora/EPEL standards |
||||
|
||||
* Mon Dec 13 2010 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.6.3-1 |
||||
- Version 3.6.3 |
||||
|
||||
* Thu Nov 25 2010 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.6.2-1 |
||||
- Version 3.6.2 |
||||
|
||||
* Tue Nov 2 2010 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.6.1-1 |
||||
- Version 3.6.1 |
||||
|
||||
* Mon Aug 30 2010 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.6.0-1 |
||||
- Version 3.6.0 |
||||
|
||||
* Wed Jul 14 2010 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.5.10-1 |
||||
- Version 3.5.10 |
||||
|
||||
* Tue Jun 29 2010 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.5.9-1 |
||||
- Version 3.5.9 |
||||
|
||||
* Thu Jun 17 2010 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.5.8-1 |
||||
- Version 3.5.8 |
||||
|
||||
* Fri Mar 19 2010 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.5.7-1 |
||||
- Version 3.5.7 |
||||
|
||||
* Tue Feb 23 2010 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.5.6-1 |
||||
- Version 3.5.6 |
||||
|
||||
* Fri Jan 22 2010 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.5.5-1 |
||||
- Version 3.5.5 |
||||
|
||||
* Wed Jan 13 2010 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.5.4-1 |
||||
- Version 3.5.4 |
||||
|
||||
* Thu Dec 17 2009 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.5.3-1 |
||||
- Version 3.5.3 |
||||
|
||||
* Tue Nov 17 2009 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.5.2-1 |
||||
- Version 3.5.2 |
||||
|
||||
* Thu Oct 22 2009 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.5.1-1 |
||||
- Version 3.5.1 |
||||
|
||||
* Tue Oct 13 2009 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.5.0-1 |
||||
- Version 3.5.0 |
||||
- New location for the manual page (section 3 -> 8) |
||||
|
||||
* Fri Aug 7 2009 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.4.9-1 |
||||
- Version 3.4.9 |
||||
|
||||
* Fri Jul 31 2009 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.4.8-1 |
||||
- Version 3.4.8 |
||||
|
||||
* Fri Jul 24 2009 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.4.7-1 |
||||
- Version 3.4.7 |
||||
|
||||
* Tue Jul 7 2009 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.4.6-1 |
||||
- Version 3.4.6 |
||||
|
||||
* Mon Jun 22 2009 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.4.5-1 |
||||
- Version 3.4.5 |
||||
|
||||
* Mon Jun 22 2009 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.4.4-1 |
||||
- Version 3.4.4 |
||||
|
||||
* Thu Jun 11 2009 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.4.3-1 |
||||
- Version 3.4.3 |
||||
|
||||
* Wed Jun 3 2009 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.4.2-1 |
||||
- Version 3.4.2 |
||||
|
||||
* Wed May 27 2009 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.4.1-1 |
||||
- Version 3.4.1 |
||||
|
||||
* Mon May 25 2009 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.4.0-1 |
||||
- Version 3.4.0 |
||||
|
||||
* Tue May 5 2009 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.3.2-1 |
||||
- Version 3.3.2 |
||||
|
||||
* Tue Apr 28 2009 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.3.1-1 |
||||
- Version 3.3.1 |
||||
|
||||
* Tue Apr 7 2009 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.3.0-1 |
||||
- Version 3.3.0 |
||||
|
||||
* Sun Mar 29 2009 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.2.7-1 |
||||
- Version 3.2.7 |
||||
|
||||
* Thu Mar 5 2009 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.2.6-1 |
||||
- Version 3.2.6 |
||||
|
||||
* Tue Feb 24 2009 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.2.5-1 |
||||
- Version 3.2.5 |
||||
- take 64bit (other libdir) into consideration |
||||
|
||||
* Tue Feb 17 2009 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.2.4-1 |
||||
- Version 3.2.4 |
||||
|
||||
* Mon Feb 9 2009 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.2.3-1 |
||||
- Version 3.2.3 |
||||
|
||||
* Tue Feb 3 2009 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.2.2-1 |
||||
- Version 3.2.2 |
||||
|
||||
* Tue Feb 3 2009 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.2.1-1 |
||||
- Version 3.2.1 |
||||
|
||||
* Tue Jan 27 2009 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.2.0-1 |
||||
- Version 3.2.0 |
||||
|
||||
* Sat Dec 20 2008 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.0.2-1 |
||||
- Version 3.0.2 |
||||
|
||||
* Thu Dec 4 2008 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 3.0.0-1 |
||||
- Version 3.0.0 |
||||
|
||||
* Wed Nov 19 2008 Trond Hasle Amundsen <t.h.amundsen@usit.uio.no> - 2.1.0-0 |
||||
- first RPM release |
@ -0,0 +1,72 @@
@@ -0,0 +1,72 @@
|
||||
|
||||
Name: nagios-plugins-rabbitmq |
||||
Version: 2.0.3 |
||||
Release: 1%{?dist} |
||||
Summary: Nagios scripts for RabbitMQ |
||||
|
||||
License: ASL 2.0 |
||||
URL: https://github.com/nagios-plugins-rabbitmq/nagios-plugins-rabbitmq/ |
||||
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz |
||||
BuildArch: noarch |
||||
Patch0: 0001-track-codes-in-all-cases-66.patch |
||||
Patch1: 0002-don-t-rise-critical-error-when-used-is-0.patch |
||||
Patch2: 0003-Improve-the-cluster-check-script-to-make-more-nagios.patch |
||||
Patch3: 0004-Update-check_rabbitmq_cluster.cfg-74.patch |
||||
Patch4: 0005-If-a-queue-is-not-found-report-an-UNKNOWN-status-75.patch |
||||
Patch5: 0006-Add-descriptive-text-about-the-order-of-thresholds-8.patch |
||||
Patch6: 0007-minor-docs-fixes-79.patch |
||||
Patch7: 0008-Add-.-to-character-class-for-hostnames-to-accommodat.patch |
||||
Patch8: 0009-check_rabbitmq_cluster-return-correctly-excluded-nod.patch |
||||
Patch9: 0010-Fix-to-handle-shovels-in-connections-list-on-shovel-.patch |
||||
Patch10: lib-lib64.patch |
||||
|
||||
BuildRequires: rsync |
||||
BuildRequires: perl(Test::More) |
||||
BuildRequires: perl(Test::Script) |
||||
BuildRequires: perl(Module::Build) |
||||
BuildRequires: perl(Monitoring::Plugin) |
||||
BuildRequires: perl(LWP::UserAgent) |
||||
BuildRequires: perl(URI::Escape) |
||||
BuildRequires: perl(JSON) |
||||
BuildRequires: perl(Data::Dumper) |
||||
BuildRequires: perl(Pod::Usage) |
||||
BuildRequires: perl(Getopt::Long) |
||||
Requires: perl(Monitoring::Plugin) |
||||
Requires: perl(LWP::UserAgent) |
||||
Requires: perl(URI::Escape) |
||||
Requires: perl(JSON) |
||||
Requires: perl(Data::Dumper) |
||||
Requires: perl(Pod::Usage) |
||||
Requires: perl(Getopt::Long) |
||||
|
||||
|
||||
%description |
||||
This package contains a set of nagios checks useful for monitoring a |
||||
RabbitMQ server. They use the RabbitMQ management interface over HTTP |
||||
and therefore have a very light profile on the Nagios server. |
||||
|
||||
|
||||
%prep |
||||
%autosetup -p1 -n %{name}-%{version} |
||||
|
||||
|
||||
|
||||
%build |
||||
make %{?_smp_mflags} build |
||||
|
||||
|
||||
%install |
||||
%make_install |
||||
|
||||
|
||||
%files |
||||
%doc README.md |
||||
%license LICENSE.txt |
||||
%{_sysconfdir}/nagios-plugins/config/* |
||||
%{_sysconfdir}/nrpe.d/* |
||||
/usr/lib64/nagios/plugins-rabbitmq/* |
||||
|
||||
|
||||
%changelog |
||||
* Tue Apr 23 2019 Jeremy Cline <jcline@redhat.com> - 2.0.3-1 |
||||
- Initial package |
@ -0,0 +1,154 @@
@@ -0,0 +1,154 @@
|
||||
%global nagios_plugins_dir %{_libdir}/nagios/plugins |
||||
|
||||
Name: nagios-plugins-snmp-disk-proc |
||||
Version: 1.3.1 |
||||
Release: 14%{?dist} |
||||
Summary: Nagios SNMP plugins to monitor remote disk and processes |
||||
# Version intent from README |
||||
License: GPLv2 |
||||
URL: https://github.com/glensc/nagios-snmp-plugins/ |
||||
Source0: https://github.com/glensc/nagios-snmp-plugins/releases/download/%{version}/nagios-snmp-plugins-%{version}.tar.gz |
||||
BuildRequires: make |
||||
BuildRequires: gcc |
||||
BuildRequires: autoconf, automake |
||||
BuildRequires: net-snmp-devel |
||||
BuildRequires: openssl-devel |
||||
# BuildRequires: tcp_wrappers-devel |
||||
Requires: nagios-plugins |
||||
Provides: nagios-snmp-plugins = %{version}-%{release} |
||||
|
||||
%description |
||||
These plugins allow you to monitor disk space and running processes on |
||||
a remote machine via SNMP. |
||||
|
||||
%prep |
||||
%setup -q -n nagios-snmp-plugins-%{version} |
||||
|
||||
%build |
||||
touch ChangeLog |
||||
aclocal |
||||
autoheader |
||||
automake --add-missing |
||||
autoconf |
||||
%configure |
||||
make %{?_smp_mflags} |
||||
|
||||
%install |
||||
install -d -m 755 $RPM_BUILD_ROOT/%{nagios_plugins_dir} |
||||
install -p -m 755 check_snmp_disk $RPM_BUILD_ROOT/%{nagios_plugins_dir} |
||||
install -p -m 755 check_snmp_proc $RPM_BUILD_ROOT/%{nagios_plugins_dir} |
||||
|
||||
%files |
||||
%doc README COPYING AUTHORS NEWS |
||||
%{nagios_plugins_dir}/check_snmp_disk |
||||
%{nagios_plugins_dir}/check_snmp_proc |
||||
|
||||
%changelog |
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-14 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild |
||||
|
||||
* Thu Aug 27 2020 Josef Řídký <jridky@redhat.com> - 1.3.1-13 |
||||
- Rebuilt for new net-snmp release |
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-12 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild |
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-11 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild |
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-10 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild |
||||
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-9 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild |
||||
|
||||
* Tue Jul 24 2018 Adam Williamson <awilliam@redhat.com> - 1.3.1-8 |
||||
- Rebuild for new net-snmp |
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-7 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild |
||||
|
||||
* Tue May 29 2018 Tom Callaway <spot@fedoraproject.org> - 1.3.1-7 |
||||
- build without tcp_wrappers |
||||
|
||||
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-6 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild |
||||
|
||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-5 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild |
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-4 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild |
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-3 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild |
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild |
||||
|
||||
* Wed Jul 8 2015 Tom Callaway <spot@fedoraproject.org> - 1.3.1-1 |
||||
- update to 1.3.1 |
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-16 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild |
||||
|
||||
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-15 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild |
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-14 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-13 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-12 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-11 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-10 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
||||
|
||||
* Mon Aug 08 2011 Tom Callaway <spot@fedoraproject.org> - 1.2-9 |
||||
- rebuild against new net-snmp |
||||
- cleanup spec file |
||||
|
||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-8 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
||||
|
||||
* Thu Dec 2 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 1.2-7 |
||||
- rebuild for new net-snmp |
||||
|
||||
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 1.2-6 |
||||
- rebuilt with new openssl |
||||
|
||||
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-5 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
||||
|
||||
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-4 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
||||
|
||||
* Sat Jan 17 2009 Tomas Mraz <tmraz@redhat.com> - 1.2-3 |
||||
- rebuild with new openssl |
||||
|
||||
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.2-2 |
||||
- Autorebuild for GCC 4.3 |
||||
|
||||
* Tue Feb 19 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.2-1 |
||||
- bump to 1.2 |
||||
|
||||
* Wed Dec 19 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.1-1 |
||||
- correct URL |
||||
- bump to 1.1 |
||||
- fix license |
||||
- Patch is obsolete |
||||
|
||||
* Wed Dec 6 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.0-3 |
||||
- BR: tcp_wrappers-devel. |
||||
|
||||
* Wed Dec 6 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.0-2 |
||||
- Rebuild (net-snmp 5.3 -> 5.4). |
||||
|
||||
* Sat Aug 12 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.0-1 |
||||
- Initial build. |
Loading…
Reference in new issue