Skip to content

Instantly share code, notes, and snippets.

View jgis's full-sized avatar

Julian Gisser jgis

View GitHub Profile
@jgis
jgis / check_dropwizard_health.py
Created August 7, 2020 12:21
Nagios/Icinga check script for Dropwizard Healthchecks
#!/usr/bin/env python3
# Check dropwizard health check page.
# Reports the number of healthy services.
# The only parameter is the url to the healthcheck page. i.e. https://host/service/metrics/healthcheck
# for use in icinga2, define a CheckCommand:
#
# object CheckCommand "dropwizard_health" {