Skip to content

Instantly share code, notes, and snippets.

View davidnewhall's full-sized avatar
💭
Pioneering Profit

David Newhall davidnewhall

💭
Pioneering Profit
  • Russian Federation
  • 22:28 (UTC +03:00)
View GitHub Profile
@davidnewhall
davidnewhall / notifiarr.subdomain.conf
Created August 5, 2022 21:19 — forked from TRaSH-/notifiarr.subdomain.conf
notifiarr subdomain conf for swag
## Version 2022/08/05
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name notifiarr.*;
include /config/nginx/ssl.conf;
@davidnewhall
davidnewhall / check_monit.py
Last active July 31, 2016 04:24 — forked from mzupan/check_monit.py
Nagios check for monit services going unmonitored
#!/usr/bin/env python
# This script will connect to a remove monit instance and report
# CRITICAL if any of the services are currently 'unmonitored'.
import pynagios
import urllib2
import base64
from xml.dom.minidom import parseString
from pynagios import Plugin, make_option, Response