Forum Discussion

Vytautas_klior1's avatar
Icon for Nimbostratus rankNimbostratus
Apr 26, 2012

Pool or Node Monitoring and redirection




I have F5 ASM and need somehow to monitor pool or node and if status of one or another is "down" then redirect traffic to other pool and make http:redirect.


I didnt find anything in forum search...




Itried to do something like this:






if { [active_members My_pool1] < 1 } {


pool My_pool2


HTTPS::redirect ""




But this is not working... :/ I asked F5 support do I need LTM license in order to use this commands (active_members, LB:seerver, etc) but they could not tell me that..




Can someone suggest what can be done in order to monitor pool/node and then take action based on monitor result ?




thank you in advance








1 Reply

  • George_Watkins_'s avatar
    Historic F5 Account
    Hi Vytautas,

    Give this a shot:

    when LB_FAILED {
        HTTP::redirect ""

    You probably don't want to select a pool then send a redirect to client. I would do one or the other. I can't say for sure that this will work on an ASM standalone, but I'd lean towards yes. Give it a shot.