check_http --onredirect=critical fails
Posted: Thu Feb 01, 2018 4:38 pm
In an attempt to detect 301 redirection to cPanel's "SORRY" page, I tried to add "-f critical" (or "--onredirect=critical") to a check_http call. I'm always getting an error that the option is invalid. Specifically: "check_http: Invalid onredirect option - critical". I am not spotting why that is an invalid option.
Also, there is a spelling error in the usage message, where "critical" is spelled "critcal". (Yes, the option-processing code says "critical")
Also, there is a spelling error in the usage message, where "critical" is spelled "critcal". (Yes, the option-processing code says "critical")