This repository has been archived by the owner on Oct 28, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 32
/
config.yaml
80 lines (77 loc) · 1.41 KB
/
config.yaml
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
username: admin
password: sros
port: 57400
timeout: 5s
skip-verify: true
tls-key: /path/to/client.key
tls-cert: /path/to/client.crt
tls-ca: /path/to/ca.crt
targets:
172.17.0.100:
timeout: 2s
subscriptions:
- sub1
outputs:
- output1
- output3
172.17.0.101:
username: sros
password: sros
insecure: true
subscriptions:
- sub2
outputs:
- output2
- output3
172.17.0.102:57000:
password: sros123
tls-key: /path/file1
tls-cert: /path/file2
172.17.0.103:
subscriptions:
sub1:
paths:
- /configure/port[port-id=*]
- /state/port[port-id=*]
stream-mode: on_change # target-defined # sample
sub2:
paths:
- /configure/port[port-id=*]/statistics
stream-mode: sample
sample-interval: 10s
outputs:
output1:
type: file
file-type: stdout
output2:
type: file
filename: local.log
output3:
type: nats
address: localhost:4222
subject-prefix: telemetry
username:
password:
output4:
type: stan
address: localhost:4223
subject: telemetry
username:
password:
name:
cluster-name: test-cluster
timeout:
ping-interval:
ping-retry:
output5:
type: kafka
address: localhost:9092
topic: telemetry
max-retry:
timeout:
output6:
type: nats
address: localhost:4222
subject-prefix: telemetry
username:
password: