ios-xr-grpc-python icon indicating copy to clipboard operation
ios-xr-grpc-python copied to clipboard

telemetry_collector.py

Open mohsin106 opened this issue 6 years ago • 1 comments
trafficstars

hi,

i'm trying to use your telemetry_collector.py and was wondering if you can help me understand how i would put the path inside the script to collect sensor data?

the current sensors that are enabled on my NCS are:

sensor-path Cisco-IOS-XR-shellutil-oper:system-time

sensor-path Cisco-IOS-XR-wdsysmon-fd-oper:system-monitoring/cpu-utilization

sensor-path Cisco-IOS-XR-nto-misc-oper:memory-summary/nodes/node/summary

sensor-path Cisco-IOS-XR-infra-statsd-oper:infra-statistics/interfaces/interface/latest/data-rate

sensor-path Cisco-IOS-XR-infra-statsd-oper:infra-statistics/interfaces/interface/latest/generic-counters

sensor-path Cisco-IOS-XR-ipv4-bgp-oper:bgp/instances/instance/instance-active/default-vrf/neighbors/neighbor

mohsin106 avatar Apr 16 '19 18:04 mohsin106

Hi there,

So for streaming telemetry you will need to set up a subscription to enable the telemetry. And then replace the subscription_id variable in the script.

To learn how to set up subscriptions: https://xrdocs.io/telemetry/tutorials/

skkumaravel avatar Apr 19 '19 15:04 skkumaravel