maggie_129843
Jul 15, 2013Nimbostratus
how to get the pool statistics?
Hi,
I am trying to retrieve the Pool statistics using Icontrol as follows:
1. This code throws in an error:
string[] strName = interfaces.LocalLBPool.get_list();
for (int i = 0; i < strName.Length; i++)
{
string[] poolName = new string[] { strName };
LocalLBPoolPoolStatistics localPoolStatistics = interfaces.LocalLBPool.get_statistics(strName);
}
Error:{"There is an error in XML document (219, 74)."}
Inner Exception: "Instance validation error: 'STATISTIC_CURRENT_SESSIONS' is not a valid value for CommonStatisticType."}
Can someone please help. Thanks in advance.