This repository has been archived by the owner on Oct 5, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontroller.json
91 lines (89 loc) · 5.09 KB
/
controller.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"controllerset":
[{
"controllername_id":"Saturation MPLS Roma-Malta",
"probeset":[{
"probename_id":"mplsin",
"sql": "select ((ifInOctets_rate * 8)/1000000) from `ports-state` where port_id='46220';",
"sqlengine" : "mysql1",
"probefile": ""
},{
"probename_id":"mplsout",
"sql": "select ((ifOutOctets_rate * 8)/1000000) from `ports-state` where port_id='46220';",
"sqlengine" : "mysql1",
"probefile": ""
}],
"condition":"select (mplsin <= 8) or (mplsout >= 8)",
"expected_value":"False",
"ifsatisfied_action": "/RRC/scripts/ping_test.sh,www.cisco.com",
"ifnotsatisfied_action": "/RRC/scripts/ping_test.sh,www.cisco.com",
"repeat_ifsatisfied_action":"once",
"repeat_ifnotsatisfied_action":"ever",
"rearm_after": 2,
"rearm_action": "/RRC/scripts/ping_test.sh,www.cisco.com"
},{
"controllername_id":"Saturation Colt-Roma",
"probeset":[{
"probename_id":"coltin",
"sql": "select ((ifInOctets_rate * 8)/1000000) from `ports-state` where port_id='46235';",
"sqlengine" : "mysql1",
"probefile": ""
},{
"probename_id":"coltout",
"sql": "select ((ifOutOctets_rate * 8)/1000000) from `ports-state` where port_id='46235';",
"sqlengine" : "mysql1",
"probefile": ""
}],
"condition":"select (coltin >= 18) or (coltout >= 18)",
"expected_value":"False",
"ifsatisfied_action": "",
"ifnotsatisfied_action": "/RRC/scripts/ping_test.sh,www.cisco.com",
"repeat_ifsatisfied_action":"",
"repeat_ifnotsatisfied_action":"once",
"rearm_after": 0,
"rearm_action": ""
},{
"controllername_id":"Saturation Fastweb-Roma",
"probeset":[{
"probename_id":"fastwebin",
"sql": "select ((ifInOctets_rate * 8)/1000000) from `ports-state` where port_id='46212';",
"sqlengine" : "mysql1",
"probefile": ""
},{
"probename_id":"fastwebout",
"sql": "select ((ifOutOctets_rate * 8)/1000000) from `ports-state` where port_id='46212';",
"sqlengine" : "mysql1",
"probefile": ""
}],
"condition":"select (fastwebin >= 18) or (fastwebout >= 18)",
"expected_value":"False",
"ifsatisfied_action": "",
"ifnotsatisfied_action": "",
"repeat_ifsatisfied_action":"",
"repeat_ifnotsatisfied_action":"",
"rearm_after": 0,
"rearm_action": ""
},{
"controllername_id":"Saturation GO-Malta",
"probeset":[{
"probename_id":"GOin",
"sql": "select ((ifInOctets_rate * 8)/1000000) from `ports-state` where port_id='2141';",
"sqlengine" : "mysql1",
"probefile": ""
},{
"probename_id":"Goout",
"sql": "select ((ifOutOctets_rate * 8)/1000000) from `ports-state` where port_id='2141';",
"sqlengine" : "mysql1",
"probefile": ""
}],
"condition":"select (GOin >= 12) or (Goout >= 12)",
"expected_value":"False",
"ifsatisfied_action": "",
"ifnotsatisfied_action": "",
"repeat_ifsatisfied_action":"",
"repeat_ifnotsatisfied_action":"",
"rearm_after": 0,
"rearm_action": ""
}
]
}