機能 WEB サーバーの死活監視 スクリプト /home/user/bin/web_alive.sh (ファイル名は任意) #!/bin/bash #================================================================ # check web server # # wget option # -nv : no verbose # -S : print server response # -t : tries number # -T : timeout seconds # --spider : don't download anything. # --http-user=USER : set http user to USER. # --http-password=PASS : set http password to PASS.