in reply to Re: Re: Re: website availability ping
in thread website availability ping

I purposely left this ping idea vague. I wanted to see what ideas would come my way. I may incorporate both Net::Ping and LWP:UserAgent in a rewrite that tells me more. Possibly, I could get response time statistics by using a low timeout, and increment until I wait long enough. After too much wait, I could use Net::Ping to see if the network is down. Then maybe something in the middle, like reporting the HTTP errors.

Two problems. I will need to open the firewall some, or run ICMP as root. The firewall currently doesn't let the udp/tcp packets through the echo port 7.

Second. I must have an older version of LWP, because there is no get method. I need to work on it again tomorrow.

Thanks.

  • Comment on Re: Re: Re: Re: website availability ping