samppa_81183
Oct 29, 2014Nimbostratus
Simple iRule logging problem
Hi, I have created a simple logging rule to monitor pool and node availability, but it doesn't seem to work. Well, the output is not something expected. Here is the iRule:
when HTTP_REQUEST {
log local0. "Pool status [LB::server pool] [LB::status pool [LB::server pool] member 10.10.10.10 8080 ]"
log local0. "Node status [LB::status node 10.10.10.10]" }
But when I look at the logs, they are down:
Wed Oct 29 10:32:48 EET 2014 info slot1/big1 tmm4[12513] Rule /partition1/LOG_TEST : Node status down
Wed Oct 29 10:32:48 EET 2014 info slot1/big1 tmm4[12513] Rule /partition1/LOG_TEST : Pool status /partition1/prod1_8080_pool down
If I looks at the GUI, the pool and node are up an running. What might be the problem here?
Br, Sami