Select Supported Platforms

Select Supported Architectures

Select Tier

Github Name

v1.0.3 · public · Published over 2 years ago

Asset Definition
Release Notes
Release Assets

Sensu Patroni Plugin


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


  • bin/check-patroni-cluster.rb

Usage examples


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



Either download the source code:

Download Source

Or download the asset definition: