#!/usr/bin/perl ############################################################## # By BumbleBeeWare.com 2006 # server monitoring with perl # program to access each server/website and give status response ############################################################## # setup array of servers/websites to check @sitestocheck = ('mywebsite.com','mywebsite2.com'); # the relative url of the website response script in each site $responseprogram = "/cgi-bin/mystatus1.cgi"; # refresh time in seconds 5 minutes is 300 seconds $refreshtime = 300; ############################################################### # End Configuration ############################################################### # main program use LWP::UserAgent; # print page print "Content-type: text/html\n\n"; print "