11-15-2019 10:01 AM - edited 11-15-2019 10:07 AM
Team,
In my testbed I have pipeline working with xrv9000 devices with gRPC telemetry. Everything is working properly and writing to the Influx database and also I can use the Grafana.
However, if I change the telemetry to messages to use JSON/TCP, it stops writing to the Influx database.
But, I can still see the messages coming and written to the dump.txt log file.
I'm just using the standard metrics.json file and the Cisco-IOS-XR-infra-statsd-oper:infra-statistics/interfaces/interface/latest/generic-counters sensor path.
If I change the messages back to gRPC it starts working again!
The original examples Shelly has in her blog were using TCP, so I'm not sure if something has been broken since then?
Solved! Go to Solution.
11-16-2019 02:16 PM
Hi, I'm closing this query. I realized I needed gpb endoding instead of json. That fixed my issue and it works now with both Pipeline and Telegraf.
destination-group DGroup2 address-family ipv4 172.16.1.189 port 57500 encoding self-describing-gpb protocol tcp ! !
11-16-2019 02:16 PM
Hi, I'm closing this query. I realized I needed gpb endoding instead of json. That fixed my issue and it works now with both Pipeline and Telegraf.
destination-group DGroup2 address-family ipv4 172.16.1.189 port 57500 encoding self-describing-gpb protocol tcp ! !
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide