Streaming Telemetry Dial-In Mode
Overview
Dial-in mode in streaming telemetry enables collectors to initiate connections with OcNOS routers to receive operational data of interest. In this mode, the collector sends a Subscribe Remote Procedure Call (RPC) request to the gNMI server (OcNOS target device), specifying the data paths to monitor. The server then streams the requested telemetry data to the collector, facilitating proactive network monitoring and troubleshooting.
Feature Characteristics
The gNMI-based Dial-in mode telemetry for the management plane supports three types of telemetry subscriptions: Poll, Once, and Stream.
The gNMI-based collector connects to the OcNOS target device and invokes the Subscribe RPC, specifying the set of path(s) of interest. Two key components are involved in this process:
| • | gNMI Server (OcNOS Target): The gNMI server operates within the OcNOS device, serving as the source of telemetry data. It supports the gNMI protocol, allowing gNMI-based clients (collectors) to request and receive streaming data. The server streams the requested data to the client according to the specified parameters. |
| • | gNMI Client (Collector): The gNMI client, also known as the collector, runs outside the OcNOS target device and is responsible for receiving and gathering telemetry data. In this context, it is the entity that connects to the OcNOS target device to collect data using the gNMI protocol. The collector initiates the Subscribe RPC to specify the data of interest. |
Figure 5 illustrates the gNMI client's (Collector) Subscribe request and response (RPC) interaction with the gNMI server (OcNOS Target).
Figure 5. Sample Subscribe Request
The gNMI-based Dial-in mode telemetry enables the "STREAM" type subscription with Sample Stream Mode and On-Change Stream Mode for the Subscribe RPC.
Benefits
Proactive Network Monitoring: Obtain real-time insights into network health and performance, and how to enable quicker response to issues.
Resource Utilization Monitoring: Monitor CPU and memory utilization to optimize resource allocation and performance.
Predictive Troubleshooting: Identify patterns and potential issues before they impact the network, reducing downtime.
Automation and Resilience: Use telemetry data to automate network management tasks and design a more resilient network.
Prerequisites
Before configuring Dial-In mode, ensure that:
| • | A supported OcNOS router running a compatible release. |
| • | Access to the management interface of the router. |
| • | Any gNMI client that complies with gNMI specifications can be used as a client. |
| • | Refer to the gnmic Installation to download the gNMI collector package. |
