Forum Discussion
wayney_128269
Nimbostratus
Mar 28, 2008Data Transfer
If I wanted to measure the amount of data transfered for a particular node over a 30 day period, how would I do this?
thanks
3 Replies
- Here's the manual way:
If it's for a specific node, then you'll want to use the LocalLB::NodeAddress::get_statistics() method and pull out STATISITCS_BYTES_IN and store that in an external database/file/etc. 30 days later, query the same statistic and subtract the two.
Another option is to just zero out the statistics with the LocalLB::NodeAddress::reset_statistics() on day zero and then query that stat on any given day after day zero and that will be your total.
If you are asking if the BIG-IP keeps this information, then I think the answer is no. We do keep some global statistics over time but not on a node by node basis.
Hope this helps!
-Joe - wayney_128269
Nimbostratus
Will the Bytes IN counter rollover back to zero at some point?
Also, is Bytes IN\OUT available via SNMP?
thanks - The counters are 64 bit numbers so they will roll over at 2^64 which is 18,446,744,073,709,551,616 bytes. So the answer is yes, but it will take a while.
As for stats via SNMP, I know that stats are available, and I'm almost positive they are available on a node address level. I just couldn't tell you where to look for them in the MIB.
-Joe
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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