Use API to pull inventory of servers and set them into maintenance
search cancel

Use API to pull inventory of servers and set them into maintenance


Article ID: 241177


Updated On:


DX Unified Infrastructure Management (Nimsoft / UIM)


Is there any Nimsoft API to pull inventory of all servers configured on Nimsoft in one go?

Also is there any Nimsoft API to put all bulk Nimsoft servers to maintenance mode and bring them out of maintenance mode in one go?

As we know that we can pull Nimsoft inventory from Admin console and Infrastructure Manager as well as we can put bulk servers in maintenance mode through Operator Console and Infrastructure Manager but both these are time consuming processes.

We are trying to configure some automation scripts for both these processes, Hence we require this information.


Release : 20.3

Component : UIM - API


Use the uimapi


For 20.3.3, use 20.33hf3.

For UIM 20.3 or later, deploy the uimapi package to the Operator Console (OC) robotin your UIM environment to access the uimapi REST APIs.

For example in my lab I access:

and login with my IM credentials which takes me to the page.


Then you can see and test the uimapi calls. See inventory and maintenance_mode calls.

Then you can use the call(s) to add the inventory list to an active maintenance window, maintenance schedule, etc.