coneryj
2 Bronze

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

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://<ip>/mgmt/node_dashboard?hostname=<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://<hostip>/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://<hostip>/sysmgmt/rmgs/irodtest/nodes

0 Kudos