Forum Discussion
Kent_Perrier_50
Nimbostratus
Aug 24, 2011create a monitor with iControl
Looking at the iControl API, I see a method to create a monitor template, but I don't see anything to create a custom monitor. Am I missing something?
Thanks,
Kent
2 Replies
- John_Gruber_432Historic F5 AccountKent,
LTM Monitor definitions form the template of what will be instantiated when they are associated with a Node, Pool, or Pool Member. In that sense they are all templates.
You can create monitor templates with iControl and customize attribute values based upon the attributes of a parent monitor template. There are many parent monitor templates on the LTM which form the basis of how you monitor a service. The parent monitor can be as specific as an LDAP or DB monitor which you then would customize with connection strings, queries, filters, etc. The most generic parent monitor template is the external monitor which simply supples the name of a external monitor executable, environment variables, and arguments to supply.
What are you trying to accomplish? I always tell my customers who are new to iControl to open the GUI and perform the action(s) they are trying to accomplish there to learn some of the object layout/thinking.. - Kent_Perrier_50
Nimbostratus
I want to be able to script the creation of custom http and https monitors. It did not occur to me that create_template method would be what I need.
Thanks.
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
