How can I delete a Discovery Agent from the Discovery Wizard list?
search cancel

How can I delete a Discovery Agent from the Discovery Wizard list?

book

Article ID: 36122

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 deleted discovery_agent from its robot, but this robot still appears in the list when I open the Discovery Wizard.
How do I eliminate this non-existent discovery_agent from the list?

Environment

  • Release: 20.x 

Resolution

To delete these entries:

1. Ensure the discovery_agent probe is deleted from the robot.
 
2. Open the UIM database in SQL Server Management Studio, and start a new query window.

3. Run a query like:   select * from CM_DISCOVERY_AGENT where robot = '<robot name>'
    and record the da_id for the discovery agents you want to remove.

4. Run: exec P_CM_REMOVE_DISCOVERY_AGENT <da_id>

5. Confirm that the agent has been removed from CM_DISCOVERY_AGENT

Additional Information

  • This procedure will also delete the scopes and credentials associated with this discovery agent.
  • To call this stored procedure in MySQL database, the following syntax can be used to replace the call in step 4:
    • call P_CM_REMOVE_DISCOVERY_AGENT(da_id);