Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

telemetry_collector.py #23

Open
mohsin106 opened this issue Apr 16, 2019 · 1 comment
Open

telemetry_collector.py #23

mohsin106 opened this issue Apr 16, 2019 · 1 comment

Comments

@mohsin106
Copy link

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

@skkumaravel
Copy link
Contributor

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants