Administer > Monitoring > Policy Templates > Review the policy syntax

Review the policy syntax

You can configure policies by editing their syntax. The following section provides information about the policy syntax for specific policy types. For information about the default policy types that are included in this definition, see Policy types.

A policy templates consists of three parts. Each part is reflected as a separate file in the file system:

  • <versionID>_header.xml: the policy header, containing general information like the policy template name, version, type, required instrumentation, categories, and the supported operating systems.
  • <versionID>_data: the crucial part of a policy, containing log file patterns, SNMP trap match conditions, and monitoring thresholds.
  • <versionID>_params.xml: the customizable list of parameters a policy exposes. If you regard a policy as a black box, the parameters are the screws to fine-tune it.

You can edit all three parts of a policy template.

Caution HPE does not recommend writing your own policy based on this syntax information. You should review the syntax when looking up how a default policy works, or use the syntax if you want to edit an existing policy.