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
Jan 23, 2014Historic F5 Account
Don't disable strictness. Re-code your iApp! In presentation, change your "choice" to a "multichioce", for example:
multichoice reuse_monitor_name display "xlarge" tcl {
tmsh::run_proc f5.app_utils:get_ltm_monitors_filter http https tcp
}
and in implementation, change the tmsh statement to add your list of monitors, separated by the word "and". For example:
set monitor_name [list \
[join $::server_pools__reuse_monitor_name " and "]]
- Ed_Carpon_13196Jan 23, 2014NimbostratusI appreciate the help but i cannot seem to get this working how you stated. I am attempting to duplicate the f5 HTTP template. Below is what I am editing from the presentation section. optional ( create_new_monitor == "Use Monitor..." ) { choice reuse_monitor_name display "xlarge" tcl { package require iapp 1.0.0 return "[iapp::get_items ltm monitor http]\n[iapp::get_items ltm monitor https]" Just doing this does not change how it looks when you select the edited iApp template.
- Fred_Slater_856Jan 23, 2014Historic F5 AccountIf you replace the keyword "choice" with "multichoice", do you see the change in presentation?
- Ed_Carpon_13196Jan 23, 2014NimbostratusNo I do not.
- natheJan 23, 2014CirrocumulusThanks for that Fred, a lot better way of doing things.
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