Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 550 Bytes

README.md

File metadata and controls

9 lines (7 loc) · 550 Bytes

http_check_redirect script for Nagios, originally written by Eugene L Kovalenja

It retrieves an http/s url and checks its header for a given redirects. If the redirect exists and equal to the redirect you entered then exits with OK, otherwise exits with WARNING (if not equal) or CRITICAL ( if doesn't exist)

The customised version supports virtual hosts parameter which is useful for redirect checks on the servers behind loadbalancers.