I need to check every five minutes if 4 servers are online from one asp.net page running in a fifth server, in order to redirect requests and send alert by e-mail to the network manager. Specifically I need to know if IIS is running ok in those servers. What's the best way to do it? Is there any component or socket library to use in order to accomplish the task? Any example code?
The same problem with other two SQL servers from wich I need to know if the SQL service is up.
Thanks very much in advance.