Hi. I’m stuck on something that seems so simple, yet has befuddled me for quite some time. Im trying to use LocalLB.PoolMember.wsdl to get statistics (specifically current connections) of a specific node. As far as i know, this is the only way to get stats for a specific node and port, if not please let me know.
Anywho, I’m doing it like this (php5):
$wdsl = "LocalLB.PoolMember.wsdl";
$params['pool_names'][] = $pool;
$addrs = Array(
'address' => '10.93.66.167',
'port' => 80
);
$params['members'] = $addrs;
Here is what this array looks like:
Array
(
[pool_names] => Array
(
[0] => dsweb_tolphp5_pool
)
[members] => Array
(
[address] => 10.93.66.167
[port] => 80
)
)
And here is the output when i call get_statistics():
Array
(
[0] => stdClass Object
(
[statistics] =>
[time_stamp] => stdClass Object
(
[year] => 2008
[month] => 6
[day] => 9
[hour] => 21
[minute] => 3
[second] => 46
)
)
)
If i try to rearrange things, it complains about not being able to find parameter ‘address’. I have the correct partition selected, a valid pool, and valid IP/port in that pool for this query.
So, why am i not getting back statistics? I’m guessing its because im not defining my members array correctly. If it does look correct to you, how can i go about troubleshooting further?