Command Validation Tasks form for pattern-based discovery
Summarize
Summary of Command Validation Tasks form for pattern-based discovery
The Command Validation Tasks form is essential for creating or modifying tasks to test pattern commands in ServiceNow's pattern-based discovery. It allows users to validate commands to ensure successful execution during the discovery process.
Show less
Key Features
- Task Number: Automatically generated by the system.
- MID Server Selection Method: Options include:
- Specific MID Server: Manually define a MID Server for the test.
- Automatic MID Selection: Use a MID Server assigned to the relevant IP range or network.
- Try All Eligible MID Servers: Utilize any available MID Server in the specified range.
- MID Server: This field appears when a Specific MID Server is selected.
- Validate All Pattern Commands: A checkbox to validate all commands of a pattern simultaneously.
- OS Class: Defines the CI class for the servers running the validation task.
- Command Type: Specifies the type of command, including Shell Command, WMI Query, SNMP Query, SNMP Walk, and HTTP GET, and is available only when not validating all commands.
- IP Addresses: Input for IP v4 addresses, ranges, or networks, requiring the ParseIPRanges script include for proper use.
- Commands: Specifies the individual commands for testing, available only when not validating all commands.
- Pattern: Identifies the specific pattern for command validation, also available only when not validating all commands.
Key Outcomes
By utilizing the Command Validation Tasks form, ServiceNow customers can efficiently test and validate command execution within their discovery patterns. This ensures smoother operations and enhances the reliability of the discovery process, ultimately leading to better management of IT resources.
Command Validation Tasks form displays the fields that you must fill when you create or modify a task for testing a pattern command.
For more information about testing pattern commands, see Validate commands used in pattern-based discovery.
| Field | Description |
|---|---|
| Number | The task number is automatically created by the system. |
| MID Server Selection Method | Select the relevant method:
|
| MID Server | The MID Server name. This field appears only if Specific MID Server is selected from MID Server Selection Method. |
| Validate All Pattern Commands | The check box for validating all commands used by a specific pattern simultaneously. |
| OS Class | The CI class that represents the servers on which you run this validation task. |
| Command Type | The command type that depends on the kind of the server:
This field is available only when Validate Al Patterns Commands isn't selected. |
| IP Addresses | Any combination of IP v4 Addresses, IP Ranges, or IP networks. For example:
Note: To use IP range or IP network, ensure you have installed the ParseIPRanges script include. For more information, refer to KB1123625: Command Validation Tool. |
| Commands | The commands for which you want to test credentials. Typically, it's a command that discovery process failed to execute. For example, /api/v1/pods?limit=50 or sudo
dmidecode. You can select only commands from the list of available commands. This field is available only when Validate All Patterns Commands isn't selected. |
| Pattern | The name of the pattern for which you want to validate the commands. This field is available only when Validate All Patterns Commands isn't selected. |