Forum Discussion
Nat_Thirasuttakorn
Employee
Nov 15, 2004adding/deleting class member by iRule
is it possible to add/delete class member by iRule
unRuleY_95363
Sep 26, 2005Historic F5 Account
Well, this would be cool... I'm not sure about the approach though. Here are the problems:
a) log can only log one line at a time max 1024 chars.
b) RULE_INIT is a bit tricky to force to evaluate (it's only evaluated when a rule has been modified).
Another approach that I'm a little surprised no one has done yet is the following:
Create a dedicated tcp/http VIP. In the HTTP_REQUEST event, if the request is something like: "/vip_stat", then generate your payload into a variable and then use HTTP::respond to return the content. The same vip could report on other tcl statistics as well. If the request is invalid, simply use HTTP::respond to throw a 404. The vip would never really connect to anything on the backside. Then you could use curl or something to retrieve the status into a file from either the host or any other box...
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
