====== check_http_fwb ====== check_http_fwb is a nagios plugin for checking HTTP. It differs from check_http by missing features which are rarely used, having a small codesize (7 KB statical code, diet-compiled and sstripped) and doing per default only a HEAD request. ===== Usage ===== check_http_fwb -I ip-address -w warnlevel -c critlevel [-p port] [-H http11_hostname] [-u remotefile] [-A user_agent] [-t timeout] [-G] [-D] ===== Help ===== Options: **-I ip-address**\\ Specify the IP address of the remote server to check. **-w warnlevel**\\ Specify the warning level. **-c critlevel**\\ Specify the critical level. **-p port**\\ Specify the port of the http server on the remote host. **-H http11_hostname**\\ Specify the hostname for name-based virtual hosts. **-u remotefile**\\ Instead of using the default "/" you can request a different file. **-A user_agent**\\ Specify the HTTP user agent (default: "check_http_fwb/1 (nagios-fwb)"). **-t timeout**\\ The plugins internal timeout in seconds (default: 10). **-G**\\ Use "GET". "HEAD" is the default in check_http_fwb and "GET" is the default in standard nagios plugin check_http. ===== See Also ===== [[http://www.tuxad.com/download-nagios-fwb.html|www.tuxad.com/download-nagios-fwb.html]] ===== Examples ===== Here's one example showing a GET-request for www.testdomain.de:8080/myfile.txt : $ check_http_fwb -I 1.2.3.4 -w 2 -c 4 -p 8080 -H www.testdomain.de:8080 -u /myfile.txt -G HTTP CRITICAL: HTTP/1.0 404 Not Found - 0.016 second response time |time=0.016978s ===== Caveats ===== Tested only with Linux. Build may fail on other OS.