Forum Discussion
KeyPat_152122
Nimbostratus
Jul 28, 2014trying to capture 5XX HTTP response and retry to another pool member - passive monitor
I am running LTM 11.4 and trying to capture HTTP response 5XX using below irule. I am trying to log on finding 5XX status code. I do not see any thing in the logs. The irule is being hit as it does e...
Kevin_Stewart
Employee
Jul 29, 2014I would probably start with some additional logging:
when HTTP_REQUEST {
log local0. "Request URI: [HTTP::uri]"
set http_request [HTTP::request]
}
when HTTP_RESPONSE {
log local0. "Response status: [HTTP::status]"
if { ( [HTTP::status] starts_with "5" ) } {
...
}
}
This will at least prove that the HTTP events are being triggered and what they're being triggered for.
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