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

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) CA Unified Infrastructure Management On-Premise (Nimsoft / UIM) CA Unified Infrastructure Management SaaS (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 extracting all the robots from the DB but unfortunately, the data extracted is too messy because the robots listed in DB also include robot that we already removed and deleted from IM.

Resolution

You have few different ways to do it:

1 -  Nas lua script and modify it only to return the robot information.
How to create a report of all probe configurations

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 /<domain>/<hub>/<robot>/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 //<domain>/<hub>/<robot>/hub getrobots ""

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