Forum Discussion

Mike_Thompson_9's avatar
Mike_Thompson_9
Icon for Nimbostratus rankNimbostratus
Feb 18, 2015

'STATISTIC_CURRENT_SESSIONS' is not a valid value for CommonStatisticType

I am using the latest iControl Windows SDK 11.1 via WSDL and SOAP to connect to an BIG-IP_v11.4.1. When I make the call to return the statistics using:

 

LocalLB_PoolMember.LocalLBPoolMemberMemberStatistics[] memberStats = _F5Member.get_all_statistics(pools);

 

I get the following error in return:

 

Instance validation error: 'STATISTIC_CURRENT_SESSIONS' is not a valid value for CommonStatisticType.

 

I am guessing this is due to a mis-match between the SDK I am using and the newer 11.4.1 F5. Is there a newer version of the SDK to support the newer 11.4.1?

 

I see references on the forum to upgrade the .NET iControl assembly, but I am using the SOAP interfaces so this does not apply.

 

1 Reply

  • So I fixed this myself :-) Instead of using the LocalLB.PoolMember class from the 11.1 SDK, I pulled it directly off the F5 using:

     

     

    Seems to be working fine now. Thanks anyway for any and all that took a look and I hope this helps others.