Forum Discussion
JoeBlogs1759_10
Nimbostratus
Aug 14, 2009iRule to update an independent web page
Has anyone written an iRule to update a web page of its status or does anyone know of a better method. The requirement is for the helpdesk; who don’t have F5 access to be updated (other than SMTP) of the status of the pool members. Thanks…
- Sounds like a job for our Managment API iControl. We have many customers who have written monitoring systems using our iControl API to build a status dashboard for the health of their systems. That would require coding the iControl calls into your webpage. Since you said that the helpdesk doesn't have F5 access, so I take that to mean that they do not have the ability to remotely query data from the BIG-IP so this might not work for you. Not sure how you'd do this with iRules... Anyone?
- JRahm
Admin
Just brain storming here...you could serve the page locally on the BIG-IP with a unique URI such as /memberStatus. As your pool members are used, you could check their status in the LB_SELECTED event with LB::status, then store member IP:port and status in an array that you could iterate through for a page display with HTTP::respond. It won't be exactly real time, and will depend on all your pool members being utilized, but it's a start. - JoeBlogs1759_10
Nimbostratus
Hi citizen_elah - The_Bhattman
Nimbostratus
Here are several irules regarding pool status
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