Forum Discussion
Query / Monitor last failover time
Hello,
I have a pair of LTMs that were toggling active-standby-active. We've resolved the issue, but I'd like to detect this in the future.
Is there any way to programmaitcally (i.e. something that I can script) check the time of the last failover event, or how many failover events have happened (i.e. cache a counter, and see if it increases)? So far the only thing I've been able to come up with is looking in /var/log/ltm, which is a pretty expensive operation given that we have a LOT of iRule logging going there.
Thanks, Jason
- R_Eastman_13667Historic F5 Account
Create an external monitor and check/grep the /var/log/ltm for "standby for traffic group" and "active for traffic group" or "stop racoon" and "start racoon"
- Jason_Antman_40Nimbostratus"So far the only thing I've been able to come up with is looking in /var/log/ltm, which is a pretty expensive operation given that we have a LOT of iRule logging going there."
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