Categories
OpenStack Networking

This document provides an overview of integrating Telegraf, InfluxDB, and Grafana to monitor SONiC (Software for Open Networking in the Cloud) devices using gNMI (gRPC Network Management Interface). It highlights the advantages of this setup and compares it with other monitoring solutions.

Components Overview 

1. Telegraf

  • A lightweight, open-source server agent for collecting and sending metrics.
  • Supports multiple input plugins, including gNMI, to collect telemetry data from SONiC devices.
  • Can be configured to push data to InfluxDB for storage and visualization.

2. InfluxDB 

  • A high-performance time-series database designed to handle large volumes of real-time data.
  • Efficiently stores telemetry data collected from network devices.
  • Supports querying and analysis using InfluxQL or Flux.

3. Grafana  

  • An open-source visualization and monitoring tool.
  • Provides dashboards for real-time and historical data analysis.
  • Supports alerting and integrates well with InfluxDB.

4. gNMI (gRPC Network Management Interface)   

  • A modern network management protocol based on gRPC.
  • Enables efficient and secure telemetry data collection.
  • Used by SONiC to provide structured and real-time network telemetry

Advantages of This Setup

  • Real-Time Monitoring: gNMI provides real-time telemetry data, ensuring up-to-date insights into network performance.
  • Scalability:Telegraf’s lightweight architecture and InfluxDB’s efficient time-series storage enable scalable monitoring.
  • Flexibility:Supports multiple plugins and data sources, making it adaptable for various monitoring needs.
  • Efficient Data Storage:InfluxDB optimizes storage for high-frequency data, reducing overhead compared to traditional relational databases.
  • Customizable Dashboards:Grafana offers extensive visualization options, making network analysis intuitive and user-friendly.
  • Automation & Alerting: Grafana’s built-in alerting allows proactive network issue detection and response. 

Advantages of gNMI Over Other Protocols

Feature gNMI SNMP NETCONF/YANG RESTCONF
Transport gRPC-based (binary) UDP-based (text) SSH-based (XML) HTTP-based (XML/JSON)
Performance High (streaming support) Low (polling-based) Moderate (RPC-based) Moderate (REST-based)
Security TLS encryption Minimal security Secure with SSH Secure with TLS
Scalability High Moderate Moderate Moderate
Data Model Structured (Protobuf/YANG) Unstructured (OID) Structured (YANG) Structured (YANG)
Telemetry Streaming & Polling Polling only RPC-based retrieval RPC-based retrieval
Ease of Use Modern & Developer-friendly Legacy, complex Requires XML handling Requires REST API knowledge

Comparison with Other Solutions

Feature Telegraf + InfluxDB + Grafana SNMP-based Monitoring ELK Stack (Elasticsearch, Logstash, Kibana)
Real-time Data Yes (gNMI streaming) No (polling-based) Limited (log-based)
Data Efficiency High (time-series storage) Moderate High (searchable logs)
Visualization Extensive (Grafana) Basic Advanced (Kibana)
Alerting Yes Limited Yes
Scalability High Moderate High
Protocol Support gNMI, SNMP, others SNMP, NetFlow Logs, Metrics, APM

gNMI for Streaming Telemetry from Sonic Device

gNMI streaming telemetry offers an efficient alternative by continuously transmitting data from network devices with incremental updates. Instead of relying on SNMP’s polling mechanism, which collects data regardless of changes, gNMI allows operators to subscribe to specific data points using well-defined sensor identifiers. This approach provides near real-time, model-driven, and analytics-ready insights, enabling more effective network automation, traffic optimization, and proactive troubleshooting.

Telegraf Configuration

[[inputs.gnmi]]
#Address and port of the gNMI GRPC server (Update with sonic device IP)

addresses = [“:”,”:”]

#define credentials

username = “”

password = “”

#gNMI encoding requested (one of: “proto”, “json”, “json_ietf”, “bytes”)

encoding = “json”

#redial in case of failures after

redial = “10s”

#enable TLS only if any of the other options are specified (For different telegraf version it will be enable_tls = true)

tls_enable = true

#Use TLS but skip chain & host verification

insecure_skip_verify = true

#Subscription to get temperature detail

[[inputs.gnmi.subscription]]

name = “temperature_sensor”

origin = “openconfig”

path = “<url>”

sample_interval = “60s”

Note : Once Configuration has been Updated restart telegraf service i.e sudo systemctl restart telegraf

Dashboards

Strategic Takeaway

This observability stack is not just a combination of open-source tools, it’s a production-ready framework engineered for real-time visibility across SONiC environments.

By combining gNMI streaming, Telegraf, InfluxDB, and Grafana, and tuning them specifically for SONiC-based networking, PalC Networks helps organizations monitor infrastructure with precision, scalability, and speed. We’ve implemented custom telemetry paths, dashboard packs, and threshold-driven alerting systems.

If you’re adopting SONiC and planning to integrate it with a monitoring stack-reach out to us. Our team supports everything from architecture design to implementation, validation, and ongoing maintenance.

Explore Our Open Networking Capabilities

If you need support or guidance in exploring OpenStack, open networking, or data center infrastructure optimization, we are here to help.

Contact us today to learn how PalC Networks can support your journey towards future-ready infrastructure.

Categories
OpenStack

Building a data center is not what it used to be. Servers, VMs, networking fabrics-these are no longer simple decisions. It’s a web of complexity, soaring costs, and unpredictable supply chains. What if you could build a cloud-like data center on your terms-without dependence on proprietary vendors, spiraling costs, or delays? Most IT leaders want this, but few know it’s within reach.

There is a better way. You can simplify how you deploy, manage, and scale your servers, VMs, and networking fabric with our OpenStack services-while keeping complete control over your infrastructure.

OpenStack & Open Networking: Your Infrastructure, Simplified

At PalC Networks,we work with businesses to provide cost-effective & fully managed data centers by offering Managed OpenStack Services integrated with open networking powered by SONiC, white-box hardware, and robust server management.

Why It’s Time to Rethink Your Infrastructure

  • High Costs: Proprietary hardware and closed platforms lead to high CAPEX and OPEX.
  • Limited Vendor Choice: Limited flexibility to switch vendors or optimize your stack.
  • Operational Complexity: Servers, VMs, and networking require round-the-clock management and skilled personnel.
  • Supply Chain Vulnerabilities: Global uncertainties affect hardware procurement timelines.

Modernizing with OpenStack Managed by PalC

1. SONiC-Powered Open Networking

  • Vendor-neutral NOS running on white-box switches.
  • Seamlessly integrates with OpenStack to create a unified network fabric.
  • Optimized for low latency, high throughput, and AI-ready infrastructure.

2. White-Box Hardware

  • Hardware partnerships with Edgecore, Broadcom, and other leading providers.
  • Flexible hardware choices reduce supply chain risks and enhance customization.

3. OpenStack-Powered Private Cloud Orchestration

  • Automates the deployment and management of servers, VMs, and networking.
  • Offers a cost-effective, scalable alternative to VMware and other proprietary solutions.
  • Simplifies data center operations by combining computing, networking, and storage under a single pane of glass.

How We Support You

PalC Networks’ support extends across every aspect of data center and cloud operations:

How We Make It Happen

1. End-to-End Infrastructure Management

We handle every aspect of your data center—from deploying physical servers to orchestrating virtual machines and designing a high-performance network fabric. With PalC Networks, you get a fully managed, seamlessly integrated environment tailored to your business needs.

2. Infra Scalability

Our OpenStack-powered cloud infrastructure is built to scale with your business. Whether you need to expand your VM capacity, add new servers, or enhance your network capabilities, we ensure your infrastructure grows without disruptions.

3. Performance Optimization

We design and fine-tune your data center setup to ensure low latency, high throughput, and reliable connectivity—essential for AI, data-intensive applications, and mission-critical workloads.

4. Integrated Monitoring & Support

24×7 proactive monitoring, real-time alerts, and fast issue resolution. Our technical experts ensure your infrastructure stays healthy and optimized, so you can focus on innovation.

5. Real-World Applications

PalC Networks empowers businesses across sectors, including enterprises, cloud providers, co-location services, and startups, to build data centers and private clouds that rival public cloud capabilities—without vendor lock-in or spiraling costs.

Build What’s Next for Your Data Center

With PalC Networks, you can simplify your infrastructure while enhancing performance and flexibility with our expert support. Building a data center from scratch, modernizing an existing setup —servers, VMs, networking, and cloud operations, so you can focus on what matters most: growing your business.

Explore Our OpenStack Capabilities

If you need support or guidance in exploring OpenStack, open networking, or data center infrastructure optimization, we are here to help.

Contact us today to learn how PalC Networks can support your journey towards future-ready infrastructure.