- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
API call for MX warm spare status
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.
- Labels:
-
Dashboard API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
