samstep
Jun 10, 2008Cirrocumulus
get_monitor_association is not working for default monitor
This looks like a possible bug in iControl.
In Web UI you can navigate to Local Traffic/Nodes/Default Monitor to see the default node monitors. Trying to get the same using iControl:
PHP5
$monitor_assoc=$soap->get_monitor_association(array(array('address_type'=>'ATYPE_STAR_ADDRESS',
'ipaddress'=>'0.0.0.0')));
This is supposed to return the default node monitor - for example array("icmp"), however it crashes with this error instead:
Exception caught in LocalLB::urn:iControl:LocalLB/NodeAddress::get_monitor_association()
Exception: Common: OperationFailed
primary_error_code : 16908342 (0x01020036)
secondary_error_code : 0
error_string : 01020036:3: The requested node address (none) was not found
Environment - BIG-IP version 9.4.4. PHP5 with built-in SOAP extension (also tested this in C - same error appears there)