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:15] – 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: | + | {{:network_stuff:juniper: |
| - | + | ||
| - | * [[https:// | + | |
| - | * [[https:// | + | |
| ---- | ---- | ||
| __**MESSAGE QUEUING TECHNOLOGIES**__ | __**MESSAGE QUEUING TECHNOLOGIES**__ | ||
| \\ | \\ | ||
| - | The client subscribes to the server/ | + | * The client subscribes to the server/ |
| + | * **Topics are labels** that you publish messages to and subscribe to. They are arranged as a hierarchy | ||
| \\ | \\ | ||
| __Kafka__ | __Kafka__ | ||
| + | \\ | ||
| Kafka focuses on the storage and reading of data, aiming at streaming data processing scenarios with high real-time performance | Kafka focuses on the storage and reading of data, aiming at streaming data processing scenarios with high real-time performance | ||
| \\ | \\ | ||
| __MQTT - MQ Telemetry Transport__ | __MQTT - MQ Telemetry Transport__ | ||
| + | \\ | ||
| is a lightweight, | is a lightweight, | ||
| | | ||
| - | sudo apt install mosquitto mosquitto-clients | + | sudo apt install mosquitto mosquitto-clients |
| + | mosquitto_sub -h localhost -t test # Test subscription to a test topic (still non-existing) | ||
| + | mosquitto_pub -h localhost -t test -m "hello world" | ||
| + | ! | ||
| 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]. | ||
| ---- | ---- | ||