-
Notifications
You must be signed in to change notification settings - Fork 0
/
monitor-config.yml
90 lines (85 loc) · 1.84 KB
/
monitor-config.yml
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
# Spletne strani
endpoints:
- name: Urnik
url: https://urnik.fri.uni-lj.si
method: GET
timeout: 1
expectation:
- type: HTTP_STATUS
status_range: 200-205
- type: LATENCY
threshold: 0.3
allowed_fails: 1
component_id: 1
metric_id: 1
action:
- UPDATE_STATUS
- PUSH_METRICS
public_incidents: true
latency_unit: ms
frequency: 5
- name: Učilnica
url: https://ucilnica.fri.uni-lj.si
method: GET
timeout: 1
expectation:
- type: HTTP_STATUS
status_range: 200-205
- type: LATENCY
threshold: 0.3
allowed_fails: 1
component_id: 2
metric_id: 2
action:
- UPDATE_STATUS
- PUSH_METRICS
public_incidents: true
latency_unit: ms
frequency: 5
- name: STUDIS
url: https://studij.fri.uni-lj.si
method: GET
timeout: 1
expectation:
- type: HTTP_STATUS
status_range: 200-205
- type: LATENCY
threshold: 0.3
allowed_fails: 1
component_id: 3
metric_id: 3
action:
- UPDATE_STATUS
- PUSH_METRICS
public_incidents: true
latency_unit: ms
frequency: 5
- name: Failed
url: https://studij1.fri.uni-lj.si
method: GET
timeout: 1
expectation:
- type: HTTP_STATUS
status_range: 200-205
- type: LATENCY
threshold: 0.3
allowed_fails: 1
component_id: 4
metric_id: 4
action:
- UPDATE_STATUS
- PUSH_METRICS
public_incidents: true
latency_unit: ms
frequency: 5
cachet:
api_url:
- type: ENVIRONMENT_VARIABLE
value: CACHET_API
token:
- type: ENVIRONMENT_VARIABLE
value: CACHET_TOKEN
messages:
incident_outage: "{name} ni več dosegljiv"
incident_operational: "{name} deluje pravilno"
incident_performance: "{name} ima poslabšano učinkovitost"