Juniper / open-nti

Open Network Telemetry Collector build with open source tools
Apache License 2.0
233 stars 93 forks source link

Streaming result does not reflect possible reality. #202

Open CStaveRun opened 6 years ago

CStaveRun commented 6 years ago

I've got an EX-4600 streaming data to open-nti and one thing that stood out immediately was that I had a gigabit interface that was reporting about 3-5 gigabits of traffic all the time.

On the switch, it is reporting: "output-bps" "data" : "215426272" Which is (as expected) less than 1 gigabit.

Any thoughts on why open-nti might be thinking I've got a magic port?

screenshot 2018-01-24 17 24 56

(analytics config:


set services analytics resource system polling-interval traffic-monitoring 5
set services analytics collector local file an.stats
set services analytics collector local file an files 3
set services analytics collector local file an size 10m
set services analytics resource-profiles sys-rp queue-monitoring
set services analytics resource-profiles sys-rp traffic-monitoring
set services analytics resource-profiles sys-rp depth-threshold high 999999 low 99
set services analytics resource system resource-profile sys-rp
set services analytics resource-profiles if-rp queue-monitoring
set services analytics resource-profiles if-rp traffic-monitoring
set services analytics resource-profiles if-rp latency-threshold high 2300 low 20
set services analytics resource interfaces ge-0/0/4 resource-profile if-rp
set services analytics export-profiles ep stream-format json
set services analytics export-profiles ep interface information
set services analytics export-profiles ep interface statistics queue
set services analytics export-profiles ep interface statistics traffic
set services analytics export-profiles ep interface status link
set services analytics export-profiles ep system information
set services analytics export-profiles ep system status queue
set services analytics export-profiles ep system status traffic
set services analytics collector address redacted port 50020 transport udp export-profile ep```
davidmgre commented 6 years ago

Has this been resolved? I'm seeing the same.

cbutera-sqsp commented 6 years ago

What code are you running? I ran into a similar issue after upgrading code minor version maybe 14.1X53-D42 to 14.1X53-D45 where they changed the data sent from bits per seconds to bytes per second. Dividing the result by 8 gave me the correct info. Example Query: SELECT mean("value")/8 FROM "jnpr.analyticsd" WHERE "type" = 'traffic-stats.txbps'

3fr61n commented 6 years ago

Hi,

Please try to check what @nastyfast is commenting, and also please could you confirm the query you're using.

Regards