StartDiscovery - Global

Starts discovery jobs.

Use this API during the discovery scanning phase.

StartDiscovery - addAdditionalIP(String status, String ip, String sensor)

Adds an IP (or comma-separated list of IPs) to an existing discovery (used by networks discovery).

Table 1. Parameters
Name Type Description
status String The discovery status
ip String An IP address, or a comma-separated list of IP addresses.
sensor String The discovery sensor
Table 2. Returns
Type Description
void


    

StartDiscovery - discoverFromSchedule(String ip, Boolean samePhase, String sensor)

Handles discovery of devices (whether basic or advanced) from a schedule.

Table 3. Parameters
Name Type Description
ip String An IP address, or a comma-separated list of IP addresses.
samePhase Boolean
sensor String The discovery sensor
Table 4. Returns
Type Description
void


    

StartDiscovery - getCancelScript()

Gets the cancel script.

Table 5. Parameters
Name Type Description
None
Table 6. Returns
Type Description
String The cancel script


    

StartDiscovery - scheduleCancelJob()

If the schedule specifies a cancel time, schedules a job to cancel if necessary.

Table 7. Parameters
Name Type Description
None
Table 8. Returns
Type Description
void


    

StartDiscovery - startFromSchedule(GlideRecord schedule, GlideRecord job)

Invoked by the discovery script include to kick off a scheduled (or discover now) discovery.

Table 9. Parameters
Name Type Description
schedule GlideRecord The instance of discovery_schedule that this discovery is based on.
job GlideRecord The instance of sys_trigger that triggered this discovery.
Table 10. Returns
Type Description
void


    

StartDiscovery - startFromIP(DiscoverySchedule schedule, String ip)

Starts a discovery for a single IP using the specified schedule to get information such as MID servers and behaviors.

Table 11. Parameters
Name Type Description
schedule DiscoverySchedule A DiscoverySchedule instance for the schedule to use.
ip String The IP address to discover in a dot-formatted string.
Table 12. Returns
Type Description
String The sys_id of the status record created.