Forum Discussion

Aaron_McMahon_2's avatar
Aaron_McMahon_2
Icon for Nimbostratus rankNimbostratus
May 29, 2006

How to create a default node monitor?

I've been scouring the iControl documentation and can't find it... How do I create a default node monitor using iControl?

 

 

See graphic for how it appears in the GUI:

 

http://www.f5.com/images/sc/oracle_11i_v9_icmp.gif

 

  • Monitors are defined as templates. Then you assign a template to an object to make a monitor instance.

     

     

    In the SDK, take a look at the LocalLB::Monitor::create_template() method to create the template you want.

     

     

    Then to assign a monitor template to a Node Address (which I assume you are referring to and not a Pool Member), look at the LocalLB::Node::set_monitor_association() method to create the assocation between the given Node Address and the monitor template that you previously created.

     

     

    -Joe