Is there a way to monitor conditions (as with ipsla etc) in a switch (or specific to a given port channel) and trigger the removal/shutdown of a member from within a port-channel? Example - after x% errors, remove the interface from service/throw an alert. Thank you in advance for your feedback!
One problem with removing interfaces from a channel is that it is a link, and you suddenly have multiple links between the two devices: the channel and the interface removed from the channel. Then you have have STP deciding which link is blocking, and which link is forwarding, and you may not want what STP decides (the failing link is the one forwarding).
You can certainly get alerts on interface/link problems via SNMP or some other alert mechanism that you have set up.
I just thought of a possible solution that I think we are going to try(for alerting only, not shutting down interfaces).
Use multiple IP SLA sessions (possibly with IP SLA responder) on each side and set source/dest IPs(and possibly udp port if doing src/dst port load-balancing) to ensure traffic in each session is hashed over a specific link in the port-channel. Set thresholds as needed and then use EEM to shutdown interface if SLA session fails.