Simple bash script using curl to check a website.
It works on HTTP and HTTPS.
Requirement: curl
Usage ./check_http.sh
Example:
./check_http.sh ‘http://oglobo.globo.com’ oglobo 1
OK – Site oglobo.globo.com key oglobo
check apache script
This script monitor Apache
./check_apache
OK – Apache Status Req/s = 0.6 Idel = 4 Busy = 7|Req=0.6;Idle=4;Busy=7
Tested on Ubuntu 12.04 lighthttpd and It works only whe apache mod_status …
IIS request
I found this really interesting diagram about how the IIS works. Also the HTTP error codes witch was very helpfull to debug problems.
ref.:
http://msdn.microsoft.com/en-us/library/ms524901%28VS.90%29.aspx
How to install varnish
Updatede version of this howto
I have used a lot os Squid, but now we need a reverse cache solution.
And the best one out there is an Open Source …