Start a Conversation

Unsolved

This post is more than 5 years old

A

5 Practitioner

 • 

274.2K Posts

1530

June 3rd, 2015 00:00

How to find the status of a node via REST Calls?

Hello,

Could some one help me out to figure out what is exact state of an Atmos Node through REST Calls?  I understand that an atmos node can be in around 13 states (operational, degraded, disconnected, installing, etc.).

Are there any REST calls that can help figure out the exact state of the node without having to log in the System Adminstration Console?

Thank you for your time.

22 Posts

June 16th, 2015 10:00

This question is being investigated. I am just having some discussions with engineering and will report back to you shortly.

22 Posts

June 30th, 2015 10:00

There is an undocumented POX api which can be seen which is unsupported and subject to change which works via the gui code:

curl -i --insecure https:// /mgmt/node_dashboard?hostname= -H "Accept: application/xml" -H "Cookie: _gui_session_id=xxxxx”

If you need to get the node name you can get the by:

1) get the list of RMGs

curl --insecure -H "accept: */*" -H "x-atmos-systemadminpassword: password" -H "x-atmos-systemadmin: sysadmin" -H "x-atmos-authtype: password"

https:// /sysmgmt/rmgs


2) get the list of nodes from an rmg

curl --insecure -H "accept: */*" -H "x-atmos-systemadminpassword: password" -H "x-atmos-systemadmin: sysadmin" -H "x-atmos-authtype: password" https:// /sysmgmt/rmgs/irodtest/nodes

No Events found!

Top