Option description
-H, -- hostname = address host name or domain name
-I, -- IP-address = address Server IP address,
-P, -- Port = integer port number, the default value is 80
-u, -- url = path URL, the default value is/
-W, -- warning = double warning status response time, the Unit is the response time in seconds
-C, -- Critical = double critical state, the Unit is seconds
-T, -- timeout = integer connection timeout, the default value is 10 seconds.
-P, -- Post = string
URL encoded http post data
-R, -- RegEx, -- ereg = string
return value of the search page for RegEx string check page
-r check page return value, Case Insensitive
instance:
check_http-I 172.18.33.11-P 9080-U "/health_check.jsp"-P "type = IDs"-W 3-C 10-R "OK"
. /Check_http-I 192.168.0.10-P 80-U "/gatmain/terminalgate"-k "X-UP-CALLING-LINE-ID: XXXXX"-P "[201111032223120001, t01, 12, [email protected] @ [email protected] @ [email protected] "-W 3-C 10-R" % t02 "-V