This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| network_stuff:juniper:telemetry [2022/12/08 04:20] – jotasandoku | network_stuff:juniper:telemetry [2025/07/08 18:24] (current) – jotasandoku | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | Then **PMACCT** (pmaccount) to correlate information and extract trends: pmacct is a small set of multi-purpose passive network monitoring tools [NetFlow IPFIX sFlow libpcap BGP BMP RPKI IGP Streaming Telemetry]. | + | MDT (Model Driven Telemetry): Replaces SNMP |
| - | + | ||
| - | + | ||
| - | ---- | + | |
| - | MDT (Model Driven Telemetry) | + | |
| - | \\ | + | |
| - | Replaces SNMP | + | |
| \\ | \\ | ||
| Line 12: | Line 6: | ||
| * protobuf ' | * protobuf ' | ||
| * We convert or compile ' | * We convert or compile ' | ||
| - | |||
| * The messages are binary but we can do marshaling and see the key-value pairs with ' | * The messages are binary but we can do marshaling and see the key-value pairs with ' | ||
| Line 18: | Line 11: | ||
| * All is defined in the client (jti-client in our case) (define how many channels, etc) | * All is defined in the client (jti-client in our case) (define how many channels, etc) | ||
| + | |||
| + | ---- | ||
| + | **gNMI** | ||
| \\ | \\ | ||
| - | What is gNMI (from openconfig group): | + | See this insight on prometheus-grafana-exporters and gnmi: {{ : |
| + | * Provides **1) Network Management and 2) Streaming telemetry** | ||
| + | * Uses HTTP/TCP so reliable compared to snmp | ||
| + | * And also extremely light. It uses RPCs more efficiently than netconf | ||
| * gRPC Network Management Interface. Is a way to interact to grpc with Standard, reduced, RPCs. | * gRPC Network Management Interface. Is a way to interact to grpc with Standard, reduced, RPCs. | ||
| * gnmi defines Four RPCs: | * gnmi defines Four RPCs: | ||
| - | * capabilities ("show me what you can offer" | + | * '' |
| - | * get (like a netconf get) | + | * '' |
| - | * set (like a netconf set, also to update and delete) | + | * '' |
| - | * subscribe ( hook to a stream ) | + | * '' |
| * Junos in particular uses the **[[https:// | * Junos in particular uses the **[[https:// | ||
| - | \\ | + | **Topology ( gNMI + Telegraf plugin)** |
| - | How to install gRPC and gNMI with junos and prometheus: | + | |
| - | \\ | + | |
| - | \\ | + | |
| - | Topoplogy: | + | |
| - | Juniper-switch(junos_openconfig+network_agent) < | + | |
| - | + | ||
| - | Install guides: | + | |
| - | * [[https:// | + | {{:network_stuff: |
| - | * [[https:// | + | |
| ---- | ---- | ||
| Line 61: | Line 52: | ||
| mosquitto_sub -h < | mosquitto_sub -h < | ||
| + | |||
| + | ---- | ||
| + | Then **PMACCT** (pmaccount) to correlate information and extract trends: pmacct is a small set of multi-purpose passive network monitoring tools [NetFlow IPFIX sFlow libpcap BGP BMP RPKI IGP Streaming Telemetry]. | ||
| ---- | ---- | ||