Parse command output

Use the Parse command output operation to extract information from the command output to be placed in a variable table.

Procedure

  1. Select Parse command output from the Operation list in one of the following locations:
    • the Identification Sections or Connectivity Sections for Service Mapping
    • the Step window for Discovery

    Defining the parse command output operation
  2. Specify the command. You can concatenate multiple commands.
    Important: Avoid entering a specific path to a location or file because it can be different on different operating systems. It is recommended to use variables for paths.
    You can use variables. You can also enter a value from the specific field in a tabular variable as described in Useful shortcuts in Pattern Designer.
  3. Fill in the fields, as appropriate.
    Field Description
    Parsing strategy To change from the default, select a parsing strategy from the list. The parsing strategy is independent of the parse operation. See Parsing strategies.
    Quick find To find content quickly within a text box, specify the search text.
  4. To change the execution mode or credentials, click Advanced and fill in the fields, as appropriate.
    Field Description
    Execution mode Select the mode from the list. The mode determines how communication with the remote system is invoked.
    CI Type Select the CI type from the list.

    To insert variables for the credentials ($$username$$, $$password$$):

    1. Position the cursor in the appropriate location in the Command field.
    2. Click the plus icon.
    Alternately, you can add the variables manually.
    Host Specify the host.
  5. Click Run Command.

Example

The following configuration is an example of the Parse command output operation.
Field Value
Hierarchy Business Integration Software
CI Type IBM WebSphere MQ WebSphere EAR
Pattern WMQ On Unix Pattern
Section Identification for WMB_DEB entry point type
Step number and Name 5. Handle default q manager case