F5 Big-IP Advanced Troubleshooting
I work with F5 since many years and I always need some advanced troubleshooting tools which I documented here a little bit.
CLI Commands
Show pool members monitoring status
tmsh show ltm pool all members field-fmt | grep -P "(ltm\ pool|active-member-cnt|addr|monitor-status)"
Count pool members with monitoring status "monitor-status\ checking"
tmsh show ltm pool all members field-fmt | grep "monitor-status\ checking" | wc -l
Show Health Monitor status
Example with ICMP health monitor:
tmsh show ltm monitor icmp icmp
Answer:
Destination: 1.7.3.55:0
State time: up for 527hrs:54mins:45sec
| Last error: N/A @2019.11.12 10:58:51
Destination: 1.7.3.56:0
State time: up for 527hrs:54mins:45sec
| Last error: N/A @2019.11.12 10:58:51
Destination: 1.7.3.131:0
State time: down for 527hrs:54mins:45sec
| Last error: No successful responses received before deadline. @2019.11.12 10:58:51
Destination: 1.7.3.139:0
State time: down for 527hrs:54mins:45sec
| Last error: No successful responses received before deadline. @2019.11.12 10:58:51