From 166e43eb9dea970ca437f9654437885cecdc2ca7 Mon Sep 17 00:00:00 2001 From: Jan Wagner Date: Fri, 27 Jun 2014 20:23:18 +0200 Subject: [PATCH] check_kibana: Removed again, cause not compatible against recent kibaba versions --- check_kibana/Makefile | 4 - check_kibana/check_kibana | 207 ---------------------------------- check_kibana/check_kibana.cfg | 6 - check_kibana/control | 6 - check_kibana/copyright | 7 -- debian/control | 3 +- debian/copyright | 16 --- 7 files changed, 1 insertion(+), 248 deletions(-) delete mode 100644 check_kibana/Makefile delete mode 100644 check_kibana/check_kibana delete mode 100644 check_kibana/check_kibana.cfg delete mode 100644 check_kibana/control delete mode 100644 check_kibana/copyright diff --git a/check_kibana/Makefile b/check_kibana/Makefile deleted file mode 100644 index 52de70c..0000000 --- a/check_kibana/Makefile +++ /dev/null @@ -1,4 +0,0 @@ -#/usr/bin/make -f - -include ../common.mk - diff --git a/check_kibana/check_kibana b/check_kibana/check_kibana deleted file mode 100644 index df26d55..0000000 --- a/check_kibana/check_kibana +++ /dev/null @@ -1,207 +0,0 @@ -#!/usr/bin/perl -############################################################################## -# -# Nagios check_kibana plugin -# -# License: GPL -# Copyright (c) 2013 Joerg Linge -# -# Description: -# -# This plugin is used to query kibana ( http://kibana.org ) -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . -# -############################################################################## - -use strict; -use warnings; -use utf8; -use Encode qw( encode_utf8 ); -use URI::Escape; -use Data::Dumper; -use Nagios::Plugin; - -unless ( eval 'use JSON::XS;1' ){ - die "Perl Module JSON::XS not found"; -} -unless ( eval 'use LWP::Simple;1' ){ - die "Perl Module LWP::Simple not found"; -} -unless ( eval "use Nagios::Plugin;1" ){ - die "Perl Module Nagios::Plugin not found"; -} -unless ( eval "use MIME::Base64;1" ){ - die "Perl Module MIME::Base84 not found"; -} - -my $np = Nagios::Plugin->new( - usage => "Usage: %s [-t ] " . "[-U ]", - version => '0.1', - plugin => 'check_kibana', - timeout => 15, -); - -$np->add_arg( - spec => 'url|U=s', - help => - '-U, --url=. URL to Kibana Webinterface' -); - -$np->add_arg( - spec => 'query|q=s', - help => - '-q, --query=. Base64 encoded Query as shown in the Kibana UI' -); - -$np->add_arg( - spec => 'label|l=s', - help => - '-l, --label=