Select Supported Platforms

Select Supported Architectures

Select Tier

Github Name


v0.0.3 · public · Published 7 days ago

README
Asset Definition
Release Notes
Release Assets

Sensu Bonsai Asset
goreleaser Go Test

sensu-check-mysql

Table of Contents

Usage

Help Text Output

Mysql alive check

Usage:
  check-mysql-alive [flags]
  check-mysql-alive [command]

Available Commands:
  completion  Generate the autocompletion script for the specified shell
  help        Help about any command
  version     Print the version number of this plugin

Flags:
  -d, --database string      Database schema to connect to (default "test")
  -h, --help                 help for check-mysql-alive
      --hostname string      Hostname to login to (default "localhost")
  -i, --ini string           Location of my.cnf ini file for access to MySQL
      --ini-section string   Section to use from my.cnf ini file (default "client")
  -p, --password string      Password for user
      --port uint            Port to connect to (default 3306)
  -s, --socket string        Socket to use
  -u, --user string          MySQL user to connect

Use "check-mysql-alive [command] --help" for more information about a command.

Configuration

The check connects to the supplied MySQL database and returns OK if it works. Ini file overrides commandline arguments for user/pass.

Are you sure you want to report this asset?

Please describe the reason for reporting this asset. Our moderators will be notified and will disable the asset if it is found to be inappropriate.

×

You must be signed in to report this asset.

Sign In with Github

Download

×

Either download the source code:

Download Source

Or download the asset definition: