GNU.WIKI: The GNU/Linux Knowledge Base

  [HOME] [PHP Manual] [HowTo] [ABS] [MAN1] [MAN2] [MAN3] [MAN4] [MAN5] [MAN6] [MAN7] [MAN8] [MAN9]

  [0-9] [Aa] [Bb] [Cc] [Dd] [Ee] [Ff] [Gg] [Hh] [Ii] [Jj] [Kk] [Ll] [Mm] [Nn] [Oo] [Pp] [Qq] [Rr] [Ss] [Tt] [Uu] [Vv] [Ww] [Xx] [Yy] [Zz]


NAME

       pmp-check-mysql-replication-running - Alert when MySQL replication
       stops.

SYNOPSIS

         Usage: pmp-check-mysql-replication-running [OPTIONS]
         Options:
           -c CRIT         Report CRITICAL when replication is stopped without errors.
           --defaults-file FILE Only read mysql options from the given file.
                           Defaults to /etc/nagios/mysql.cnf if it exists.
           -H HOST         MySQL hostname.
           -l USER         MySQL username.
           -p PASS         MySQL password.
           -P PORT         MySQL port.
           -S SOCKET       MySQL socket file.
           -w WARN         Report WARNING when SHOW SLAVE STATUS output is empty.
           --help          Print help and exit.
           --version       Print version and exit.
         Options must be given as --option value, not --option=value or -Ovalue.
         Use perldoc to read embedded documentation with more details.

DESCRIPTION

       This Nagios plugin examines whether replication is running. It is
       separate from the check for delay because it is confusing or impossible
       to handle all of the combinations of replication errors and delays
       correctly, and provide an appropriate type of alert, in a single
       program.

       By default, this plugin treats it as critical when the either thread
       stops with an error, and a warning when threads are stopped with no
       error.  You can provide critical and warning thresholds with the -c and
       -w options, for compatibility with Nagios plugin conventions, but they
       don't work as thresholds.  Instead, if you specify a critical
       threshold, this plugin will treat it as critical if either thread is
       stopped, with or without an error.

       The warning threshold makes the plugin report a warning when SHOW SLAVE
       STATUS produces no output, which means it is not configured as a
       replica.  By default, this plugin will report that replication is
       healthy when a server isn't configured as a replica.

PRIVILEGES

       This plugin executes the following commands against MySQL:

       ·   "SHOW SLAVE STATUS".

       This plugin executes no UNIX commands that may need special privileges.

COPYRIGHT, LICENSE, AND WARRANTY

       This program is copyright 2012-2014 Baron Schwartz, 2012-2014 Percona
       Inc.  Feedback and improvements are welcome.

       THIS PROGRAM IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
       WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
       MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.

       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, version 2.  You should have received a copy
       of the GNU General Public License along with this program; if not,
       write to the Free Software Foundation, Inc., 59 Temple Place, Suite
       330, Boston, MA  02111-1307  USA.

VERSION

       Percona Monitoring Plugins pmp-check-mysql-replication-running 1.1.3

perl v5.18.2                      2014-0PMP-CHECK-MYSQL-REPLICATION-RUNNING(7)



  All copyrights belong to their respective owners. Other content (c) 2014-2017, GNU.WIKI. Please report site errors to webmaster@gnu.wiki.
Page load time: 0.082 seconds. Last modified: November 09 2017 18:38:06.