gnmi-telemetry

Query, subscribe, and configure network devices via gNMI streaming telemetry with YANG paths.

650|182|Updated Feb 19, 2026
One-click install
npx skills add https://github.com/automateyournetwork/netclaw --skill gnmi-telemetry
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gnmi-telemetry
Source: https://github.com/automateyournetwork/netclaw/tree/main/workspace/skills/gnmi-telemetry
Command: npx skills add https://github.com/automateyournetwork/netclaw --skill gnmi-telemetry

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Network engineers need structured, real-time visibility into multi-vendor device state without screen-scraping CLI output, and configuration changes must follow ITSM change-control processes. This Skill provides gNMI-based state queries, streaming telemetry subscriptions, and gated configuration changes across Cisco, Juniper, Arista, and Nokia devices.

Core Features & Use Cases

  • Structured State Queries: Retrieve device state and configuration via gNMI Get using YANG model paths, with capability discovery and YANG path browsing.
  • Real-Time Telemetry Subscriptions: Create SAMPLE or ON_CHANGE subscriptions, poll updates, and manage up to 50 concurrent streams.
  • ITSM-Gated Changes: Apply configuration via gNMI Set only with a ServiceNow Change Request in Implement state, with all operations logged to the GAIT audit trail.
  • Use Case: Subscribe to interface counters on a switch every 30 seconds to monitor utilization, then validate the gNMI data against CLI output using the built-in comparison tool.

Quick Start

Ask the agent to show the interface status on a specific router using gNMI, or to set up a SAMPLE telemetry subscription for interface counters every 30 seconds.

Frequently Asked Questions about gnmi-telemetry

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I subscribe to gNMI telemetry on a network device?

Use gnmi_subscribe to create a SAMPLE or ON_CHANGE subscription against a configured target, then poll updates with gnmi_get_subscription_updates. Cancel the stream with gnmi_unsubscribe when monitoring is complete.

How to query device state using gNMI YANG paths?

Run gnmi_list_targets to find devices, gnmi_capabilities to discover supported YANG models, and gnmi_browse_yang_paths to explore the path tree. Then call gnmi_get with the desired YANG path to retrieve structured state data.

Which network vendors support gNMI telemetry?

This Skill supports Cisco IOS-XR on port 57400, Juniper on port 32767, Arista on port 6030, and Nokia SR OS on port 57400. All use JSON or JSON_IETF encoding over TLS-secured connections.

Does gNMI Set require change management approval?

Yes, gnmi_set is ITSM-gated and requires a ServiceNow Change Request in the Implement state before any configuration change is applied. Read operations like Get, Subscribe, and Capabilities have no such restriction.

What are the limits on concurrent gNMI subscriptions?

The Skill supports a maximum of 50 concurrent telemetry subscriptions by default. This limit is configurable through the GNMI_MAX_SUBSCRIPTIONS environment variable.

Why does my gNMI connection fail to a target device?

Connections fail when TLS certificates are missing or the target is not defined in the GNMI_TARGETS environment variable. Verify the CA certificate in GNMI_TLS_CA_CERT and confirm the device entry includes correct host, port, and credentials.