Skip to content
Snippets Groups Projects
Select Git revision
  • master
  • v0.2.3
  • v0.2.2
3 results

check_mysql_slave

  • Adar Nimrod's avatar
    nimrod authored
    Run the CLI as an added check.
    90b311da
    History

    check_mysql_slave

    pipeline status

    Check MySQL seconds behind master for Nagios-like monitoring.

    Usage

    $ check_mysql_slave --help
    usage: check_mysql_slave [-h] -u [USER] -p [PASSWORD] [--host [HOST]]
                             [--port PORT]
                             [warning_threshold] [critical_threshold]
    
    Check MySQL seconds behind master for Nagios-like monitoring.
    
    positional arguments:
      warning_threshold     Warning threshold (defaults to 60)
      critical_threshold    Critical threshold (defualts to 300)
    
    optional arguments:
      -h, --help            show this help message and exit
      -u [USER], --user [USER]
                            Login username
      -p [PASSWORD], --password [PASSWORD]
                            Login password
      --host [HOST]         Login host
      --port PORT           Login port

    License

    This software is licensed under the MIT license (see the LICENSE.txt file).

    Author

    Nimrod Adar, contact me or visit my website. Patches are welcome via git send-email. The repository is located at: https://www.shore.co.il/git/.