Skip to content

Instantly share code, notes, and snippets.

@Scifire
Scifire / check_docker_container.sh
Last active January 6, 2021 16:51 — forked from ekristen/check_docker_container.sh
Bash Script for PRTG to Check Status of Docker Container
#!/bin/bash
# Original Author: Erik Kristensen
# Email: erik@erikkristensen.com
# 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
@Scifire
Scifire / inwx-acme
Last active April 18, 2017 14:31 — forked from gubiq/inwx-acme
#!/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'