Forum Discussion
Bret_McGinnis_1
Nimbostratus
Dec 28, 2005Displaying Statistics
Hi,
I have several statistic that I collect in iRule array variables. I would like to view them through a web page.
Currently I have set up an internal VIP and pool with a stats iRule. The stats iRule writes the Stats to Syslog. I would like view the iRules stats I've collected through a web browser when I go the the stats internet VIP.
Can I do this through an iRule?
Should I do this in an iRule?
If I can and should do this in an iRule, how? Can you give me some guidlines and code examples?
Regards,
Bret
- bl0ndie_127134Historic F5 AccountYou may also want to considering sending the response in a more structured format such as an XML document instead of HTML.
- bl0ndie_127134Historic F5 AccountOne clarification. When I say that you can 'create statistics' I am not talking about adding a new TCL variable that can be updated from your rule. Instead, you are creating stats fields much like the other stats BigIP collects and displays internally/externally via GUI and iControl.
- JRahm
Admin
Here's an example I posted a while ago while testing the stats profile functionality. It's not incredibly useful as is, but it demonstrates what I think your goal is. - Bret_McGinnis_1
Nimbostratus
It works very well. Thanks you all for the quick response. After I finish the development I will ask my managment if they will allow me to post code
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