I have configured the following http monitor:
heartbeat.monitors: - type: "http" urls: ["http://elasticsearch-dev-master.dev-common-cache.svc.cluster.local:9200","https://dev-common-cache.gubbins.bobbins","http://10.10.10.10:33101/"] schedule: "@every 10s" check.request.method: "GET" check.request.headers: HOST: 'dev-common-cache.gubbins.bobbins' check.response.body: "You Know, for Search"
These 3 urls all point to the same elasticsearch cluster, but just being reached through different network endpoints to try to establish they are all working.
However I don't think the headers are being sent through as the endpoint that goes through the nginx-ingress controller is not working as it requires that header to route the request. So my question is have I configured the http monitor correctly? Also I have enabled debug logging, but that doesn't show what the request looks like.