Create an Account
username: password:
 
  MemeStreams Logo

server-site-status-check - Google Code

search

Lost
Picture of Lost
My Blog
My Profile
My Audience
My Sources
Send Me a Message

sponsored links

Lost's topics
Arts
Business
Games
Health and Wellness
Home and Garden
Miscellaneous
Current Events
Recreation
Local Information
Science
Society
Sports
Technology

support us

Get MemeStreams Stuff!


 
server-site-status-check - Google Code
Topic: Technology 3:54 pm EDT, Jun 30, 2008

Here's a little Perl script that checks to see if a Web site is up. If it is not, it tries to get it up.

Basically, I couldn't really find a good way to manage a handful of sites running on Ligttpd and FastCGI. I had a shell script that would kill all the FastCGI processes and then restart them, but sometimes there were misfires...sometimes the data center would reboot and I would not realize one had misfired...etc.

Lighttpd/FastCGI are cool but... there is no management utility included, so having 10 sites on one box is a nightmare. This script helps restart them all.

server-site-status-check - Google Code



 
 
Powered By Industrial Memetics
RSS2.0