Hello,
I do have a requirement where I need to ping more than 20+ servers and if any servers failed the output need to be inserted into a SQL DB, From SQL DB the daemon will submit the output SMSC gateway.
1 >I wanted to insert only ping failed host into DB (successful ping output is not required)
2 > The script should be having an option to provide my mobile number, this mobile need to be inserted into DB along with ping output, so that daemon will pick the number and deliveer the sms to System admin and he will notified that server is down.
Your help on this will be much appreciated.....