Forum Discussion

Nick_Matthews's avatar
Jul 14, 2008

Monitoring WebServer behind Reverse Proxy

Hi all,

 

 

I am hoping someone can help.

 

 

I have a virtual server with 16 nodes which are reverse proxied to our internal network using the IP address. The problem I am having is that because I am using the IP address I can't monitor if IIS is up or down. If I switch IIS off the monitor still thinks it is up. Is there any way around this?

 

 

Any help would be appreciated.

 

 

Nick
  • hoolio's avatar
    hoolio
    Icon for Cirrostratus rankCirrostratus
    Do you have an HTTP monitor configured? If not, you can configure one to perform an application layer check of the web servers. A typical send string would be:

     

     

    GET /path/to/file HTTP\1.1\r\nHost: \r\nConnection: close\r\n

     

     

    The receive string should be content that is only found when the application is up and responding correctly. As Deb pointed out recently, you shouldn't use 200 as this is often found in the Date header. HTTP would also be a bad option as it's included when the application sends any HTTP response code.

     

     

    Aaron