05-16-2022 07:33 PM
Hi all.
How can I get the uptime from Cisco ACI Nodes (APIC, Leaf and Spine) from API?
Thank you.
Solved! Go to Solution.
05-16-2022 10:57 PM
Hi @3bruno
You can send a GET for each node you are interested in:
https://<APIC-IP>/api/node/mo/topology/pod-<POD-ID>/node-<NODE-ID>.json?query0target=children&target-subtree-class=topSystem
Response contains both systemUpTime and lastRebootTime:
Stay safe,
Sergiu
05-16-2022 10:57 PM
Hi @3bruno
You can send a GET for each node you are interested in:
https://<APIC-IP>/api/node/mo/topology/pod-<POD-ID>/node-<NODE-ID>.json?query0target=children&target-subtree-class=topSystem
Response contains both systemUpTime and lastRebootTime:
Stay safe,
Sergiu
05-17-2022 07:02 AM
Thank you Sergiu.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: