Forum Discussion
Modifying Pool Member Health Checks via API Requests
I've done quite alot of scripting with Powershell but I'm afraid I am lacking experience in Ruby. However, if I were to do this I'd look into this method:
https://devcentral.f5.com/wiki/iControl.LocalLB__Monitor__set_template_string_property.ashx
set_template_string_property( in String [] template_names, in LocalLB__Monitor__StringValue [] values );
Note how everything is defined as arrays and how the stringvalue is a type of it's own which in turn has another type as a member:
- https://devcentral.f5.com/wiki/iControl.LocalLB__Monitor__StringValue.ashx
- https://devcentral.f5.com/wiki/iControl.LocalLB__Monitor__StrPropertyType.ashx
The purpose of the arrays is to be able to update multiple monitors at a time, just like you want. I really recommend trying to get that to work if you have many pools. Depending on the number of pools and the latency+bandwidth you have to your LTM it might save you alot of time.
Sorry that I could not give you Ruby specific advice. Hope that helped though!
/Patrik
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com