SevOne

SevOne

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

How to force discovery through API?

  • 1.  How to force discovery through API?

    Posted Tue June 04, 2024 10:02 AM

    I am trying to force discovery through API for 2000 devices, how do i do that? Also is there is a API GET in SevOne?



    ------------------------------
    Narendra Pavuluri
    ------------------------------


  • 2.  RE: How to force discovery through API?

    Posted Wed June 05, 2024 01:49 AM

    Hello Narendra,

    You may use the API endpoint

    https://<NMS ip>/api/docs/index.html#!/Discovery/runDiscoverDevice

    Entire API v2 swagger - > https://<NMS ip>/api/docs/index.html#/

    Regards,

    Ankit



    ------------------------------
    Ankit Kumar
    ------------------------------



  • 3.  RE: How to force discovery through API?

    Posted Wed June 05, 2024 08:14 AM

    Thanks



    ------------------------------
    Narendra Pavuluri
    ------------------------------



  • 4.  RE: How to force discovery through API?

    Posted Wed June 05, 2024 09:33 AM

    This is the only URL that works, but i dont find runDiscoverDevice

    https://<NMS ip>/api/v3/docs#!/

    I am getting 404 error for the below url... I replaced the NMS IP with my hostname..

    https://<NMS ip>/api/docs/index.html#!/Discovery/runDiscoverDevice

    Error

    These are not the UIs you're looking for.

    If you believe you received this message in error, please contact SevOne Support.

    Then i updated the URL to point it to v2

    https://<NMS ip>/api/v2/docs/index.html#!/Discovery/runDiscoverDevice

    {"title":"Unauthorized","status":401}


    ------------------------------
    Narendra Pavuluri
    ------------------------------



  • 5.  RE: How to force discovery through API?

    Posted Wed June 05, 2024 02:04 PM

    Please try this URL  <NMS ip>/api/v2docs//Discovery/runDiscoverDevice



    ------------------------------
    Ankit Kumar
    ------------------------------



  • 6.  RE: How to force discovery through API?

    Posted Wed June 05, 2024 03:07 PM

    I am already logged into NMS.. Still the API is throwing 401



    ------------------------------
    Narendra Pavuluri
    ------------------------------



  • 7.  RE: How to force discovery through API?

    Posted Wed June 05, 2024 10:11 PM
    Please share me your contact details via DM and I will contact you






  • 8.  RE: How to force discovery through API?

    Posted Thu June 06, 2024 08:23 AM

    How to do DM?



    ------------------------------
    Narendra Pavuluri
    ------------------------------



  • 9.  RE: How to force discovery through API?

    Posted Thu June 06, 2024 08:31 AM

    I think i just did DM. Could you please confirm it?



    ------------------------------
    Narendra
    ------------------------------



  • 10.  RE: How to force discovery through API?

    Posted Fri June 07, 2024 07:02 AM

    Yes, received your DM. I have responded to you over DM.



    ------------------------------
    Ankit Kumar
    ------------------------------



  • 11.  RE: How to force discovery through API?

    Posted Fri June 07, 2024 09:00 AM

    Here is my setup/./ I am running with version 3 only



    ------------------------------
    Narendra
    ------------------------------



  • 12.  RE: How to force discovery through API?

    Posted Mon June 10, 2024 03:32 AM

    Hello Narendra,

    Please raise a support ticket with SevOne.

    Regards,

    Ankit



    ------------------------------
    Ankit Kumar
    ------------------------------