-
Notifications
You must be signed in to change notification settings - Fork 262
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
Enriching flow data with Model-Driven Telemetry data #694
Comments
Hi @hyberdk, recently I wrote a short how-to describing the main steps to enable gRPC dial-out on pmtelemetryd. To get a general idea about gRPC dial-out @pmtelemetryd you could also refer to these paragraphs. Please, let me know if the steps outlined in the guide are clear and if the process is working for you. I would be more than happy to help you further. Salvatore. |
Hi @scuzzilla, thanks for your reply.. I did actually notice the project yesterday after I did this question. Im a little confused to be honest.. It looks like there have been multiple implementations of streaming telemetry over the years in pmacct and mdt-dialout-collector is the latest implementation, is that a fair statement? From what I can read in the docs, you can run mdt-dialout-collector independently or you can choose to use it as a plugin in pmtelemetryd? Not entirely sure when to do one or the other.. We are currently using nfacct for netflow and ideally I could stream the interface names etc and enrich the netflow data with MDT data, even before we shoot it into kafka, but today we have an external system for that. If I just want to stream mdt into kafka, is there a need to use pmtelemetryd at all? Or am I missing some big picture here? Esben |
Hi Esben, Streaming telemetry is a broad field with many protocols. Here, we are focusing specifically on YANG-modeled data-streams. Within this context, "gRPC dial-out" is one of the widely used methods. While it's not standardized, it employs protobuf, leading to a more or less uniform implementation across all relevant vendors. You are correct in your understanding that mdt-dialout-collector can be used either standalone or integrated with pmtelemetryd. The standalone use case is probably simpler and directly focuses on gathering and streaming data to Kafka. On the other hand, integrating with pmtelemetryd creates a foundation that allows for further development in the direction of near real-time data correlation. I hope this helps clarify the matter. If you have more questions or need further elaboration, please feel free to ask. Salvatore. |
Hi Salvatore, Again many thanks for taking your time to explain it to me.. I think I will try and do the standalone setup now for testing, but I would like to understand more about how to do this correlation directly in pmacct, but I have not really been able to find documentation that outlines the "overall" architecture/flow and what you can do.. If you can give me pointers in the right direction it would be great. I would really like to understand my options here, before I start migrating away from snmp ;-) Esben |
Hi Esben, At the moment pmacct doesn't support direct correlation with gRPC dial-out. However, this could be a feature in future developments. For any other correlation functionalities concerning, for example, BGP/BMP & IPFIX, I recommend using the pmacct Quickstart guide. Salvatore. |
Hi Esben ( @hyberdk ), After the conversation with the great Salvatore ( @scuzzilla ), would you consider fair to rename this issue as "Enriching flow data with Model-Driven Telemetry data" and labelling as enhancement / feature request? Paolo |
Description
Im trying to setup Model Driven Telemetry in some of our Cisco IOS-XE devices.. ultimately I want to push this to Kafka (like our netflow via nfacctd)
I have this config on my 1100 router:
This is my pmtelemetryd.conf
I run it in the "latest" container like this:
docker run --name mdt -v
pwd/pmtelemetryd.conf:/etc/pmacct/pmtelemetryd.conf -p 1620:1620 pmacct/pmtelemetryd
here is the version running in the container:
My problem is that the data that are returning looks like this, eg. its not decoding the data:
I have also attached a capture of the traffic if that helps.
test2.zip
Now the question is... are IOS-XE not supported or am I missing some configuration somewhere?
thanks for your help and awesome product!
Appreciation
stared/liked many years ago ;-)
The text was updated successfully, but these errors were encountered: