check https response header

Issue #798 new
Former user created an issue

Perhaps the man page/documentation does not mention how to enable it, but it seems that the URL check does omit/ignore the http response header, which sometimes is crucial for health checking.

In my case, I want to make sure that domains redirect to a correct counterpart, like for example:

CHECK HOST ebay.com WITH ADDRESS ebay.com
 IF FAILED
   port 443 protocol https
   with ssl options {verify: enable}
   certificate valid > 15 days
   content == "Location: https://www.ebay.com"
 THEN alert

Comments (1)

  1. Log in to comment