Forum Discussion

Glenn_32974's avatar
Glenn_32974
Icon for Nimbostratus rankNimbostratus
Oct 29, 2011

http monitor to specifi port

Hello!

 

 

I need to create a basic HTTP monitor that checks for port 8200 ( web admin is proxing apache to this port) instead of (default) port 80

 

 

Pool members should be configure to listen on port 80 BUT health check should monitor port 8200

 

 

so something like this: GET /\r\n:8200

 

 

can anyone help me on how to achieve this ?

 

 

Thanks in advanced!

 

  • do you mean something like this?

    [root@iris:Active] config  b monitor my_http_mon_8200 list
    monitor my_http_mon_8200 {
       defaults from http
       dest *:8200
       send "GET / HTTP/1.1\r\nHost: \r\nConnection: Close\r\n\r\n"
    }