HP Operations Manager for Windows

Parameter definition keywords


Use the keywords shown in the table as needed for your parameter definitions.
Keyword Definition Syntax
CAPTION A more descriptive text that appears on the windows to change the parameter value. CAPTION "<text>"
DEFAULT This keyword defines the default value for the parameter. It is required and must be defined by the policy developer. DEFAULT <default>
VALUE This keyword should not be used during parameter definition. It will be created automatically at the time a user changes a parameter value; it is necessary for the editor to know the changed value. If the changed value is available, the generated code will always contain this value and not the DEFAULT value. VALUE <value>
MIN, MAX these keywords are only valid for parameters of type INT or DOUBLE. If a user changes a numeric parameter for that a MIN or MAX value or both is defined, the editor does a checking whether the new value is within the defined range. MIN <value> MAX <value>
SESSION This keyword defines that the parameter value should also be saved in a session variable. For details, see the topic SESSION Parameters. SESSION "<session name>"

The complete syntax for a parameter is shown below:

#PARAMETER <name>STRING|INT|DOUBLE DEFAULT <value> [VALUE
<value>] [SESSION ["<session name>"]] [CAPTION "<caption string>"] [MIN
<numeric value>] [MAX <numeric value>]

The parameter definition must always start with #PARAMETER <name>. The other keywords can be in any order.

Example

#PARAMETER CriticalThreshold INT DEFAULT 95 SESSION "CritThres" MIN 0 MAX 100