Forum Discussion
rohans77
Nimbostratus
Jul 10, 2014Not able to fetch object status of virtual server
Hello ,
I am using below php script to fetch status of virtual servers but getting exception.
$location="https://$hostname/iControl/iControlPortal.cgi?";
$wsdl_VS="https://$hostname/iControl/iCo...
mimlo_61970
Cumulonimbus
Jul 10, 2014Your not sending the right input to get_object_status.
LocalLB.VirtualServer.get_list() returns a list of virtual servers names.
LocalLB.VirtualAddressV2.get_object_status() wants a list of virtual addresses, not names like you are passing it.
if you change the first call to LocalLB.VirtualAddressV2.get_list(), and pass that to the second call, that will return the list you are after.
Of course if you need the names of the virtual servers for display purposes, you'll need to add in some additional calls to gather all that.
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