Skip to content

Instantly share code, notes, and snippets.

#
# Environment Variables
#
export JBOSS_HOME=/usr/local/jboss
export MIDTOWN_ROOT=${HOME}/Documents/sacpress/code/midtown-current
export MIDTOWN_JBOSS=${JBOSS_HOME}/server/midtown
export MYSQL_HOME=/usr/local/mysql
export GRAILS_HOME=/opt/local/share/java/grails
#!/usr/bin/env python
"""
Nagios plugin to check PostgreSQL 9 streaming replication lag.
Requires psycopg2 and nagiosplugin (both installable with pip/easy_install).
MIT licensed:
Copyright (c) 2010 Jacob Kaplan-Moss. All rights reserved.