Information
Note BMC PATROL for Microsoft Cluster Server 1.9 is not the latest version. The latest version is merged with the BMC PATROL for Microsoft Windows Servers 5.0 KM as a component. To continue using it, import the BMC PATROL for Microsoft Windows Servers 5.0. For more information, see BMC PATROL for Microsoft Windows Servers 5.0.

Manually creating or changing configuration variables


Although not recommended, you can also use the PATROL Configuration Manager, instead of the PATROL console, to directly update the agent configuration database by manually entering rules or changing existing rules. However, you must be careful to avoid typos and you must use the following syntax guidelines. For more information, see the examples in the following sections, which show how to manually configure several PATROL KM for Microsoft Windows OS features.

Error
Warning

When creating rules manually within PATROL Configuration Manager, you must follow the syntax guidelines discussed here and avoid typos. Failure to do so could result in unpredictable behavior.

Syntax guidelines

When manually creating rules, you must substitute special codes for certain characters when those characters are part of a configuration variable name or value. These characters are used for specific purposes within pconfig. For example, the comma is used to separate values. For more information, see the following table.The [confluence_table-plus] macro is a standalone macro and it cannot be used inline.

Using the child_list variable

When manually creating rules, you may need to include the child_list variable. The child_list variable specifies the configuration variables that apply to the configured object. In the pconfig hierarchy, the child_list variable is placed one level higher up than the configuration variables that it references. For example, as shown in the following figure, the child_list variable in the Example folder lists the configuration variables beneath it in the hierarchy. Thus, in the following figure, the child_list variable has the following value:

child_list = " SourceList,EventIdList,UserList,StringList"

If you are unsure how or when to use the child_list variable, use a PATROL console to configure monitoring and then examine the child_list rules that are created.

Using the child_list and variable_list variables

using the child_list.png

Using the variable_list variable

When manually creating rules, you may also need to include the variable_list variable. The variable_list variable lists the variables that are associated with the configured object. In the pconfig hierarchy, the variable_list variable is placed at the same level as the variables that is references. For example, in the following figure, the variable_list variable has the following value:

variable_list = " FilterEnabled,FilterDescription,EventType,Annotation,EventReport, RetainEventDescriptions,Scheduling,

AcknowledgeBy,ConsolidationNumber,ConsolidationTime,ConsolidateEventTypes,IncludeAllSources,

IncludeAllEventIds,IncludeAllUsers,IncludeAllCategories,IncludeAllStrings,CreateInstance"

If you are unsure how or when to use the variable_list variable, use a PATROL console to configure monitoring and then examine the variable_list rules that are created.

Adding a rule in PCM

When manually adding rules within PATROL Configuration Manager, follow this general procedure.

  1. Right-click the folder where you want to add the rule and select New > Ruleset.
     A new ruleset is created called NewRuleSet.
  2. Rename the ruleset.
  3. Right-click the new ruleset and select New Rule.
  4. From the Ruleset dialog, enter the ruleset, operation, and variable. For more information about what to enter, see the examples that follow.

Updating parameter thresholds or poll times: example

Assume that you want to change the alarm thresholds for any instance of the parameter NT_CPU/CPUprcrProcessorTimePercent to the following values:

  • Alarm Range 1: 80--85
  • Alarm Range 2: 85--100

To manually create this configuration, you would create the rules shown in the following table.

Warning

Note

When you change parameter thresholds through the PATROL Configuration Manager or through PATROL KM for Event Management, the changes are stored externally in the pconfig database, not in the KM. To change parameter thresholds or poll times in this manner, you must have the PATROL KM for Event Management loaded on the PATROL Agent. For more information about loading KMs, see Loading the PATROL for Microsoft Windows Servers KMs.

For more information about the this rule, see the detailed description in the following table.The [confluence_table-plus] macro is a standalone macro and it cannot be used inline.
The following table provides a detailed description of the THRESHOLDS configuration rule.

Understanding the THRESHOLDS rule

Item

Description

/AS/EVENTSPRING

Variable folder

/PARAM_SETTINGS

Variable folder

/THRESHOLDS

Variable folder

/NT_CPU

Application class

/_ANYINST_

A variable that indicates any instance of the application class. You could also specify a specific instance instead.

CPUprcrProcessorTimePercent

Parameter name

1

Indicates that the parameter is active

Border settings

0

Indicates that the border range is inactive

0

The border begin range

0

The border end range

0

Specifies when to trigger alarm; 0 means immediately on the first occurrence

0

If the trigger value is non zero, this value specifies the number of occurrences before triggering an alarm

0

Specifies that the state is OK

Alarm1 settings

1

Indicates that the Alarm 1 alarm is active

80

The Alarm 1 begin range

85

The Alarm 1 end range

0

Specifies when to trigger alarm; 0 means immediately on the first occurrence

0

If the trigger value is non zero, this value specifies the number of occurrences before triggering an alarm

1

Specifies that the state is WARN

Alarm 2 settings

1

Indicates that the Alarm 2 alarm is active

85

The Alarm 2 begin range

100

The Alarm 2 end range

0

Specifies when to trigger alarm; 0 means immediately on the first occurrence

0

If the trigger value is non zero, this value specifies the number of occurrences before triggering an alarm

2

Specifies that the state is ALARM

Inactivating or deactivating a parameter: example

Assume that you want to deactivate any instance of the parameter NT_LOGICAL_DISKS/LDldFreeSpacePercent.

To manually create this configuration, you would create the rules shown in the following table:The [confluence_table-plus] macro is a standalone macro and it cannot be used inline.

 

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

BMC PATROL for Microsoft Cluster Server 1.9