Select Supported Platforms

Select Supported Architectures

Select Tier

Github Name


v0.1.2 · public · Published 28 days ago

README
Asset Definition
Release Notes
Release Assets

Sensu Bonsai Asset
goreleaser Go Test

sensu-check-postgres

Table of Contents

Usage

Help Text Output

postgres alive check

Usage:
  check-postgres-alive [flags]
  check-postgres-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 "postgres")
  -h, --help              help for check-postgres-alive
      --hostname string   Hostname to login to (default "localhost")
  -p, --password string   Password for user
  -f, --pgpass string     Location of .pgpass file for access to postgres
      --port uint         Port to connect to (default 5432)
  -s, --sslmode string    SSL mode for connecting to postgres (default "prefer")
  -u, --user string       postgres user to connect

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

Configuration

The check connects to the supplied postgres 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: