CodeShare
Have some code. Share some code.
cancel
Showing results for 
Search instead for 
Did you mean: 
John_Gruber_432
Historic F5 Account

Problem this snippet solves:

PHP5 SOAP client web page widget examples to manipulate LTM Nodes, Pools, PoolMembers (deprecated), Virtual Servers, GTM Servers, Virtual Servers, WIP Pools, and WIPs.

How to use this snippet:

PHP5 SOAP client web page widget examples to manipulate LTM Nodes, Pools, PoolMembers (deprecated), Virtual Servers, GTM Servers, Virtual Servers, WIP Pools, and WIPs.

function get_statistics($vs) {
try {
$soapClient = getSoapClient();
add_result("called LocalLB::VirtualServer::get_statistics",true);
if(is_array($vs)) {
return $soapClient->get_statistics($vs);
}else{
return $soapClient->get_statistics(array($vs));
}
}catch (Exception $e) {
add_result("Error:".formatErrors($e->getMessage()),true);  
} 
}
Comments
John_Chen_43562
Nimbostratus
Nimbostratus
Can you provide details on how to use this code snippet? Is there suppose to be a index page or something else?
Version history
Last update:
‎07-Mar-2015 15:52
Updated by:
Contributors