New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gRPC does not update the BGP data #241
Comments
Hi, Could you please share the telegraf config you are using ? I'm running a quick (2 vMX ~65k routes ) and so far it's working fine
|
Thanks, i will do that. Also I would like to know If there was a reason that you didn’t use only one tool for collecting everything? Like using only fluentd or just telegraf for colllecting jti, grpc,... Thanks |
Actually, we are working on having a "full matrix" of plugins (fluentd/telegraf/logstash) so that you can decide which one to use. |
I am trying to do UDP JTI with Telegraf. would you mind share your finding? |
Hi , |
Thanks @psagrera how can I get the juniperUDP input plugin working? are you using json and protoc for this? |
Actually, juniperUDP is a parser. We are using input_socket listener plugin to receive UDP traffic. (json ,jsonpb and proto is used). But as I said it is not the definitive version. Regards |
thanks I got it working. one more question right now the data for the juniperUDP plugin is all string even for interface data. how can we change that so we can graph the juniperUDP plug data? |
Forgive me for dropping in on your thread....you all seem knowledgeable about this telem stuff, so perhaps you can guide me. I'm just recently learning about jti, analytics and telemetry. I recently got my MX960's sending native telemetry udp/gpb to open-nti docker (which as you all may well know is a packaged install containing all those things like fluentd, influxdb, chronograph, grafana)... it's all quite interesting to me and working nicely. i see that there are about ~15 different sensor resources to collect analytics from.... agould@lab-960# set services analytics sensor test resource /junos/s? question please... 1 - are there any more than this ? or is this a limitation of Junos: 17.4R1-S2.2 ? will more sensors come in the future ? i see you all referring to what appear to be sensor resources like 2 - i understand there is a different way of doing telemetry, correct ? is this known as the non-native form ... gRPC/openconfig or something like that ? /network-instances/network-instance/protocols/protocol/bgp/ ...but i don't see those in my MX960. 3 - do some juniper platforms like ACX5048 not support native telem, but may infact support grpc/openconfig style ? Thanks y'all
|
Hi Aaron, 1 - More sensors will come in the future (newer releases ) i.e ("/junos/services/segment-routing/traffic-engineering/ingress/usage/", etc ...) 2 - You have UDP based native sensors and OpenConfig + GRPC sensors. Former are GPB encoded and configured via junos cli , latter are GBP / key, value encoded and you need to configure your collector (open-NTI via telegraf config) to subscribe to those paths. Information about sensors can be found at : 3 - Not supported, according to the official documentation Regards Pablo |
Hi @psagrera I am using the new parser.go and it was working for 2-3 weeks but starting today i am getting this error: panic: interface conversion: interface {} is map[string]interface {}, not []interface {} goroutine 330 [running]: I have not change anything on the server or router side. also gRPC is not working in this case even when I disable the new JniperUDP parser. any thought? |
Hi I am testing the gRPC with multiple router (QFX10K) with routing table more than 500K
and I am using the "/network-instances/network-instance/protocols/protocol/bgp/" sensor and the sample_frequency = "5000ms" to get the BGP data back from the router. the issue i can not see the data in the DB every 5s. for example right now I am trying to get the "/network-instances/network-instance/protocols/protocol/bgp/neighbors/neighbor/afi-safis/afi-safi/state/prefixes/accepted" and it is 1:15pm and the data in the database that I have is:
10:54am - 707K
11:43am - 706K
11:45am - 706K
and between 11:45am - 1:15pm I do not see any data in the DB.
Please let me know how can I fix this issue.
Thanks
The text was updated successfully, but these errors were encountered: