License
MIT License
v1.0.1 · public · Published almost 3 years ago
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
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
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.
×