|
|
| Author |
Message |
fmangeant Cacti Guru User
Joined: 19 Sep 2003 Posts: 2325 Location: Sophia-Antipolis, France
|
Posted: Mon Nov 26, 2007 9:28 am Post subject: [INFO] My traffic graphs won't exceed 114 mbit/s |
|
|
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
|
Posted: Sat Jan 26, 2008 4:49 am Post subject: |
|
|
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
| Description: |
|
| Filesize: |
31.74 KB |
| Viewed: |
8392 Time(s) |

|
| Description: |
|
| Filesize: |
31.87 KB |
| Viewed: |
8392 Time(s) |

|
|
|
| Back to top |
|
 |
abdulcc Cacti User
Joined: 14 Jul 2006 Posts: 52
|
Posted: Fri Mar 07, 2008 3:13 am Post subject: How do I check I am using 64 bits counters in cacti |
|
|
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
|
Posted: Fri Mar 07, 2008 3:44 am Post subject: |
|
|
| Did you delete / recreate your graphs using the 64-bit graph template ?
|
|
| Back to top |
|
 |
abdulcc Cacti User
Joined: 14 Jul 2006 Posts: 52
|
Posted: Fri Mar 07, 2008 6:25 am Post subject: I do not have the 64 bit graph template |
|
|
Where I can I get it?
Thanks
|
|
| Back to top |
|
 |
abdulcc Cacti User
Joined: 14 Jul 2006 Posts: 52
|
Posted: Fri Mar 07, 2008 7:09 am Post subject: I am so stupid |
|
|
I got it fixed. Hopefully It will display properly from now on.
Thanks
Regards
|
|
| Back to top |
|
 |
kasimong
Joined: 02 Oct 2007 Posts: 35 Location: Bremerhaven,Bremen,Germany
|
Posted: Thu Mar 13, 2008 10:15 am Post subject: |
|
|
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
|
Posted: Thu Mar 13, 2008 10:20 am Post subject: |
|
|
| What kind of hosts are you trying to graph ?
|
|
| Back to top |
|
 |
kasimong
Joined: 02 Oct 2007 Posts: 35 Location: Bremerhaven,Bremen,Germany
|
Posted: Thu Mar 13, 2008 10:49 am Post subject: |
|
|
| 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: 35 Location: Bremerhaven,Bremen,Germany
|
Posted: Thu Mar 13, 2008 10:59 am Post subject: |
|
|
| 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: 6769 Location: WA, USA
|
Posted: Thu Mar 13, 2008 1:20 pm Post subject: |
|
|
| your device doesn't support the 64bit counters.
|
|
| Back to top |
|
 |
Super-Mike
Joined: 26 Jan 2006 Posts: 21
|
Posted: Fri Apr 11, 2008 5:53 am Post subject: |
|
|
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
|
Posted: Sat May 17, 2008 4:48 am Post subject: |
|
|
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
|
Posted: Wed Jun 11, 2008 1:46 pm Post subject: |
|
|
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 Cacti User
Joined: 23 May 2008 Posts: 51
|
Posted: Fri Aug 01, 2008 8:41 am Post subject: |
|
|
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 |
|
 |
|