Forum Discussion
mehdis_60232
Nimbostratus
Jun 19, 2008getting Node statistics : LocalLBNodeAdress.cs (SDK)
Hello,
in NodeAdressmain.cs i can't use those two methods:
-get_object_status
-get_statistics
When i try to use it, i have the exeptio...
mehdis_60232
Nimbostratus
Jun 20, 2008the probleem isn't due to the BIG-IP because the others informations are well displayed.
for example:
SESSION_STATUS_ENABLED
MONITOR_STATUS_UNCHEKED
Connection limit,ratio
...
I have just this exeption when i want to use "get_statistics" .Yes i'm using partitions(is it an other way tro proceed?)Perhaps it's just comming from the syntax :
////////////
NodeAddress.LocalLBNodeAddressNodeAddressStatistics statistics =
NodeAddress.get_statistics(node_list);
for (int i = 0; i < node_list.Length; i++)
{
NodeAddress.CommonStatistic[] statistic_list = statistics.statistics[ i ].statistics;
for (int j = 0; j < statistic_list.Length; j++)
{
Console.WriteLine(" " +
statistic_list[ j ].type.ToString() + " : " + build64(statistic_list[ j ].value));
}
}
PS: Thx for your help and excuse my english. i'm french
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
