Traffic graphs in bytes instead of bits

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
adfire
Posts: 6
Joined: Wed Mar 15, 2017 3:28 am

Traffic graphs in bytes instead of bits

Post by adfire »

I created new graphs using build in templates for interface traffic - by default it is bits/second. Graphs are created but they show values in bytes/second ! For sure, triple checked.
What is quite interesting - on bits/second graphs when I chose realtime graph - traffic is in bits/second, not in bytes/second as on 'base' graph.
I chose 64-bit counters - the same. I chose bytes/second - values are approximitly 10-times lower than real traffic.


What is going on ? I really don't understand.
Cacti ver. 1.1

Thanks in advance for any help.
Rno
Cacti Pro User
Posts: 692
Joined: Wed Dec 07, 2011 9:19 am

Re: Traffic graphs in bytes instead of bits

Post by Rno »

I have to agree with you

For my understanding if you look into Data Queries -> SNMP - Interface Statistics
In/Out Bits Interface - Traffic (bits/sec) 13
In/Out Bits with 95th Percentile Interface - Traffic (bits/sec, 95th Percentile) 20
In/Out Bits with Total Bandwidth Interface - Traffic (bits/sec, Total Bandwidth) 21
In/Out Bytes Interface - Traffic (bytes/sec) 16
In/Out Bytes (64-bit Counters) Interface - Traffic (bytes/sec) 9
In/Out Bytes with Total Bandwidth Interface - Traffic (bytes/sec, Total Bandwidth) 22
In/Out Errors/Discarded Packets Interface - Errors/Discards 2
In/Out Non-Unicast Packets Interface - Non-Unicast Packets 3
In/Out Unicast Packets Interface - Unicast Packets 4

The 64 bit counter display in bytes !?
I re-create my on template to correct this
Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
darkng
Posts: 2
Joined: Wed Apr 05, 2017 2:24 am

Re: Traffic graphs in bytes instead of bits

Post by darkng »

Hi,

I have the same problem with the new version of Cacti.

For example on the graphs i see this values below. But when i do a realtime graph then i see it 10times bigger than that.
Attachments
POrt2.png
POrt2.png (66.98 KiB) Viewed 4438 times
Port1.png
Port1.png (61.96 KiB) Viewed 4438 times
User avatar
Cramin
Posts: 23
Joined: Mon Mar 06, 2017 4:06 pm
Contact:

Re: Traffic graphs in bytes instead of bits

Post by Cramin »

Standard SNMP - Interface Statistics

Code: Select all

In/Out Bits 	Interface - Traffic (bits/sec) 	10 	
In/Out Bits (64-bit Counters) 	Interface - Traffic (bits/sec) 	2 	
In/Out Bits (64-bit Counters) with 95th Percentile 	Interface - Traffic (bits/sec, 95th Percentile) 	7 	
In/Out Bits (64-bit Counters) with Total Bandwidth 	Interface - Traffic (bits/sec, Total Bandwidth) 	3 	
In/Out Bits with 95th Percentile 	Interface - Traffic (bits/sec, 95th Percentile) 	13 	
In/Out Bits with Total Bandwidth 	Interface - Traffic (bits/sec, Total Bandwidth) 	14 	
In/Out Bytes 	Interface - Traffic (bytes/sec) 	12 	
In/Out Bytes (64-bit Counters) 	Interface - Traffic (bytes/sec) 	9 	
In/Out Bytes (64-bit Counters) with Total Bandwidth 	Interface - Traffic (bytes/sec, Total Bandwidth) 	15 	
In/Out Bytes with Total Bandwidth 	Interface - Traffic (bytes/sec, Total Bandwidth) 	6 	
In/Out Errors/Discarded Packets 	Interface - Errors/Discards 	8 	
In/Out Non-Unicast Packets 	Interface - Non-Unicast Packets 	1 	
In/Out Unicast Packets 	Interface - Unicast Packets 	4 	
Interface - Broadcast Packets (Legacy) 	Interface - Broadcast Packets (Legacy) 	11 	
Interface - Multicast Packets (Legacy) 	Interface - Multicast Packets (Legacy) 	5 	
How do you create graphs?
Rno
Cacti Pro User
Posts: 692
Joined: Wed Dec 07, 2011 9:19 am

Re: Traffic graphs in bytes instead of bits

Post by Rno »

That's not the standard one, it's your creation!!
And the second one is suppose to be the 64bits counter, in bits mode!!

To create a graph take another Interface traffic graph template, it would be the easiest way
Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
User avatar
Cramin
Posts: 23
Joined: Mon Mar 06, 2017 4:06 pm
Contact:

Re: Traffic graphs in bytes instead of bits

Post by Cramin »

Rno wrote:That's not the standard one, it's your creation!!
:roll: No it's not!
Cacti 1.1.2
zetoo
Cacti User
Posts: 68
Joined: Wed Nov 23, 2016 2:42 am

Re: Traffic graphs in bytes instead of bits

Post by zetoo »

Teach me how to populate graph ..

My Cacti graph template wont populating again after upgrade to 1.0.x :x
Rno
Cacti Pro User
Posts: 692
Joined: Wed Dec 07, 2011 9:19 am

Re: Traffic graphs in bytes instead of bits

Post by Rno »

Cramin wrote:
Rno wrote:That's not the standard one, it's your creation!!
:roll: No it's not!
Cacti 1.1.2

Whoo cool I have 1.1.0
sorry about that !!
Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
adfire
Posts: 6
Joined: Wed Mar 15, 2017 3:28 am

Re: Traffic graphs in bytes instead of bits

Post by adfire »

In my case, graphs are created by default, without any changes, anywhere.

On a device: data query - interface statistics, then create graphs for this device - by default bits/second.

Devices are different - switches, routers, servers, NAS... everywhere the same.

So what should I do, how to create graphs to show traffic in bits/second ?
Rno
Cacti Pro User
Posts: 692
Joined: Wed Dec 07, 2011 9:19 am

Re: Traffic graphs in bytes instead of bits

Post by Rno »

Not sure the default is 64bits counters

That's why we may need other graph
Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
adfire
Posts: 6
Joined: Wed Mar 15, 2017 3:28 am

Re: Traffic graphs in bytes instead of bits

Post by adfire »

No, the default is not 64 bit counters.

What other graph we may need ? Rno, I truly don't understand you since the beggining of that topic.
User avatar
Cramin
Posts: 23
Joined: Mon Mar 06, 2017 4:06 pm
Contact:

Re: Traffic graphs in bytes instead of bits

Post by Cramin »

Image
I use Traffic and Errors/Discards.
User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: Traffic graphs in bytes instead of bits

Post by Osiris »

Keep in mind folks, it's not the id, it's the hash that is important.
Before history, there was a paradise, now dust.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest