Ashus.ashus.net
SiteCheck SMS - Printable Version

+- Ashus.ashus.net (https://ashus.ashus.net)
+-- Forum: My creations (https://ashus.ashus.net/forum-3.html)
+--- Forum: Bash scripts (https://ashus.ashus.net/forum-17.html)
+--- Thread: SiteCheck SMS (/thread-58.html)



SiteCheck SMS - Ashus - 17.8.2007

Bash script, that checks site availability of a network by pinging a target address (eg. hardware AP).
When state changes, an email is send via sendmail. In Czech republic, only O2 and Vodafone give out free SMS support from internet.

Names of the sites must be resolvable to IP addresses - they have to be in /etc/hosts or an alternative.