I'm using a script called Responser which sends email when any of the my sites are down/slow. I just wanted to check if it's sending the mail only if the sites are really down or slow(as I checked it accessing as soon I got the error mails and sites was fine). I thought of using
wget as it shows the speed and response time and I want to schedule it to compare it with my responser script whether both sends the mail at the same time saying error.
I've postfix installed and I could send mails using
wget http://www.mysite.com to be mailed with the condition if response time is greater than 5 seconds. Then I can schedule it to run at every 5 mins. I saw many having good programming skills here and hope someone could help me.