Skip to content

Instantly share code, notes, and snippets.

View andrewschoen's full-sized avatar

Andrew Schoen andrewschoen

View GitHub Profile
# NOTE: Needs it's own venv with latest psycopg2
import os
import psycopg2
from psycopg2.extras import DictCursor
import json
import time
import datetime
SLEEP_SECONDS = 10
@andrewschoen
andrewschoen / plugins
Last active December 16, 2015 22:16
Sensu ansible playbook
Plugins I'm using:
https://github.com/sensu-plugins/sensu-plugins-load-checks
https://github.com/sensu-plugins/sensu-plugins-memory-checks
https://github.com/sensu-plugins/sensu-plugins-disk-checks
https://github.com/sensu-plugins/sensu-plugins-cpu-checks