Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Monitor webserver status on all machines in a subnetby Chady (Priest) |
on May 27, 2004 at 13:00 UTC ( [id://356880]=note: print w/replies, xml ) | Need Help?? |
Just as Abigail has pointed out, you have to issue a request to the webserver to see if it is really running, and not just something listening on the port. ex:
Update: As for if the server is running on a different port, you might want to experiment with Net::Telnet Possibly something like this:
He who asks will be a fool for five minutes, but he who doesn't ask will remain a fool for life. Chady | http://chady.net/
In Section
Seekers of Perl Wisdom
|
|