Forum Discussion
Ed_Carpon_13196
Jan 23, 2014Nimbostratus
Multiple health monitors to pool
Has anyone modified an iApp to include an option to add multiple health monitors to one pool? If so, can you please provide examples of how you did this?
- Jan 27, 2014
I posted my version of this multi-monitor template at https://community.f5.com/t5/codeshare/http-template-with-multiple-monitors/ta-p/278393
Fred_Slater_856
Historic F5 Account
A simple change to the implementation will allow existing monitors to work. Replace:
1,0,1 { monitor $::monitor__monitor }
1,0,0 { monitor $::monitor__monitor }
with:
1,0,1 { monitor [join $::monitor__monitor " and "] }
1,0,0 { monitor [join $::monitor__monitor " and "] }
The "Create a new HTTP monitor" option is trickier to mix with the others, and would take more code changes.
Fred_Slater_856
Jan 23, 2014Historic F5 Account
Easiest way is probably to split the questions. First ask if the user wants to "Create New" or "Select from existing", then show the multichoice only if the user selects " from existing".
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects