Select Supported Platforms

Select Supported Architectures

Select Tier

Github Name


v1.0.0 · public · Published about 3 years ago

README
Asset Definition
Release Notes
Release Assets

Sensu Patroni Plugin

Overview

This plugin provides basic monitoring of Patroni cluster through Patroni REST API

The Sensu assets packaged from this repository are built against the Sensu ruby runtime environment. When using these assets as part of a Sensu Go resource (check, mutator or handler), make sure you include the corresponding Sensu ruby runtime asset in the list of assets needed by the resource. The current ruby-runtime assets can be found here in the Bonsai Asset Index

Files

  • bin/check-patroni-cluster.rb

Usage examples

check-patroni-cluster.rb

Usage: check-patroni-cluster.rb (options)
    -h <host>         Your patroni host (default "localhost")
    -p port           Your patroni API port (default 8008)
    --lag-warn num    Warning threshold for replication lag in bytes (default 1024)
    --lag-crit num    Critical threshold for replication lag in bytes (default 10240)
    -t secs           Timeout waiting for API to answer

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: