forked from bdtbd/mdt
-
Notifications
You must be signed in to change notification settings - Fork 2
/
monitor-template.json
49 lines (49 loc) · 1.27 KB
/
monitor-template.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"db_name": "xxx",
"table_name": "xxx",
"rule_set": {
"result": {
"expression": {
"type": "json",
"expr": "",
"col_delim": "||",
"col_idx": -1
},
"record": [
{
"op": "==",
"type": "int64",
"key": 0,
"key_name": "errno"
}
]
},
"rule_list": [
{
"expression": {
"type": "regex",
"expr": "is_newmobile:([0-9]), is_newpassuid:([0-9])",
"col_delim": "||",
"col_idx": 5
},
"record": [
{
"op": "==",
"type": "int64",
"key": 0,
"key_name": "is_newmobile"
},
{
"op": "==",
"type": "int64",
"key": 0,
"key_name": "is_newpassuid"
}
]
}
]
},
"mail_list": [
{"owner": "xxx@xxx"}
]
}