Forum Discussion
Michel_van_der_
Nimbostratus
Jul 05, 2006Default node monitor?
On a load balancer, when I go to:
Local Traffic -> Nodes -> Default Monitor
I can set up a default monitor for my nodes.
How do I do the same in iControl?
Thanks, Michel
- Look in the LocalLB::NodeAddress interface for the monitor_association methods. You'll first have to either create a new template or use one of the default templates if you are happy with the default values.
- Michel_van_der_
Nimbostratus
So, if I want to monitor all nodes with tcp, what do I set the address_type and ipaddress to (for node_address)? What about monitor_rule? - The only issue I see is that the monitor_templates member of the monitor rule structure is an array and you are passing in a single value. It should look something like this:
'monitor_templates' => ['icmp']
- Michel_van_der_
Nimbostratus
Thanks for your help (I hate when I make dumb mistakes...). I now get:
I'll have someone raise a support case with the example code tomorrow or Monday. Is there any specific place I should direct the ticket to?SOAP Error: SOAP-ENV:Server; Exception caught in LocalLB::NodeAddress::set_monitor_association() Exception: Common::OperationFailed primary_error_code : 16908342 (0x01020036) secondary_error_code : 0 error_string : 01020036:3: The requested node address (0.0.0.0) was not found.
- I would just state that the method is not working correctly and that it should ignore the address field when the ATYPE_STAR_ADDRESS option is selected.
- Loc_Pham_101863Historic F5 AccountThis problem is tracked by CR 66499, and should be fixed in 9.4.0.
- Michel_van_der_
Nimbostratus
I tried to check that CR in the tech.f5.com web-site, but it does not show up. I tried this on a box recently patched to 9.2.4 19 and it still appears to be a problem. - The CR was applied to 9.4.0, not 9.2.4. I've just checked the CR's state and it's set to Verified Fixed for 9.4.0 build 297.0.
- Can you post your code? The code above in the thread is for set_monitor_association() yet your error is from get_monitor_association().
- samstep
Cirrocumulus
Joe, yes the problem I am having is with the get_monitor_association()$monitor_assoc=$soap->get_monitor_association(array(array('address_type'=>'ATYPE_STAR_ADDRESS', 'ipaddress'=>'0.0.0.0')));
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