DEFINING THRESHOLD FORMULAS

Threshold Formula

The threshold formula uses Backus-Naur Form (BNF) as follows:

Threshold::=

SimpleExpression

 

ComplexExpression

 

<NULL>

-- Nothing

SimpleExpression::=Variable rel_op Value

Variable::=

"R"

-- Value of data

 

"H"

-- Changes in data per hour

 

"M"

-- Changes in data per minute

 

"S"

-- Changes in data per second

rel_op::=

">"

-- Greater than

 

"<"

-- Less than

 

">="

-- Greater than or Equal to

 

"<="

-- Less than or Equal to

 

"=="

-- Equal

 

"!="

-- Unequal

Value::=<INTEGER VALUE> -- Number represented in decimal digits, within the range of a 4-byte unsigned integer.

ComplexExpression::=

"(" SimpleExpression ")"

"(" ComplexExpression ")"

ComplexExpression logic_op ComplexExpression

logic_op::="AND""OR"

Threshold Formula Syntax

The threshold formula can be a simple or complex expression.

7-11

Page 95
Image 95
SMC Networks 6.20 manual Threshold Formula Syntax