This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Original Author: Erik Kristensen | |
# Email: [email protected] | |
# License: MIT | |
# Original script: https://gist.github.com/ekristen/11254304 | |
# PRTG Usage: place this in '/var/prtg/scripts/check_docker_container.sh' and create a new Sensore "SSH Script". | |
# The parameter have to be the container name. | |
# | |
# Depending on your docker configuration, root might be required or at least user have to be in docker group. If your prtg user has rights |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Copyright (c) Joakim Reinert. All rights reserved. | |
# This Source Code Form is subject to the terms of the Mozilla Public | |
# License, v. 2.0. If a copy of the MPL was not distributed with this | |
# file, You can obtain one at http://mozilla.org/MPL/2.0/. | |
API_URL='https://api.domrobot.com/xmlrpc/' | |
TMPDIR='/tmp/inwx-acme' |