Forum Discussion

LyonsG_85618's avatar
Icon for Cirrostratus rankCirrostratus
Feb 06, 2015

HTTPS Monitor not working as expected

I have created an HTTPS monitor as follows:

       GET /idauth/isAlive.jsp\r\n

The receive string is set as:


There are 2 servers and when i curl them i get the following:

First Server

    curl -k




    Server is DOWN



Second server:

    curl -k




    Server is ALIVE: 



However. Both servers are being flagged as unavailable.

If I change the receive string to DOWN - both servers are flagged as available.

I have changed curl to verbose to check for separate words showing ALIVE/DOWN but this doesnt show anything:

     curl -k -v
    * About to connect() to port 8443 (0)
    *   Trying connected
    * Connected to ( port 8443 (0)
    * successfully set certificate verify locations:
    *   CAfile: /etc/pki/tls/certs/ca-bundle.crt
     CApath: none
    * SSLv3, TLS handshake, Client hello (1):
    * SSLv3, TLS handshake, Server hello (2):
    * SSLv3, TLS handshake, CERT (11):
    * SSLv3, TLS handshake, Server finished (14):
    * SSLv3, TLS handshake, Client key exchange (16):
    * SSLv3, TLS change cipher, Client hello (1):
    * SSLv3, TLS handshake, Finished (20):
    * SSLv3, TLS change cipher, Client hello (1):
    * SSLv3, TLS handshake, Finished (20):
    * SSL connection using AES128-SHA
    * Server certificate:
    *        subject: C=GB; ST=Scotland; O=STANDARD LIFE; OU=IS;
    *        start date: 2014-11-11 21:48:09 GMT
    *        expire date: 2028-07-20 21:48:09 GMT
    *        common name: (matched)
    *        SSL certificate verify result: self signed certificate in certificate chain (19), continuing anyway.
    GET /idauth/isAlive.jsp HTTP/1.1
    User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 OpenSSL/0.9.8y zlib/1.2.3 libidn/0.6.5
    Accept: */*

    HTTP/1.1 200 OK
    Cache-Control: private
    Expires: Thu, 01 Jan 1970 01:00:00 GMT
    Set-Cookie: JSESSIONID=A847EA20D06FC26A9B944B9CB5CC397E; Path=/idauth/; Secure; HttpOnly
    Content-Type: text/html;charset=ISO-8859-1
    Content-Length: 115
    Date: Fri, 06 Feb 2015 13:17:35 GMT
    Server: Anonymous




    h1>Server is ALIVE: 



    * Connection 0 to host left intact
    * Closing connection 0
    * SSLv3, TLS alert, Client hello (1):

Has anyone seen anything like this?

27 Replies