Forum Discussion
response with faliure reason/html/image
I want to send http respond failure reason(which monitor mark pool down)/html/image to broswer
it seems there is no way to combine these 3 cotents together in one http::respond
how to achieve?
ifile only is one element of these 3....
4 Replies
- nitass
Employee
it seems there is no way to combine these 3 cotents together in one http::respond
can't we embed encoded image inline in html tag?
Embed Base64-Encoded Images Inline In HTML By Phil Whelan
http://www.bigfastblog.com/embed-base64-encoded-images-inline-in-html - Robert_47833
Altostratus
hey,Nitass glad to hear from you again. you are the man.
it works great!!!
how about the failure reason?
I plan to :
1:if pool member is down,get the monitor that mark pool member down
2:if pool member is up,but LB failed,display a message to ask them drop mail to network team network@xyz.com
- nitass
Employee
1:if pool member is down,get the monitor that mark pool member down
we can check number of active members using active_members command and can send respond (e.g. HTTP::respond) if all members are down.
active_members
https://devcentral.f5.com/wiki/iRules.active_members.ashx2:if pool member is up,but LB failed,display a message to ask them drop mail to network team network@xyz.com
we can use HTTP::respond in LB_FAILED.
LB_FAILED
https://devcentral.f5.com/wiki/iRules.LB_FAILED.ashx - Robert_47833
Altostratus
it can be done via method described below
selected pool status and pool name(called via variable in html) + html page with image embeded
https://devcentral.f5.com/questions/reference-an-irule-variable-in-an-html-ifile-response
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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