Check details of file structure, setup, or parameters and values inside specific files on a host before using this information in step operations.

Before you begin

Basic knowledge of programming is desirable.

  1. Navigate to Pattern Designer > Discovery Patterns.
  2. Select a pattern from the Discovery Patterns list.
  3. Select an identification or connection section.

    Populated variables in the Debug mode
  4. Switch to the debug mode as described in Activate pattern Debug mode.

Role required: pd_admin

About this task

Part of creating or modifying patterns is defining step operations that use information about the host on which they run. You can verify that the information you are going to use in operations is correct, by exploring hosts.

You can explore both remote hosts and MID Servers.

Procedure

  1. Click Command Prompt next to the Debug Mode button.
    The Command Prompt window opens.
  2. Enter the command.
    To make the platform apply applicative credentials while executing this command, use placeholders for credentials using the following syntax:
    • $$username$$ - for the user name
    • $$password$$ - for the password

    For example, a parsing command for a Microsoft SQL Server uses credential placeholders:

    "su - " + $userid + " -c '" + $ExecutableDir + "mysql --user=" + "$$username$$" + " --password=" + "$$password$$"

  3. (Optional) Click Advanced Details.
  4. (Optional) Specify the command and parameters:
    Field Description
    Execute Mode Select the relevant option of running this command:
    • Default (Remote) - on a remote device
    • Local Script - on the MID Server
    • Windows Service - on a remote Windows server
    CI Type If necessary, select the CI type whose credentials the platform applies while running the command.
    Host Enter the management IP address of the host on which to run the command. You can also leave this value empty.
  5. Click Run Command.
    The result is displayed in the Output pane.
  6. Click Close when finished checking the result.