Forum Discussion
Pool downtime query
- Jan 11, 2024
You can check the LTM logs using the following commands (this will show you when a pool member was marked up or down).
run util bash cat /var/log/ltm | grep Pool | grep status cat /var/log/ltm.1 | grep Pool | grep status zcat /var/log/ltm*gz | grep Pool | grep status
If you have a health check monitor applied to the pool, then you can also check its status.
For example:
show ltm monitor tcp tcp
This will provide output similar to the following:
-------------------------- LTM::Monitor /Common/tcp -------------------------- Destination: 172.24.32.11:80 State time: up for 40hrs:47mins:43sec | Last error: No successful responses received before deadline. @2024.01.09 22:35:07 Destination: 172.24.32.11:443 State time: up for 149hrs:50mins:46sec | Last error: N/A @2024.01.05 09:32:04
I think I found a way to get what I'm looking for.
So I did bash
zegrep -i "monitor.*status" /var/log/ltm*
This gave me a lot of info that I was able to export. I then filtered for the specific pools I am interested in and can see the date and time when the pool went down.
/domain_tenant/domain_443/domain_443_https_ABC_pool member /Common/IP_ADDRESS_443 monitor status unchecked. [ ] [ was up for 647hrs:43mins:41sec ]
/var/log/ltm.7.gz:Jan 4 10:54:11 F5 notice mcpd[11155]: 01070638:5: Pool
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com