arista-netdevops-community / arista_eos_streaming_telemetry_with_gnmi_and_telegraf

Stream OpenConfig telemetry and native telemetry from Arista EOS devices to Telegraf. Store collected data in influxDB. Query influxDB with CLI and python.
Apache License 2.0
21 stars 5 forks source link

How EOS know where to send stream? #6

Closed ljyfree closed 3 years ago

ljyfree commented 3 years ago

Hi all

I could not find configuration for EOS about Telegraf's IP address and Listen port.
So how EOS know where to send stream?
ksator commented 3 years ago

Hello, EOS runs a gNMI server.
Telegraf runs a gNMI client.
No need to configure the clients IP addresses in a server, so, no need to configure Telegraf IP address in EOS.
We configure EOS devices IP addresses in Telegraf conf file.
Telegraf sends a subscribtion request to EOS which is a TCP communication.