Adding check_mysql_slave

This commit is contained in:
Jan Wagner 2015-02-20 23:15:22 +01:00
parent 7cda3816af
commit 712a20a381
10 changed files with 464 additions and 7 deletions

View file

@ -22,6 +22,12 @@ check_bgp:
check_file:
Required Packages: libtime-modules-perl
check_ipsec:
Required Packages: monitoring-plugins-common | nagios-plugins-common, fping, strongswan-starter | openswan
check_mysql_slave:
Required Packages: libdbd-mysql-perl
check_nginx_status:
Required Packages: libwww-perl, monitoring-plugins-common | nagios-plugins-common

5
debian/control vendored
View file

@ -9,9 +9,9 @@ Vcs-Git: git://github.com/waja/monitoring-plugins-cyconet
Vcs-Browser: http://github.com/waja/monitoring-plugins-cyconet
Package: monitoring-plugins-cyconet
Architecture: all
Architecture: any
Depends: ${misc:Depends}
Recommends: ${shlibs:Depends}, ${python:Depends}, libnet-snmp-perl, monitoring-plugins-common | nagios-plugins-common, libtime-modules-perl, fping, strongswan-starter | openswan, libwww-perl, python-argparse, libredis-perl, ruby-redis, libio-socket-inet6-perl, perl-modules, libnet-tftp-perl, libxml-xpath-perl, ${perl:Depends}
Recommends: ${shlibs:Depends}, ${python:Depends}, libnet-snmp-perl, monitoring-plugins-common | nagios-plugins-common, libtime-modules-perl, fping, strongswan-starter | openswan, libdbd-mysql-perl, libwww-perl, python-argparse, libredis-perl, ruby-redis, libio-socket-inet6-perl, perl-modules, libnet-tftp-perl, libxml-xpath-perl, ${perl:Depends}
Suggests:
Enhances: nagios-plugins, nagios-plugins-basic, nagios-plugins-standard
Description: Plugins for nagios compatible monitoring systems
@ -22,6 +22,7 @@ Description: Plugins for nagios compatible monitoring systems
* check_bgp (0.4): plugin to check BGP peer status via SNMP.
* check_file: plugin to check file count, size and ages
* check_ipsec (2.0): plugin checking ipsec connections from open- or stongswan
* check_mysql_slave (0.1.1): plugin that connects to a mysql replication slave and checks its status
* check_nginx_status (0.10): plugin checking the nginx_status page report from nginx
Tracking Active connections processes, request per second, connections per
seconds, Connections status.

16
debian/copyright vendored
View file

@ -74,6 +74,22 @@ https://raw.githubusercontent.com/Inuits/monitoring-plugins/master/check_ipsec
------------------------------------------------------------------------------
check_mysql_slave:
The plugin was downloaded from:
https://gist.github.com/natedaiger/48457
Copyright (c) 2008 Jonathan Buhacoff <jonathan@buhacoff.net>
License: GPL v2
On Debian systems, the complete text of the GNU General
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
------------------------------------------------------------------------------
check_nginx_status:

10
debian/patches/check_mysql_slave/epn vendored Normal file
View file

@ -0,0 +1,10 @@
diff --git a/check_mysql_slave/check_mysql_slave b/check_mysql_slave/check_mysql_slave
index 7f758e6..435c341 100644
--- a/check_mysql_slave/check_mysql_slave
+++ b/check_mysql_slave/check_mysql_slave
@@ -1,4 +1,5 @@
#!/usr/bin/perl
+# nagios: -epn
use strict;
my $VERSION = '0.1.1';
my $COPYRIGHT = 'Copyright (C) 2008 Jonathan Buhacoff <jonathan@buhacoff.net>';

11
debian/patches/series vendored
View file

@ -1,8 +1,9 @@
check_tomcat/epn
check_tftp/epn
check_phpfpm_status/10_pathes
check_sieve/epn
check_sieve/10_pathes
check_ipsec/10_pathes
check_ipsec/15_fix_syntax
check_ipsec/20_remove_gateway
check_mysql_slave//epn
check_phpfpm_status/10_pathes
check_sieve/epn
check_sieve/10_pathes
check_tftp/epn
check_tomcat/epn