I am trying to get alerts from the Web Site Url checker for a warning and critical timeout for checking a site. I have added the -w and -c parameters to the argument line but I am not getting a warning level for the site when the response is longer that 1 second for a warning or 3 seconds for a critical. I only get the default 10 second time out alert? any help is greatly appreciated.
$ARG1$ = -H 199.107.238.196 -f ok -I 199.107.238.196 -u "/" -p 80 -w 1 -c 3
check_http alert levels
Re: check_http alert levels
You should change the "-f" flag from "ok" to "follow" - see this:
$ARG1$ = -H 199.107.238.196 -f follow -I 199.107.238.196 -u "/" -p 80 -w 1 -c 3
Try this:-f, --onredirect=<ok|warning|critical|follow>
How to handle redirected pages
$ARG1$ = -H 199.107.238.196 -f follow -I 199.107.238.196 -u "/" -p 80 -w 1 -c 3
Be sure to check out our Knowledgebase for helpful articles and solutions!