Forum Discussion
Andy_4386
Jul 20, 2010Nimbostratus
Joe, apologies for the confusion...the subject line had the correct method and the body of my post was off...the code I'm trying does have the correct method defined - set_monitor_association.
The payload does appear to be correct, but for some reason, I keep getting an error complaining about pool_names. The API reference describes the MonitorAssociation struct as having an element titled pool_name...though it seems the BigIP expects pool_names (see attached). I tried both with similar results.
I'm curious whether you think the XML payload is missing something or has incorrect attributes? With Ruby, I've built a method to build the XML payload according to the API reference...it's been successful for other operations leading up to this one - e.g. creating/deleting pools, creating/deleting virtual servers, etc Do you have a sample of working XML for set_monitor_association for comparison?
Thanks, Andy