waidyanatha / pingsam

Check the up and down status of a remote machine by simply pinging or telnet-ing to the remote URL or IP.
MIT License
0 stars 0 forks source link

Telnet vs Ping #3

Open waidyanatha opened 7 years ago

waidyanatha commented 7 years ago

Need to add an option whether to use "telnet domain 80" or "ping" because servers such as PAGASA's that are sitting behind a firewall and ping ports are disabled would need telnet.

This could be programmed to auto detect whether or not to use ping or telnet. During the first instance when the server IP is added to state.csv a flag can be set to ping, if that fails then try telnet, based on whatever worked use that in the next iteration.