Can this be right?

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

Moderators: Developers, Moderators

Post Reply
User avatar
ExtremePCs
Posts: 8
Joined: Thu Apr 01, 2004 5:48 am
Location: Michigan, U.S.A.

Can this be right?

Post by ExtremePCs »

Hi,

Please look at the attached graph and let me know if it seems correct. It does NOT to me, but I'm very new to Cacti. The port I am monitoring is the uplink from my server farm to the other buildings, so I would think the traffic would be A LOT higher. Am I right in assuming this shows only about 3-4 megabits per second? It's a gigabit fiber uplink from 7 servers to other buildings. Seems very low... I am using 64-bit counters.

Thanks!

Image
User avatar
TFC
Cacti Pro User
Posts: 739
Joined: Wed Apr 09, 2003 2:17 am
Location: Izmir/Turkey

Post by TFC »

You can re-check max values of your Data source. Cacti default value is 100.000.000 for both inbound and outboun. You must use 1.000.000.000 for gigabit interface.
User avatar
bulek
Cacti Pro User
Posts: 854
Joined: Mon May 20, 2002 2:07 am
Location: Poland
Contact:

Post by bulek »

That's not correct. For Gbit interface maximum value should be set to 125,000,000.

- Piotr
User avatar
TFC
Cacti Pro User
Posts: 739
Joined: Wed Apr 09, 2003 2:17 am
Location: Izmir/Turkey

Post by TFC »

bulek wrote:That's not correct. For Gbit interface maximum value should be set to 125,000,000.

- Piotr
But i said for bits/sec.
User avatar
bulek
Cacti Pro User
Posts: 854
Joined: Mon May 20, 2002 2:07 am
Location: Poland
Contact:

Post by bulek »

Where have you said that? Rrdtool reads traffic counter via SNMP. This traffic counter counts bytes. Rrdtool therefore stores values in bytes/sec inside rrd file. For this reason you have to put maximum value also in bytes/sec. I know all of us display traffic graphs in bits/sec but it is only because we just use "Turn bytes into bits" CDEF just before plotting our data series. This has nothing to do with data collection and maximum value.

- Piotr
User avatar
ExtremePCs
Posts: 8
Joined: Thu Apr 01, 2004 5:48 am
Location: Michigan, U.S.A.

Post by ExtremePCs »

I know all of us display traffic graphs in bits/sec but it is only because we just use "Turn bytes into bits" CDEF just before plotting our data series.
So do I set the data output type ID to bytes per second (64-bit), use 125000000 as the max value, and then use the CDEF to translate it back in to bits?

What I want is a graph that shows the true value for bits per second transfered over the interface.

Thanks.
Lux
Cacti User
Posts: 195
Joined: Tue Nov 11, 2003 10:57 am
Location: Luxembourg

Post by Lux »

Remember that you are looking at 5 minute average values. We were shocket to discover how low our general throughput was. Infact, the busiest server here only manages to get above 200Mbps during backups. And this thing is connected with two gigabit cards!

Quick math:

Inbound traffic 3.23 Mbps * 300 seconds / 8 bits = 121.125 Mbytes
Outbound traffic 4.45 Mbps * 300 seconds / 8 bits = 166.875 Mbytes

So, in your graph you are averaging close to 288 Megabytes of data transferred every 5 minutes! I don't know what you have attached on this port, but you are showing a fair amount of data.

Mike
User avatar
ExtremePCs
Posts: 8
Joined: Thu Apr 01, 2004 5:48 am
Location: Michigan, U.S.A.

Post by ExtremePCs »

So, in your graph you are averaging close to 288 Megabytes of data transferred every 5 minutes! I don't know what you have attached on this port, but you are showing a fair amount of data.
I have 7 servers at this site, and that port is the uplink to the main gateway. That's why I was wondering why it was so low. Didn't think about the 5 minute factor.

Thanks.
User avatar
bulek
Cacti Pro User
Posts: 854
Joined: Mon May 20, 2002 2:07 am
Location: Poland
Contact:

Post by bulek »

So do I set the data output type ID to bytes per second (64-bit), use 125000000 as the max value, and then use the CDEF to translate it back in to bits?
I just mean that regardless of your graph settings maximum value should be set in DS settings in bytes/sec (for normal 32/64bit SNMP traffic counters).
That's why I was wondering why it was so low. Didn't think about the 5 minute factor.
5 minutes sampling period will make the graph looking more "flat". If you think the server is loaded with traffic for longer period of times (like 30 min of backup process) then you should see high utilization on the link anyway. If you would like to see the traffic in real-time then use this simple tool: http://leonidvm.chat.ru/ .

- Piotr
keefus_a
Posts: 11
Joined: Fri Jun 13, 2003 12:08 pm

Post by keefus_a »

I had a similar shock. We've got a 10gig link between our datacenters that's never seen over 220mbits/sec, and that's on a 1 minute average. On a 5 minute average I don't think I ever saw it top 100mbits/sec.
Post Reply

Who is online

Users browsing this forum: No registered users and 14 guests