Skip to content

Instantly share code, notes, and snippets.

View pendexgabo's full-sized avatar

Gabriel Sosa pendexgabo

View GitHub Profile
#!/bin/bash
# Author: Erik Kristensen
# Email: erik@erikkristensen.com
# License: MIT
# Nagios Usage: check_nrpe!check_docker_container!_container_id_
# Usage: ./check_docker_container.sh _container_id_
#
# The script checks if a container is running.
# OK - running