Mark Server Down on Excessive Errors

Problem this snippet solves:

This is an iApp template that allows a user to create a virtual+pool and to specify a type of error (400 or 500) to watch for and some threshold information to meet before disabling a pool member that is responding with those errors. It uses an iRule to create per-pool member iStats, custom stats to calculate rates over them, iStat triggers to monitor for error conditions, a triggered event handler to catch it, and a script that resubmits the iApp in order to disable the pool member.

Note: It's pretty easy to get web servers to generate 400 errors, so take care that you don't DoS your applications with this.

How to use this snippet:

Implementation Details

This iCall script requires v11.4 or higher.

Published Mar 09, 2015
Version 1.0

Was this article helpful?

No CommentsBe the first to comment