APM global subtable not working
Hi,
I am adding a value to an APM subtable in an APM event, like this:
table set -subtable [IP::client_addr] publikt_pbr 1 72000 72000
Directly after the above row, I do a lookup to verify that the value is properly set.
log local0. "LOOKUP: publikt_pbr( [table lookup -notouch -subtable [IP::client_addr] publikt_pbr] )" Output: info tmm[18386]: Rule /Common/apm_event : APM - LOOKUP: publikt_pbr( 1 )
This works fine!
I then need to verify this value in a separate iRule using this line of code:
if { [table lookup -notouch -subtable [IP::client_addr] publikt_pbr] eq 1 } {....
This is not working. The value from the exact same subtable is not available for me. Doing a lookup for this value from the separate iRule show this:
log local0. "LOOKUP: publikt_pbr( [table lookup -notouch -subtable [IP::client_addr] publikt_pbr] )" info tmm[18386]: Rule /Common/other_irule : LOOKUP: publikt_pbr( )
The same code, on the same software version+HF works fine in labb. When moving this code to production( BIG-IP 4000 ), it does not work anymore.
Does anyone know why this might happen? For me, it makes no sense. I thought APM subtables were to be global, but in this case it seems like I cannot read the value from other iRules.
Thanks in advance!