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.
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