Mar 27, 2026 - For details about updated CVE-2025-53521 (BIG-IP APM vulnerability), refer to K000156741.

Forum Discussion

rschwarz79's avatar
Jan 06, 2026
Solved

iRule Pool member(s) offline or disabled

Hello community,   is there any way to check if the pool members offline/down (e.q. network or server error) or disabled (by a monitor during a maintenance) using a iRule?   The background would ...
  • Injeyan_Kostas's avatar
    Injeyan_Kostas
    Jan 07, 2026

    Have not tested but might work with something like this

    of course adjust names, members and messages

    when HTTP_REQUEST {
        if { [LB::status pool my_pool member 10.1.1.1 80] eq "down" &&
    		[LB::status pool my_pool member 10.1.1.2 80] eq "down" }{
            HTTP::respond 200 content {
    			<html>
    				<head>
    					<title>Error Page</title>
    				</head>
    				<body>
    					whatever you want to say plus links
    				</body>
    			</html>
    		}
        } elseif { [LB::status pool my_pool member 10.1.1.1 80] eq "session_disabled" &&
    		[LB::status pool my_pool member 10.1.1.2 80] eq "session_disabled" }{
    		HTTP::respond 200 content {
    			<html>
    				<head>
    					<title>Maintenance Page</title>
    				</head>
    				<body>
    					whatever you want to say
    				</body>
    			</html>
    		}
    	}
    	else {
            pool my_pool
        }
    }