06-01-2021 06:44 AM
Hi,
is there an API call to find out the current warm spare status (Current Master/Passive;ready) in a network?
I am setting up a monitoring page for our NOC. The goal is to show all networks with both MXes (warm spare mode) and the respective uplink statuses on one page (site centric).
Thanks,
Stefan
Solved! Go to Solution.
06-02-2021 05:08 AM
Seems that there is no API call for the warm spare status. As a workaround I am using this:
https://developer.cisco.com/meraki/api-v1/#!get-device-appliance-performance
Description: Return the performance score for a single MX. Only primary MX devices supported.
If no data is available, a 204 error code is returned.
So if I have two MXes in one network as warm spare and I get a score, this MX has to be the master.
Does anyone have a better idea?
06-01-2021 09:22 AM
06-01-2021 11:27 PM
Thanks for your answer!
This API call tells you the primary and spare MX serial. I am looking for a specific one that tells you the status which is master and which is passive/ready.
06-02-2021 05:08 AM
Seems that there is no API call for the warm spare status. As a workaround I am using this:
https://developer.cisco.com/meraki/api-v1/#!get-device-appliance-performance
Description: Return the performance score for a single MX. Only primary MX devices supported.
If no data is available, a 204 error code is returned.
So if I have two MXes in one network as warm spare and I get a score, this MX has to be the master.
Does anyone have a better idea?
05-02-2024 01:37 AM
Same question, i'm searching for an API that is able to detect master/master, or split brain status.
The workaround mentioned does not work for this.
05-19-2025 04:12 PM
We are also looking for this so the status of the HA pair can be monitored from Auvik.
05-19-2025 05:24 PM
Thanks for reviving this thread.
In most cases, while both MXs are up - primary should be active. while primary is down and warm spare is up - warm spare should be active.
The availability status of the devices is available via getOrganizationDevicesAvailabilities. However, as pointed out, a split brain status is not available via API currently.
There is an feature request for it, and if you can contact your Cisco account team - ask them to promote "MXIDEA-I-511". They'd know what to do.
05-21-2025 10:10 AM
Email sent.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide