50 WEB Interface
CP560 DVB-T2 Gateway User’s Manual Rev. 2.2 (3686) ID: um_t2gateway
Table 8.1 Legal field values to use in expressions
Field name Extracts from event: Type Sample expression
id Alarm ID Number id = 169
text Alarm text Text text = ’Defective fan’
type_num Type number Number type_num = 13
type_text Type text Text type_text = ’port’
sev Severity (number 2-6) Number sev = 6
details Alarm details (text) Text details = ’PID 113’
subid1 Alarm subid1 value Number subid1 = 1
subid2 Alarm subid2 value Number subid2 = 2
subid3 Alarm subid3 value Number subid3 = 1190
port Synonym for subid2 Number port = 2
service Synonym for subid3 Number service = 102
pid Synonym for subid3 Number pid = 2000
In the expressions you may enter parentheses to group sub-expressions together. Together with
the supported list of operators this gives great flexibility in constructing advanced “match”
patterns.
Table 8.2 summarises the operator types you are allowed to use. Please note that the examples
below are used for illustration purposes only. For example, the plus and minus operators may
not be very useful in practise, but they are included in this table for completeness.
Table 8.2 Legal operators to use in expressions
Operator Description Sample
= Equal id = 169
!= Not equal id != 169
AND Logical AND id = 169 AND port = 2
OR Logical OR id = 169 OR id = 200
IN Set operator. Returns true if left-hand part is included in set to the right. id IN (169,200,201)
+ Addition id + 9 = 169
- Subtraction id - 8 = 160
* Multiply id * 10 = 100
/ Divide id / 20 = 8
> Greater than id > 100
< Less than id < 90
>= Greater than or equal id >= 100
<= Less than or equal id <= 100
Some examples are given in Table 8.3.