There are 2 servers, they need to know the status(live oe dead) each other. my method is a long tcp connecting, Is there any better method? thanks.
+2
A:
I`m no sysadmin, but why not simply use nmap or the likes to check if the ports your servers are listening on are still open? I mean, you simply want to know if they are alive or dead, right? When one of your server crashes, the port shouldn´t be open anymore.
tombom
2010-10-08 09:41:10
good! http://github.com/sophsec/ruby-nmap
why
2010-10-10 00:54:42