-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtelemetry_config.j2
104 lines (94 loc) · 3.02 KB
/
telemetry_config.j2
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
92
93
94
95
96
97
98
99
100
101
102
103
104
#ensure protocols are running
netconf-yang
gnxi
gnxi server
! CPU
telemetry ietf subscription 3301
encoding encode-kvgpb
filter xpath /process-cpu-ios-xe-oper:cpu-usage/cpu-utilization/five-seconds
source-vrf Mgmt-vrf
source-address 10.0.0.15
stream yang-push
update-policy periodic 500
receiver ip address {{ telemetry_destination_ip }} 57500 protocol grpc-tcp
! Memory
telemetry ietf subscription 3302
encoding encode-kvgpb
filter xpath /oc-sys:system/memory/state
source-vrf Mgmt-vrf
source-address 10.0.0.15
stream yang-push
update-policy periodic 500
receiver ip address {{ telemetry_destination_ip }} 57500 protocol grpc-tcp
! IOS Version
telemetry ietf subscription 3303
encoding encode-kvgpb
filter xpath /ios:native/version
source-vrf Mgmt-vrf
source-address 10.0.0.15
stream yang-push
update-policy periodic 500
receiver ip address {{ telemetry_destination_ip }} 57500 protocol grpc-tcp
! System Up Time
no telemetry ietf subscription 3304
telemetry ietf subscription 3304
encoding encode-kvgpb
filter xpath /oc-sys:system/state
source-vrf Mgmt-vrf
source-address 10.0.0.15
stream yang-push
update-policy periodic 500
receiver ip address {{ telemetry_destination_ip }} 57500 protocol grpc-tcp
! PID
telemetry ietf subscription 3305
encoding encode-kvgpb
filter xpath /device-hardware-xe-oper:device-hardware-data/device-hardware
source-vrf Mgmt-vrf
source-address 10.0.0.15
stream yang-push
update-policy periodic 500
receiver ip address {{ telemetry_destination_ip }} 57500 protocol grpc-tcp
! Interface Counters
telemetry ietf subscription 3306
encoding encode-kvgpb
filter xpath /interfaces-ios-xe-oper:interfaces/interface/statistics
source-vrf Mgmt-vrf
source-address 10.0.0.15
stream yang-push
update-policy periodic 500
receiver ip address {{ telemetry_destination_ip }} 57500 protocol grpc-tcp
! Interface State
telemetry ietf subscription 3307
encoding encode-kvgpb
filter xpath /interfaces-ios-xe-oper:interfaces/interface/oper-status
source-vrf Mgmt-vrf
source-address 10.0.0.15
stream yang-push
update-policy periodic 500
receiver ip address {{ telemetry_destination_ip }} 57500 protocol grpc-tcp
! ARP
telemetry ietf subscription 3308
encoding encode-kvgpb
filter xpath /arp-ios-xe-oper:arp-data
source-vrf Mgmt-vrf
source-address 10.0.0.15
stream yang-push
update-policy periodic 500
receiver ip address {{ telemetry_destination_ip }} 57500 protocol grpc-tcp
! Routes
telemetry ietf subscription 3309
encoding encode-kvgpb
filter xpath /rt:routing-state/routing-instance[name="default"]/ribs/rib[name="ipv4-default"]/routes/route/destination-prefix
source-vrf Mgmt-vrf
source-address 10.0.0.15
stream yang-push
update-policy periodic 500
receiver ip address {{ telemetry_destination_ip }} 57500 protocol grpc-tcp
telemetry ietf subscription 3310
encoding encode-kvgpb
filter xpath /native/ios-sw:switch/ios-sw:provision
source-address 10.0.0.15
source-vrf Mgmt-vrf
stream yang-push
update-policy periodic 500
receiver ip address {{ telemetry_destination_ip }} 57500 protocol grpc-tcp