- 20 Apr 2024
- 3 Minutes to read
- Print
- PDF
Discovery Templates
- Updated on 20 Apr 2024
- 3 Minutes to read
- Print
- PDF
Discovery Templates are pre-designed frameworks or guidelines that streamline the process of uncovering and mapping the technology landscape within an organization.
These templates provide a structured approach to gathering critical information about various assets, configurations, and dependencies.
To leverage this provides a configurable Discovery Templates page where you can add commands based on the OS flavor.
User persona: Application Designer
Use Case User persona: | Solution |
Amy, the analyst uses Linux OS and Redhat Linux flavor. She has another machine that uses a different flavor of Linux and needs the privilege to add the required commands as per OS and the OS flavor. | Amy can use Discovery Template and configure it by copying all the pre-defined commands to a template from the existing template based on the OS flavor. She can add the required commands as per the OS flavor. |
Configure Discovery Template
To configure the Discovery Template , perform the following steps:
- Navigate to Configurations > Discovery > Discovery Template.
- On the Discovery Template page, Select New to create new templates.
Figure: Discovery template - Add the name of your template and select information for source and target.
Figure: Template - On the Template pop-up page, specify the required details. For more information about the fields on the Template pop page, see Field Description.
Field DescriptionField Description Template Name
Specify the name of Template for Discovery.Figure:
Checkicon to use the default template. If you uncheck Default, you can add details to create your own template.Source
Tenant Select the type of tenant from the drop-down list.
Figure: Tenant typeProtocol Select the type of protocol for the template.
Figure: ProtocolOS Platform Select the OS Platform for the template.
Figure: OS PlatformTemplate Select the predefined template from the drop-down list. Target Tenant Specify the tenant for the target. OS Flavor Select the OS Flavor for the target. - Click Next to add details to your template. The screenshot of the Details page appears as shown below.
Figure: Template Details
Figure: Parameter Details - Specify the Template details and Parameter details for the Discovery Template. Enable the toggle bar to make the template Active. Refer to the field description for more details.
Field DescriptionField Description Parameter Name
Specify the Parameter Name. Parameter Value Specify the value for the specified parameter. Parameter Type Select the type of parameter from the drop-down list that contains Hardware, Software, or Additional. Actions Click the Actions icon to specify or edit the content parser logic of a specific parameter. Note- Based on the content parser configuration, the output is displayed on the JOB DETAILS page.
- If the content parser is not configured for a parameter, the complete output gets displayed on the JOB DETAILS page.
- Under Actions, click the edit icon to view the Content Parser page. the pop-up screen appears as shown below.
Figure: Content Parser
The output of the discovered device value is displayed based on the configured Parameter Name, Parameter Value, and the Content Parser scenario. Refer to the Field Description for more details.
Field DescriptionField Description Content Type
Select the content type from the list:
- Line
- Free Form
Output Type Select the output type from the list:
- Single Value: Select the option if the output is a single line text.
- Multiple Value: Select the option if the output is multiple line text.
Preceding Text Specify the preceding text for the selected output type.
This field is displayed if the Content Type is selected as Free Form.Succeeding Text Specify the succeeding text for the selected output type.
This field is displayed if the Content Type is selected as Free Form.Occurrence Specify the occurrence of the specified preceding and succeeding text or Line delimiter and key delimiter. Delimiter The Key Delimiter is a character that separates the User-defined key and the other text in the output. Select the Key Delimiter from the list. By default, Colon option is selected. If you select Others, type in the character that has to be considered as a Key Delimiter in the text box.
The Line Delimiter is a character, which indicates the start of a new line for a character. The text in the output starts from a new line after the specified line delimiter. Select the line delimiter from the list. By default, New Line option is selected. If you select Others, type in the character that has to be considered as a line delimiter in the text box.
Parser Index Specify the value for the parser index. Defined Key
Specify a defined key for the output. This user defined key stores the value for the parsing details.
Not Contains Specify the text that should not be considered while parsing. Output Data Type
Select the output data type from the drop-down list.
Figure: Output data type
Starts With Specify the text with which the parsing should happen. Is Starts With
Select this checkbox to enable the content parser to consider the text specified in Starts With and Not Contains.
Final Output
Select the check box if the corresponding row of parsing output is the final output.
Is Trim
Check Is Trim icon to trim the contents of the text.
- Click Submit. The Discovery Template page with the specified parameter list is displayed.