ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

How to extract out all robot list from CA UIM Infrastructure Management

book

Article ID: 187168

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

I would like to know if there is way to extract out robot list from Infrastructure Management without use manual way that need to copy all the robot then paste it to excel file? if possible if i can automate the step to collect/extract the robot list from IM.

I tried extract all the robot from the DB . but unfortunately the data extracted is to messy and not even telly, because of the robot listed in DB also include with robot that we already remove and delete from IM.

Resolution

You have few different ways to do it:

1 -  Nas lua script and modify it only to return the robot information.
https://ca-broadcom.wolkenservicedesk.com/external/article?articleId=34707

2 -  Via IM console > Tools > Find > Robots > then either > Print  or > Ctrl + A, then Ctrl + C, and then past into a spreadsheet.

3 - Execute to get all Hubs in your UIM Domain:
"C:\Program Files\Nimsoft\bin\pu.exe" -u administrator -p PASSWORD /UIM_Domain/PrimaryHubName/PrimaryHubRobotName/hub gethubs

then cut out the hub addresses (REGEX: /addr\s+PDS_PCH\s+\d+\s+(\S+)$/) and execute for each hub to get the robots connected to each hub:
"C:\Program Files\Nimsoft\bin\pu.exe" -u administrator -p PASSWORD /UIM_Domain/Hub_n_Name/Hub_n_RobotName/hub getrobots ""

Then cut out the robot names (REGEX: /name\s+PDS_PCH\s+\d+\s+(\S+)$/) for further processing.