Forum Discussion

Kent_Perrier_50's avatar
Kent_Perrier_50
Icon for Nimbostratus rankNimbostratus
Aug 24, 2011

create 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

 

  • John_Gruber_432's avatar
    John_Gruber_432
    Historic F5 Account
    Kent,

     

     

    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..
  • 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.