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
# | |
# 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 |
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
#!/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. |