Forum Discussion
hooleylist
Jan 24, 2012Cirrostratus
Hi Ravi,
Here are two sample monitors that should do this:
monitor alive_http_monitor {
defaults from http
interval 90
timeout 271
recv "Alive"
send "GET /healthCheckAlive.html HTTP/1.0\r\nConnection: Close\r\n\r\n"
}
monitor alive_disable_http_monitor {
defaults from http
recv disable "MaxCapacity"
recv "Available"
send "GET /healthCheckStatus.html HTTP/1.0\r\nConnection: Close\r\n\r\n"
}
Here are some details on the receive disable field in the monitor from the online help:
This setting works like Receive String, except that the system marks the node or pool member disabled when its response matches Receive Disable String but not Receive String. To use this setting, you must specify both Receive Disable String and Receive String.
Aaron