This is an old revision of the document!
MDT (Model Driven Telemetry): Replaces SNMP
What is gRPC (streaming telemetry)
gNMI
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 )
How to install gRPC and gNMI with junos and prometheus:
Topoplogy:
Juniper-switch(junos_openconfig+network_agent) ←http/s← prometheus-server(go JTI-client)
GNMI in Cisco IOS-XR
[TODO]
GNMI in Arista:
username user privilege 15 secret passwordshow management api gnmi
MESSAGE QUEUING TECHNOLOGIES
Kafka
Kafka focuses on the storage and reading of data, aiming at streaming data processing scenarios with high real-time performance
MQTT - MQ Telemetry Transport
is a lightweight, publish-subscribe, machine to machine network protocol for Message queue/Message queuing service. It is designed for connections with remote locations that have devices with resource constraints.
sudo apt install mosquitto mosquitto-clients # creates the broker. This can be a simple raspberry pi mosquitto_sub -h localhost -t test # Test subscription to a test topic (still non-existing) mosquitto_pub -h localhost -t test -m "hello world" # publishes a test message in the 'test' topic ! mosquitto_sub -h <host> -t /merakimv/<serial of device>/<topic> # subscribes
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].
References: