nagios plugins之check_http
// -a;以用户名密码访问一个需认证的页面: # ./check_http -I 10.10.10.32 -u /nagios/HTTP WARNING: HTTP/1.1 401 Authorization Required - 717 bytes in 0.004 second response time |time=0.004006s;;;0.000000> # ./usr/lib/nagios/plugins/check_http -I 192.168.10.2 -u /nagios/ -a nagios:nagios
HTTP OK: HTTP/1.1 200 OK - 911 bytes in 0.005 second response time |time=0.004724s;;;0.000000>
页:
[1]