I need to monitor some ip adress by ping on every 10s and if fails 3 pings in 30s then send sms by usb gsm modem on some phone,
and when ping is up again 3 times in 30s then send sms again with second sms to notify me that link is up
how to do that? thanks...