JNPRAutomate / fluent-plugin-juniper-telemetry

Fluentd plugin for Juniper telemetry
Apache License 2.0
21 stars 13 forks source link

ae0 interface error #2

Closed kuki21 closed 8 years ago

kuki21 commented 8 years ago

Hi

I notice that plugin parser_juniper_jti.rb is not working earn you have ae0 interface. I have add this simple workaround and now it is collecting and paring data.

In line 93 if data == 'ae0' $log.warn "err-ae0 '#{data}'" else data.each do |type,value|

Is this something you can fix to collect data from ae0 interfaces ?

dgarros commented 8 years ago

Hi

Thanks for the feedback Could you provide a pcap file that contain an AE interface, I'll work on a solution Also I'm planning to add unittest to this repo soon, it will be very useful

Thanks Damien

kuki21 commented 8 years ago

Hi Damian

Sorry for this late reply. pcap file in attachment.

Lukasz

2016-03-09 20:03 GMT+01:00 Damien notifications@github.com:

Hi

Thanks for the feedback Could you provide a pcap file that contain an AE interface, I'll work on a solution Also I'm planning to add unittest to this repo soon, it will be very useful

Thanks Damien

— Reply to this email directly or view it on GitHub https://github.com/JNPRAutomate/fluent-plugin-juniper-telemetry/issues/2#issuecomment-194454084 .

dgarros commented 8 years ago

Hi

Sorry for the delay and thanks for providing the file I fixed the issue with AE interface, please can you give it a try

Thanks Damien

dgarros commented 8 years ago

Close since it's been fixed for a while