Uses requests to monitor HTTP-servers for availability. Uses pushbullet, pushover or e-Mail for notification if host is unreachable.
- install python (e.g.
sudo apt-get install python python-setuptools
) - install pip (e.g.
sudo easy_install pip
) - install dependencies (e.g.
pip install -r requirements.txt
) - clone repository
git clone https://github.com/dalcacer/pyhttpmon.git
- configure (
cp config_example.json config.json
)- configure pushbullet https://www.pushbullet.com/account
- configure pushover https://pushover.net
- test the script
python pyhttpmon.py
- install conjob (e.g.
crontab -e
) @daily python ~/pyhttpmon/pyhttpmon.py
- clone repository
git clone https://github.com/dalcacer/pyhttpmon.git
pip-3.2 install -r requirements.txt
- configure (
cp config_example.json config.json
)- configure pushbullet https://www.pushbullet.com/account
- configure pushover https://pushover.net
- test the script
python3.2 pyhttpmon.py
- install conjob (e.g.
crontab -e
) @hourly /usr/local/bin/python3.2 ~/pyhttpmon/pyhttpmon.py
git pull
- kennethreitz/requests, Apache2 license.
- emre/kaptan, BSD license.
- laprice/pushover , Unkown.
- randomchars/pushbullet.py, MIT license.
Not idea, yet.