Forum Discussion
Best way to determine which LTM is active
Hi,
We are looking for a way to remotely determine which LTM in a pair is the active node. We can use SNMP or iControl. But I wasn't able to find mib that would make the most sense.
2 Replies
Hi Brian, you can use REST Query:
https://hostname/mgmt/tm/cm/failover-status?$select=status
You get an answer like this:
{ "entries": { "https://localhost/mgmt/tm/cm/failover-status/0": { "nestedStats": { "entries": { "status": { "description": "STANDBY" }- }- }- }- }- }
- Leonardo_Accor1
Nimbostratus
You can also use snmp mibs like this:
snmpwalk -v 2c -c public localhost F5-BIGIP-SYSTEM-MIB::sysClusterMbrHaState
giving this result:
F5-BIGIP-SYSTEM-MIB::sysClusterMbrHaState."default".1 = INTEGER: unknown(0)
F5-BIGIP-SYSTEM-MIB::sysClusterMbrHaState."default".2 = INTEGER: standby(3)
F5-BIGIP-SYSTEM-MIB::sysClusterMbrHaState."default".3 = INTEGER: unknown(0)
F5-BIGIP-SYSTEM-MIB::sysClusterMbrHaState."default".4 = INTEGER: unknown(0)You can find a list of mibs in /usr/share/snmp/mibs directory.
regards
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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