Page 1 of 1

Why the traffic difference between NA And Cacti

Posted: Mon Jan 23, 2017 9:28 pm
by mjovel
Moderator Edit: This thread has been split from another - https://support.nagios.com/forum/viewto ... 32&t=38296
In the future, please create a new thread and link to the old one instead of adding on.


Hi Nagios Support,

First of all, Thank you for all the effort on building this product, I really like it.

Seem like someone on the UI team does not know the difference between Bytes/sec and bit/s (bps). They are really two different things. I think you should really escalate this to the Engineering team and fix the web interface labels ASAP. For a product aiming networking teams this is kind of lame :- )

When you look at the code you can really find out that the developers really meant bps and not Bytes/sec:

/usr/local/nagiosna/bin/netflow_checks.py
106 if metric == 'flows':
107 index = 0
108 elif metric == 'bytes':
109 index = 1
110 elif metric == 'packets':
111 index = 2
112 elif metric == 'bps':
113 index = 3
114 elif metric == 'pps':
115 index = 4
116 elif metric == 'bpp':
117 index = 5
118 else:
119 index = 0

Please fix and ask a Network Engineer to check the UI before releasing it.

Regards,
Maurice

Re: Why the traffic difference between NA And Cacti

Posted: Tue Jan 24, 2017 5:18 pm
by bheden
According to the documentation located here http://nfdump.sourceforge.net/, bps is actually bits/second. It does however look like we were are wrong with the labeling of Bits/Packet, which should be Bytes/Packet.

Regardless, thank you for bringing this to our attention and we'll be sure to review it in more detail before the next release.

Re: Why the traffic difference between NA And Cacti

Posted: Tue Jan 24, 2017 5:46 pm
by mjovel
Thank you !.

Attach a couple of UI pages that need change:
temp1.png
temp2.png
Regards,
Maurice

Re: Why the traffic difference between NA And Cacti

Posted: Wed Jan 25, 2017 10:11 am
by dwhitfield
I have filed internal bug report 10814 for this issue. You can check on this bug by referencing the # on the forum.

Did you have anything else to add to this bug, or are we ready to lock it up?

Re: Why the traffic difference between NA And Cacti

Posted: Sun Jan 29, 2017 2:45 am
by mjovel
Thank you.

Please lock.

Regards,
Maurice

Re: Why the traffic difference between NA And Cacti

Posted: Mon Jan 30, 2017 10:49 am
by rkennedy
Will do!

/closed