steven-zhou 发表于 2013-2-4 22:19:09

URL可访问监控脚本

#!/bin/bashecho "Content-type: text/plain; charset=iso-8859-1"echoecho if [ -f url.conf ]; thencat url.conf | while read v_urldoif [ `httping -c 1 -g $v_url | grep connected | wc -l` -gt 0 ]; thenecho "$v_url ok"elseecho "$v_url false"fidonefi
页: [1]
查看完整版本: URL可访问监控脚本