Configuring by using PATROL Configuration Manager CLI


The PATROL Configuration Manager CLI processes a script file that contains commands regarding RuleSets.

To configure BMC PATROL Knowledge Module (KM) for IT Data Analytics by using the PATROL Configuration Manager RuleSets, you must set values for Agent configuration variables in an itdarulesets.cfg file. After you create this file, you can apply the configuration to the PATROL Agent by using the PATROL Configuration Manager CLI. For a list of configuration variables that you can include in the itdarulesets.cfg file, see PATROL-Agent-configuration-variables.

BMC PATROL KM for IT Data Analytics creates the itdarulesets.cfg file at the following location:

  • Windows: %PATROL_HOME%\bww\rulesets
  • UNIX: $PATROL_HOME/../bww/rulesets

When you apply RuleSets to the configured PATROL Agent, the PATROL Agent automatically configures all the accounts for which the RuleSets have been created.

Copy the itdarulesets.cfg file to any directory under the %BMC_ROOT%/pconfmgr/rulesets directory and use the following command to apply the RuleSets:

  • Windows: pcm.cmd -f scriptFileName;
  • UNIX: pcm.sh -f scriptFileName

The scriptFileName variable represents the script file that contains commands to be executed for applying RuleSets. For example, to apply RuleSets, enter the following command in the script file:

apply -a agentName RuleSetsFileName

The RuleSetFileName variable represents the name of the RuleSets file.

Note

In the preceding command:

  • Specify the path as relative to the RuleSets directory.
  • Do not add the extension while specifying the file name.

For more information about the commands and options that can be used in a script file, see the PATROL Configuration Manager User Guide at PDFs.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*