Forum Discussion
kwkyiu_53019
Nov 08, 2011Nimbostratus
Query system status in TMSH
Just a short and stupid question.
How can I query the system status (Active/Standby) in TMSH script?
- Mark_Crosland_2Historic F5 AccountOne way would be to look at the failover.state DB variable. The "value" property will contain one of "active forced_offline offline standby"
- Mark_Crosland_2Historic F5 AccountOr, in a script, as described in "help cli script", tmsh::get_config
- Mark_Crosland_2Historic F5 AccountAnd in v11
- kwkyiu_53019NimbostratusThanks Mark, it works
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