Forum Discussion
Satriaji
Apr 26, 2019Cirrus
How to GREP Monitor Status Spesific Pool or VS in Range Time
Good Morning Guys ....
Are you know the commands if I want to grep monitor status spesific pool or vs in range time ? Im Using F5 BIG-IP Ver.12.x.x . (ex : Pool_HOST_SIMOL3K from 1.00 AM - 7.00 ...
youssef1
Cumulonimbus
Hi,
you can use this command:
See between a specific range time:
sed -n '/Apr 26 03:25:03/,/Apr 26 04:14:32/p' /var/log/ltm
See between a specific range time with condition (grep: status and pool name):
sed -n '/Apr 26 03:25:03/,/Apr 26 04:14:32/p' /var/log/ltm | grep "status down" | grep "Pool member"
keep me in touch
regards
Satriaji
Oct 02, 2021Cirrus
Hii Yosefff,
I try your command at CLI like pics bellow.
Are this comment saved at another location folder ? its different location with ltm.gz at /var/log/ltm right ? That comment will capture spesific range n pool member name with status down, right ? How can i get that log file saved ? I think it will appear at CLI directly.
Thankkyouuu ...
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects