Configuring by using the PATROL Configuration Manager CLI
The PATROL Configuration Manager CLI processes a script file that contains commands regarding RuleSets.
To perform configuration tasks such as configuring failover nodes or configuring an email notification setting in the PATROL for BMC ProactiveNet Self Monitoring product by using the PATROL Configuration Manager RuleSets, you must set values for Agent configuration variables in an pbprulesets.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 pbprulesets.cfg file, see PATROL-Agent-configuration-variables.
Store your pbprulesets.cfg file in any directory under the %PATROL_HOME%\...\pconfmgr\rulesets\Shipped\pbp directory, and use the following command to apply the RuleSets:
pcm.cmd -f scriptFileName
The scriptFileName variable represents the script file that contains commands to be executed for applying RuleSets. For example, to apply RuleSets, add the following command in the script file:
apply -a agentName RuleSetsFileName
The RuleSetFileName variable represents the name of the RuleSets file.
For more information about the commands and options that can be used in a script file, see the PATROL Configuration Manager User Guide at PATROL-Agent-configuration-variables.