Forum Discussion
Aaron_McMahon_2
May 29, 2006Nimbostratus
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/i...
May 30, 2006
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
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