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]