How to Run a Quick discovery from run script in workflow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-05-2019 09:39 PM
I'm trying to Take IP address as input from user in Service catalog and pass it into back end workflow to run a quick discovery.
- Labels:
-
Discovery
-
Service Mapping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-05-2019 11:42 PM
Hi Haviesh,
Have a look at the discovery API where you can trigger a discovery on an IP address:
Discovery API - Developer Portal
Regards,
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-04-2021 11:47 AM
Is there a way to mention the specific MID for running quick discovery from a script?
I am trying the below piece of code from a background script and it returns error.
var ip = "10.11.12.13";
var mid = '8dDDDDDDDDDDDDDDDDDDca96195a';
var statusId = new Discovery().discoveryFromIP(ip + '', mid + '', '');
ERROR:
*** Script: Invalid MID server sys_id 8dDDDDDDDDDDDDDDDDDDca96195a

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-06-2019 02:05 AM