DX NetOps

 View Only
  • 1.  API Call to rediscover device in CA PM

    Posted Mar 29, 2018 05:30 PM

    Hi All,

     

    I've noticed that the devices don't rediscover automagically if they are not in a discovery profile (we use Spectrum sync). I am able to pick up changes to devices using Spectrum API and want to know if there is a way to rediscover a device via API call (similar to the Spectrum action codes?).

     

    Many Thanks,


    Frank



  • 2.  Re: API Call to rediscover device in CA PM
    Best Answer

    Broadcom Employee
    Posted Apr 02, 2018 11:39 AM

    Hello Frank,

     

    Ideally there is a Discovery Profile scheduled to run on a regular basis that contains IPs for managed devices. That is the best way to keep things up to date, alongside the automatic Change Detection updates the Metric Families in the Monitoring Profiles go through.

     

    REST can also be used to create, update and launch Discovery Profiles.

     

    This section of the documentation appears to provide instruction for the very task you're looking to accomplish.

     

    Automate Device Inventory Synchronization - CA Performance Management - 3.5 - CA Technologies Documentation 

     

    If you want to look directly at the REST pages a good place to start would be these URLs.

     

    (replace DA_HostName with your DAs host name or IP address)

     

    http://DA_HostName:8581/rest

     

    Which leads to three different REST documentation pages for Discovery functions.

     

    http://DA_HostName:8581/rest/discoverydefaultconfig/documentation 

    http://DA_HostName:8581/rest/discoveryinstances/documentation 

    http://DA_HostName:8581/rest/discoveryprofiles/documentation 

     

    Hope that helps!

     

    Thanks,

    Michael



  • 3.  Re: API Call to rediscover device in CA PM

    Posted Apr 02, 2018 06:55 PM

    Thanks Michael,

     

    I'll have a look at those docs.

    Thanks for the Help!


    Regards,


    Frank



  • 4.  Re: API Call to rediscover device in CA PM

    Posted Apr 12, 2018 11:58 AM

    if resolved, can you mark Michael's answer as 'correct' , thanks much Frank!