Skip to content

Conversation

jpfir
Copy link
Contributor

@jpfir jpfir commented Oct 9, 2025

This PR introduces a complete set of OpenSearch monitoring checks for Puppet-managed Nagios setups.
It follows the pattern as other existing checks using a unified NRPE script (opensearch_check_nrpe.sh) with multiple modes that can be individually enabled, disabled, or tuned via Hiera.

Design notes

  • Uses standard OpenSearch REST API endpoints via curl.
  • All JSON parsing via jq for reliability.
  • Returns Nagios status codes and performance data (OK/WARNING/CRITICAL).
  • Treats missing data nodes or invalid shard configurations as CRITICAL, not UNKNOWN.
  • Compatible and tested with OpenSearch 1.x and 2.x clusters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant