This file contains hidden or 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
# www.fduran.com | |
# python script to test/monitor if a Django site using authentication is up | |
# with logging output to a file including response times | |
# use in cronjob and output to log file, for ex: python /path/to/script.py >> /var/log/webmonitor.log | |
# bash: install pip if not already in system | |
apt-get install python-setuptools python-dev build-essential | |
easy_install -U pip | |
# bash: install requests |