iRules Troubleshooting Tips¶
1.) Ensure the iRule compiles¶
2.) Ensure that you have an accurate problem description¶
3.) Check the logs¶
4.) Add logging¶
Logging practices that can be helpful: | |
|
|
|
|
|
|
|
5.) Ensure the configuration supports the iRule¶
6.) Use single-case comparisons¶
7.) Capture and analyze the traffic being sent¶
8.) Analyze traffic leaving the Virtual with and without the iRule applied¶
If the traffic going in is good, and the iRule is technically firing, then perhaps you can track down what it IS doing by analyzing the traffic that’s leaving the Virtual before and after the iRule is applied. By discerning how the iRule is affecting the traffic, even if it’s not in the desired manner, you may find clues as to where the problem is.
The BIG-IP API Reference documentation contains community-contributed content. F5 does not monitor or control community code contributions. We make no guarantees or warranties regarding the available code, and it may contain errors, defects, bugs, inaccuracies, or security vulnerabilities. Your access to and use of any code available in the BIG-IP API reference guides is solely at your own risk.