Forum Discussion
irule_log_http email http response
I have an irule apply to VIP which log all http responses from server whether it is 200,300 or 500. Now the application team wants that if they can receive an email when server respond with http response 500. How that can be done or how can i incorporate that functionality into i-rule ?
Additionally The application is monitored with tcp health monitor only. When apply http health monitor it doesn't works. Applying http health monitor marks the nodes dowm in LB pool.
Thanks
- Ashu_2116
Nimbostratus
Any one please can help me with it ?
Hi,
You can write a log and send it through syslog :
when HTTP_RESPONSE { if {[HTTP::status] contains "50" } { log local0. "[HTTP::status] received" } }
Then, you can define a user alert. Please, check the following link for further information : https://support.f5.com/csp/article/K3667
Regards
Yann
Recent Discussions
Related Content
* 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