Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


[INFO] My traffic graphs won't exceed 114 mbit/s

 
Post new topic   Reply to topic    Cacti Forum Index -> Informational/HOWTO's
Author Message
fmangeant
Cacti Guru User


Joined: 19 Sep 2003
Posts: 2325
Location: Sophia-Antipolis, France

PostPosted: Mon Nov 26, 2007 9:28 am    Post subject: [INFO] My traffic graphs won't exceed 114 mbit/s Reply with quote

Hi

you may encouter this problem, when you traffic graphs won't exceed ~ 114 mbits/s :



The solution is to use SNMP v2 and 64-bit counters.

First step is done when creating a host :



Second step is done when adding graphs to a host :



Voila ! You graphs now display the correct values :

Back to top
Super-Mike



Joined: 26 Jan 2006
Posts: 21

PostPosted: Sat Jan 26, 2008 4:49 am    Post subject: Reply with quote

Hi.

I’m create graph.

Port 52 switch edge-core (ES3552XA) port 52 <----> port 3 cisco 3560G

I’m using SNMP version 2 and 64 bit counter.

debug:

01/26/2008 12:39:20 PM - CMDPHP: Poller[0] Host[143] DS[4783] SNMP: v2: 192.168.70.97, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.52, output: 998464678
01/26/2008 12:39:20 PM - CMDPHP: Poller[0] Host[143] DS[4783] SNMP: v2: 192.168.70.97, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.52, output: 2822791283

My graphics with a switch edge-core (host [143]) are drawn incorrectly



port52.JPG
 Description:
Edge-core
 Filesize:  31.74 KB
 Viewed:  7321 Time(s)

port52.JPG



port3_cisco.JPG
 Description:
Cisco graph ok
 Filesize:  31.87 KB
 Viewed:  7321 Time(s)

port3_cisco.JPG


Back to top
abdulcc
Cacti User


Joined: 14 Jul 2006
Posts: 52

PostPosted: Fri Mar 07, 2008 3:13 am    Post subject: How do I check I am using 64 bits counters in cacti Reply with quote

I am definitely using snmpV2.



Here are the OID logs
03/07/2008 07:55:02 AM - CMDPHP: Poller[0] Host[2] DS[3445] SNMP: v2: 10.18.2.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 1166060285


03/07/2008 07:55:02 AM - CMDPHP: Poller[0] Host[2] DS[3445] SNMP: v2: 10.18.2.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 3305274964



I do not see any picture on how to set this up. Please advise.


Regards,
Back to top
fmangeant
Cacti Guru User


Joined: 19 Sep 2003
Posts: 2325
Location: Sophia-Antipolis, France

PostPosted: Fri Mar 07, 2008 3:44 am    Post subject: Reply with quote

Did you delete / recreate your graphs using the 64-bit graph template ?
Back to top
abdulcc
Cacti User


Joined: 14 Jul 2006
Posts: 52

PostPosted: Fri Mar 07, 2008 6:25 am    Post subject: I do not have the 64 bit graph template Reply with quote

Where I can I get it?


Thanks
Back to top
abdulcc
Cacti User


Joined: 14 Jul 2006
Posts: 52

PostPosted: Fri Mar 07, 2008 7:09 am    Post subject: I am so stupid Reply with quote

I got it fixed. Hopefully It will display properly from now on.

Thanks

Regards
Back to top
kasimong



Joined: 02 Oct 2007
Posts: 34
Location: Bremerhaven,Bremen,Germany

PostPosted: Thu Mar 13, 2008 10:15 am    Post subject: Reply with quote

Hi,
on my router it works but not on the connected hosts
ideas ?
regards

wolfgang
Back to top
fmangeant
Cacti Guru User


Joined: 19 Sep 2003
Posts: 2325
Location: Sophia-Antipolis, France

PostPosted: Thu Mar 13, 2008 10:20 am    Post subject: Reply with quote

What kind of hosts are you trying to graph ?
Back to top
kasimong



Joined: 02 Oct 2007
Posts: 34
Location: Bremerhaven,Bremen,Germany

PostPosted: Thu Mar 13, 2008 10:49 am    Post subject: Reply with quote

fmangeant wrote:
What kind of hosts are you trying to graph ?

SUN SPARC and x86 with Solaris and Linux (SuSe)

03/13/2008 04:50:10 PM - CMDPHP: Poller[0] Host[158] DS[4416] WARNING: Result from SNMP not valid. Partial Result: No Such Object avail

Backup Server (xxxxde) - Traffic - x.x.x./nge0 SNMP Version: 2, Community: public, OID: .1.3.6.1.2.1.31.1.1.1.10.2
RRD: /opt/cacti/web-root/share/htdocs/cacti/rra/xxxx_traffic_in_4416.rrd
Backup Server (xxxxxde) - Traffic - x.x.x.x/nge0 SNMP Version: 2, Community: public, OID: .1.3.6.1.2.1.31.1.1.1.6.2
Back to top
kasimong



Joined: 02 Oct 2007
Posts: 34
Location: Bremerhaven,Bremen,Germany

PostPosted: Thu Mar 13, 2008 10:59 am    Post subject: Reply with quote

kasimong wrote:
fmangeant wrote:
What kind of hosts are you trying to graph ?

SUN SPARC and x86 with Solaris and Linux (SuSe)

03/13/2008 04:50:10 PM - CMDPHP: Poller[0] Host[158] DS[4416] WARNING: Result from SNMP not valid. Partial Result: No Such Object avail

Backup Server (xxxxde) - Traffic - x.x.x./nge0 SNMP Version: 2, Community: public, OID: .1.3.6.1.2.1.31.1.1.1.10.2
RRD: /opt/cacti/web-root/share/htdocs/cacti/rra/xxxx_traffic_in_4416.rrd
Backup Server (xxxxxde) - Traffic - x.x.x.x/nge0 SNMP Version: 2, Community: public, OID: .1.3.6.1.2.1.31.1.1.1.6.2


snmpget -c public xxxxxx .1.3.6.1.2.1.31.1.1.1.10.2 .1.3.6.1.2.1.31.1.1.1.6.2
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: IF-MIB::ifHCInOctets.2

Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: IF-MIB::ifHCOutOctets.2
Back to top
BSOD2600
Cacti Moderator


Joined: 08 May 2004
Posts: 6660
Location: WA, USA

PostPosted: Thu Mar 13, 2008 1:20 pm    Post subject: Reply with quote

your device doesn't support the 64bit counters.
Back to top
Super-Mike



Joined: 26 Jan 2006
Posts: 21

PostPosted: Fri Apr 11, 2008 5:53 am    Post subject: Reply with quote

My problem was solved.

The problem was that on my L2 switch (Edge-Core)
for storage passed through traffic used 32 bit type, even if on SNMP it is used 64 bit counters

As is known, in 32 bit type it is possible to write 2^32 = 4294967296

switch writes the traffic passed through in this field and if it reaches the maximal value, nulls it.

Speed is calculated: ([current quantity of traffic] - [quantity of traffic in the last poller interrogation]) / time of interrogation

but in fact counter can be nulled more than 1 time
and values will be incorrect

My calculations show, that at 5 minute poller interval maximal speed can be 110 MBit/s.

For this time only can be downloaded 4294967296 bytes.

To solve a problem it is necessary to reduce time of interrogation of devices.
After reduction of time from 5 minutes to 1 minute, trends have come to a normal form.
Back to top
frdrk



Joined: 06 Jul 2007
Posts: 41

PostPosted: Sat May 17, 2008 4:48 am    Post subject: Reply with quote

Hi!

First of all; great guide. I have alot of graphs on an old cacti install that is using 32-bit counters that now has started to roll over. Is there any way to change them to 64-bit counters and still use the same rrd/graph so I can have history etc? Or do I need to make completely new graphs?
Back to top
gigglesworth



Joined: 25 Jan 2006
Posts: 22

PostPosted: Wed Jun 11, 2008 1:46 pm    Post subject: Reply with quote

Thanks for the tip!

Can anyone tell me how to change my existing graphs to use the 64-bit counters instead of the regular 32-bit counters?
Back to top
crashergs



Joined: 23 May 2008
Posts: 39

PostPosted: Fri Aug 01, 2008 8:41 am    Post subject: Reply with quote

You need to delete your old graphs and recreate to 64bit

Question: Can 100MB ports use the 64bit graphs? It will be time consuming to choose each individual 1GB port from switches to use 64bit counters and the 100MB selected to 32bit.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Informational/HOWTO's All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group