-
Notifications
You must be signed in to change notification settings - Fork 0
/
gnmic.yaml
46 lines (40 loc) · 1004 Bytes
/
gnmic.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
username: admin
password: admin
skip-verify: true
encoding: json_ietf
log: true
api-server:
enable-metrics: true
address: :7890
debug: true
loader:
type: file
# path to the file
path: ./app/targets-config.yaml
# watch interval at which the file
# is read again to determine if a target was added or deleted.
interval: 30s
# if true, registers fileLoader prometheus metrics with the provided
# prometheus registry
enable-metrics: false
subscriptions:
# Add subscriptions configuration here
# e.g:
sub1:
paths:
- /interfaces/interface/state/counters
- /network-instances/network-instance/protocols/protocol/bgp
- eos_native:/Kernel/proc/meminfo
sample-interval: 10s
# clustering config
clustering:
cluster-name: cluster
targets-watch-timer: 30s
locker:
type: consul
address: clab-cluster-consul-agent:8500
outputs:
simple-prom:
type: prometheus
service-registration:
address: clab-cluster-consul-agent:8500