Forum Discussion
hooleylist
Jan 23, 2012Cirrostratus
Hi Ravi,
You can use the alias port on a monitor for this. Here's an example you could use on the port 23305 pool member. As the alias port is hardcoded to 23304, the monitoring daemon bigd will check port 23304 but apply the result to the pool member you've assigned the monitor to. If you have a pool of servers all defined on 23305, you can assign this monitor to the pool. Else, if the port number varies by pool member, assign a custom monitor for each pool member with a unique port.
monitor http_minus_one_monitor {
defaults from http
dest *:23304
recv "200 OK"
send "GET /monitor_page.html HTTP/1.0\r\nConnection: Close\r\n\r\n"
}
Aaron