Forum Discussion
Jon_Strabala_46
Nimbostratus
Dec 15, 2009Only IRULE_INIT events are triggerred
Hello I am new to iRULES and using a system set up with two virtual servers, one is a "default_gateway" which was setup to rout all traffic to the internet. The other is a "irulestest" that is only t...
Jon_Strabala_46
Nimbostratus
Dec 15, 2009That is the issue I have log statements in each iRULE
in the "when CLIENT_ACCEPTED" code blocks
log local0. "got a CLIENT_ACCEPTED production_rule"
and
log local0. "got a CLIENT_ACCEPTED test_irule_000"
I actually had something similar to what you asked for (but I removed a lot of stuff to simplify - since nothing but the IRULE_INIT logs to /var/log/ltm - so none of my "when CLIENT_ACCEPTED" code blocks are ever called.
[jstrabala@www:Active] log tail -10 /var/log/ltm
Dec 15 08:11:56 tmm1 tmm1[1865]: Rule : test_irule_000 initialized: 991
Dec 15 08:12:03 tmm tmm[1922]: Rule : production_rule initialized: 111
Dec 15 08:12:03 tmm1 tmm1[1865]: Rule : production_rule initialized: 111
Dec 15 08:21:35 tmm tmm[1922]: Rule : production_rule initialized: 111
Dec 15 08:21:35 tmm1 tmm1[1865]: Rule : production_rule initialized: 111
Dec 15 08:23:28 tmm tmm[1922]: Rule : test_irule_000 initialized: 991
Dec 15 08:23:28 tmm1 tmm1[1865]: Rule : test_irule_000 initialized: 991
Dec 15 08:23:51 tmm tmm[1922]: Rule : production_rule initialized: 111
Dec 15 08:23:51 tmm1 tmm1[1865]: Rule : production_rule initialized: 111
Dec 15 08:25:08 www bigpipe: Completed config sync all operation
[jstrabala@www:Active] log
As you can see even though I have the above iRULEs in each "when CLIENT_ACCEPTED" code block there are never any messages in /var/log/ltm - other than those I put in the "when IRULES_INIT" code block.
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
