Forum Discussion
AlgebraicMirror
Altostratus
Oct 12, 2016Is there any way in an iRule to tell if APM is enabled or disabled on a connection?
Hi guys. Does anyone know if there is a way to tell if APM is enabled or disabled on a given connection? For example, I can turn APM on or off in an iRule using these commands:
ACCESS::disable...
Stanislas_Piro2
Cumulonimbus
Oct 13, 2016Hi,
if you want to do some stuff when APM is enabled, you can do it on ACCESS_ACL_ALLOWED event.
this event raise every time the request is associated with APM session and not dropped by ACL (if no ACL is defined or explicit ACL allow the request)
you can also use this irule :
when HTTP_REQUEST {
set apm_enabled 0
}
when ACCESS_ACL_ALLOWED {
set apm_enabled 1
}
when HTTP_REQUEST_SEND {
log "APM Status is $apm_enabled"
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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