Aaron_Hackney_2
Apr 05, 2011Nimbostratus
b monitor command fails
This should be something easy, but I'm just not seeing it.
Note the following:
[root@xxxx-lbal1:Active] config b monitor MON-HEAD-1.1.1.1-gsk.my-domain.com list
monitor MON-HEAD-1.1.1.1-gsk.my-domain.com {
defaults from http
interval 30
timeout 150
dest *:http
recv "HTTP/(1.0|1.1) (200 OK|301 Moved Permanently|302 Found|302 Object moved)"
send "HEAD / HTTP/1.1\r\nHost: gsk.my-domain.com\r\nConnection: Close\r\n\r\n"
}
[root@xxxx-lbal1:Active] config
If I cut and paste this back in (With a different monitor name), whether with the \ trick or all as one line, I always get the following:
012e0010:3: The requested value (HTTP/(1.0|1.1) (200) is invalid ( | none) for 'recv' in 'monitor'
As I mentioned, this is an existing monitor, and I assume it got in the config via the GUI. I have a lot of these to create and I'd like to be able to do it via the b commands. Any ideas or solutions?
TIA!
-A