Forum Discussion
What_Lies_Bene1
Apr 05, 2013Cirrostratus
iStats
Hi everyone, I'm trying to get my head around iStats, in particular how a key is constructed. Colin's article here is very confusing: https://devcentral.f5.com/tech-tips/articles/introduction-to-ista...
Matt_Jannusch_1
Nimbostratus
Is there a way to remove an ISTAT or set a counter back to zero from an iRule? Can't seem to find a way to do it. I can do "istats remove "ltm.virtual /Common/ counter hits" from the cli, for example, but there doesn't seem to be an associated command available to iRules to do the same thing.
BTW, there really needs to be some cleanup and expansion on the documentation for ISTATs here. What little information is available is pretty confusing, and often contradicting.
Matt_Jannusch_1
Feb 24, 2014Nimbostratus
Thanks James, I ended up incrementing the counter by the negative of the counter and that worked fine! I wanted to keep all the functionality in an iRule as that is easier to maintain (for my customers) than the iCall script method.
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