shell script to monitoring an remote webserver