Configuring by using the PATROL Configuration Manager CLI


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

To perform BMC PATROL for Converged Infrastructure Monitoring configuration by using the PATROL Configuration Manager RuleSets, you must set values for Agent configuration variables in an pllrulesets.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 pllrulesets.cfg file, see PATROL-Agent-configuration-variables.

Store your pllrulesets.cfg file in 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 include the extension when 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  Related-products-and-documentation and  PATROL-Agent-configuration-variables.

 

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