Handler

The handler element evaluates the expression or conditions for the alert. An expression can be active or disabled. Each expression (evaluation) is defined using valid operators which are defined as: lesser, lesser_equal, equal, greater_equal, greater and lesser_greater. There can be more than one expression in this section.

logic attribute

logic is an attribute of the handler element. The logic attribute defines how Web Monitor evaluates the expressions:

source element

The source element is a child of the handler element. In the expression evaluation, source defines the name of the statistics group defined in the acquire section.

target element

The target element is a child element of the handler element. The target points to the constant which the expression is evaluated.

Example

The XML below evaluates the following:

RecordCont <= 10000
RecordCount >= 30000

If any one of these conditions are satisfied, an alert is generated.

 <handler logic="OR"> 
    <eval active="True"> 
        <source>RC</source> 
        <operand>lesser_equal</operand> 
        <target>RCMin</target> 
    </eval> 
    <eval active="True"> 
        <source>RC</source> 
        <operand>greater_equal</operand> 
        <target>RCMax</target> 
    </eval> 
</handler>