Create pattern and schedule for standard serverless discovery
To find application CIs that reside on an unknown host, create an infrastructure pattern for standard serverless discovery. After creating the pattern, create a Discovery schedule that triggers the pattern.
Before you begin
Role required: cloud_admin, service_mapping_admin, or admin
About this task
In the pattern, you must specify input parameters to explore the CI.
Procedure
Navigate to All > Pattern Designer > Discovery Patterns.
Click New.
Specify an Infrastructure type pattern with the correct CI type that applies to the CIs you want to discover.
See Create or customize patterns for an explanation of all form fields.
Create an identification section and save the pattern.
Click the Input Parameters tab, and then click New.
Enter the parameters that are required to reach the serverless CIs.
For example, you could enter
urlto reach a remote resource via an HTTP request.Note: You specify the actual URL in a serverless discovery schedule.
Save the pattern.
Click the Basic tab, and then click the identification section name to open the pattern designer.
Create the steps you need to explore serverless CIs.
For example, create an Http Get Call operation to reach a remote resource through a URL. In this case, you would specify the
$urlparameter in the URL field.To test the pattern, click Debug Mode and fill in values for the input parameters.
You do not need to enter a value for Proxy Host. In the this example, we are connecting to a website that serves up an XML file. The XML file parsing method is already defined in the Http Get Call operation. To test the pattern operation, click Debug Mode, enter the URL, and click Connect.
After you connect and run the operation, the Output field displays the content.
Create a schedule for standard serverless Discovery
After you create a pattern for standard serverless discovery, create a Discovery schedule and specify the pattern. Discovery triggers the pattern from the schedule rather than from a classifier.
Before you begin
Ensure you have basic authentication credentials for HTTP calls in the pattern.
Role required: cloud_admin, service_mapping_admin, or admin
About this task
You can reuse this schedule to run the same pattern using different parameters.
Procedure
Navigate to All > Discovery > Schedules.
Click New.
Select Serverless in the Discovery field.
See Schedule a horizontal discovery for explanation of other fields.
Right-click the form header and select Save.
In the Serverless Execution Pattern related list, click New.
Fill out the form fields (see table):
Field Description Name Provide a descriptive name. Pattern Select the pattern you created for standard serverless discovery or for proxy host-based discovery. Proxy Host Leave this field empty. This field applies to the host proxy-based scenario. Active Keep this check box selected to use the pattern execution definition. Right-click the form header and select Save.
In the Discovery Pattern Launcher Parameters related list, add the parameters required by the pattern and provide a value for each one in the Value column.
Click Submit.
Define as many serverless execution pattern records as needed.
You can launch the same pattern, but they should have different parameters.
Execute discovery by clicking Discover Now or wait until the schedule triggers the discovery.
Result
Check the Discovery status to see the Discovery log, the devices list, which holds the discovered CIs, and the ECC queue records. Note that the Shazzam probe did not launch and Discovery did not trigger any classification probes.
Related topics