Forum Discussion
Steven_Carter_8
Nimbostratus
Feb 28, 2007Getting up-to-date statistics
Greetings, I am trying to write an application that grabs all the server statistics. I am able to get that information correctly, however I am wondering if there is a quick method to update the statistics for the current servers I have.
Basically, I would like to a refresh option that updates the connection statistics every few seconds.
- What do you mean by "updating statistics"? The connection statistics are automatically updated when traffic flows though the BIG-IP. I'm confused as to what you are asking. If you are asking how to reset the statistics, then that can be done with the appropriate (Pool, PoolMember, VirtualServer, etc) reset_statistics() methods.
- Steven_Carter_8
Nimbostratus
I'm sorry I wasn't very clear. What I am trying to do is bring in statistics from Big-IP to a local application (like iControl). Within that application I load the values into a dataset, and then into a datagrid to display on the screen. What I am trying to do is have a refresh button so that when it is clicked, the screen will get the most up-to-date statistics like current connections, server status (active / inactive), and so forth. I know how to update the datagrid, but it doesn't seem like the statistics are updated. - If you change the values from within the admin interface, those will be passed back in the iControl calls. Are you sure that you are setting the correct status in IE that you are polling for within iControl. There is an enabled status as well as a session enabled state (disabled means no connection, sessions disabled means no new connections). There may be a disconnect there. Tell me exactly what you are setting via the GUI and what method calls you are using to query the states and that'll give me a bigger picture of what's going on.
- Steven_Carter_8
Nimbostratus
Thanks for all the help so far Joe. - I am way way rusty on datasets and datagrids. Anyone else out there have any insight?
- Glad to hear it!
- SamKorda_81143
Nimbostratus
Can i have this in C ?
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