Skip to content

Orb Agent Cloudprober Backend

Richard Boucher edited this page Sep 26, 2022 · 8 revisions

Overview

Create new functionality in Orb that can provide smokeping like functionality across an Orb agent fleet.

Target a new orb-agent backend for Cloudprober to support (at least) ping functionality.

Screen Shot 2022-09-22 at 9 59 27 AM

Goals

  • Add first non-pktvisor backend to Orb system
  • Add first "active" probe backend to Orb system (as opposed to "passive" tapping into data streams)
  • Use Orb OpenTelemetry pipeline to ingest and sink cloudprober metrics, collecting ping latency histograms from all agents, visualize in TSDB/Grafana
  • First integration (Orb plugin) with NetBox as source of truth which can drive external monitoring/visibility
    • priority 1: Netbox plugin to create policies from existing objects: jinja2 templates to inject info to JSON for ping policy. Sync over to Orb REST API.
    • priority 2: Netbox has link to Grafana dashboard. Bonus: Netbox queries TSDB for results to provide natively in UI somehow
    • priority 3: Netbox has some sense of modeling or associating orb-agents to Netbox devices

Implementation

  • Use stg.orb.live Orb environment, use permanent REST API token from Netbox

Sample Policy

probe {
  name: "google_homepage"
  type: HTTP
  targets {
    host_names: "www.google.com"
  }
  interval_msec: 5000  # 5s
  timeout_msec: 1000   # 1s
}