SMC Networks 6.20 Switch User Manual


 
D
EFINING
T
HRESHOLD
F
ORMULAS
7-11
Threshold Formula
The threshold formula uses Backus-Naur Form (BNF) as follows:
Threshold::= SimpleExpression|
ComplexExpression|
<NULL> -- Nothin
g
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.