Forum Discussion

Bartek's avatar
Bartek
Icon for Cirrus rankCirrus
Jul 24, 2019

HTTP custom monitor receive string with wildcard

Hi,

There are two servers in a pool, which respond a bit differently to GET from my healthcheck:

GET /owa/healthcheck.htm  Close\r\n\r\n

The answer, depending on which server is responding looks respectively:

200 OK<br/>NameABCString.DOMAIN1.LOCAL
200 OK<br/>NameDEFString.DOMAIN1.LOCAL

Both the new line and the difference give me headaches.

Can you help me construct a receive string for this particular case?

  • It occurred the send, not the receive string was an issue here.

     

    So the answer to my question is:

    200 OK

    That is enough to mark this monitor as green, even with a complex answer from the server