How to find which user id used to discover server

Hi All,

We have added multiple user profile for server discovery. Is there any way to find which profile is used for discovery. 

Regards,

Sridhara.

Parents
  • Suggested Answer

    0  

    Hi Sridhara,

    There are no OOTB reports that can provide such information. You may use the following approach. 

    • In the InfrastructureElement CI type, there is an attribute credentials_id. For some CIs, like ntcmd, ssh, it holds the id of the credentials used for discovery. You can create a view by importing the TQL and View from the attached file. 
    • Run the report. It will show you a list of credential id and the nodes discovered by them.
    • You can use either the REST API /dataflowmanagement/credentials (GET) or JMX method exportCredentialsAndRangesInformation to find the credential name corresponding to the id. 

    Nodes discovered by credentials.zip

    Hope it helps.

    Thanks,

    Leslie

  • 0 in reply to   

    Hi Leslie,

    Thanks for providing xml file for query and view. When I saw preview of report I am getting just empty values as in below snap.

    Regards,

    Sridhara.

Reply Children