Skip to content

telemetry_collector.py #23

Open
Open
@mohsin106

Description

@mohsin106

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

Activity

skkumaravel

skkumaravel commented on Apr 19, 2019

@skkumaravel
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      telemetry_collector.py · Issue #23 · cisco-ie/ios-xr-grpc-python