Forum Discussion
Nov 05, 2003
Could you be a bit more specific on your issue? The call to get_statistics
[code:1:387d4b53dc]
{
...
GLOBAL_STATISTIC_CURRENT_CONNECTIONS, /* value 35 */
...
};
struct GlobalStatistic
{
GlobalStatisticType type,
long value
};
void get_statistics(
out GlobalStatistic[] global_stats
);
returns a array of GlobalStatistic structures containing containing each type of statistic. Enumerating this array until you find one with the type of "35" should have an associated value of the current connections.
What exactly is the behavior you are seeing? Is a entry with type 35 being returned with an incorrect value? You mentioned that there was a problem with the type being returned correctly. If so, could you explain what this means?
Also, if you could include the version of BIG-IP you are accessing that would be helpful in diagnosing the problem if there is one.
-Joe