[SOLVED] 64-bit counter graphs : the usual don't work

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

Moderators: Developers, Moderators

Post Reply
laedrus
Posts: 27
Joined: Fri Mar 07, 2008 10:28 am

[SOLVED] 64-bit counter graphs : the usual don't work

Post by laedrus »

Hello there,

I am having some problems with cacti graphs, the values are very below the expected, i am collecting data from a Cisco Catalyst 3750 from its SNMP, it is well configured, because cacti sees all interfaces and VLANs, i can even do a "normal" graph, but as i said above, the values are strange, always below 2 Kbps.

This problem was expected, other people before me have experienced that.

So i saw in this forum, that the solution was to create graphs with 64 bit counters.

I tried this, but the graph is simply in blank, and i had waited one day for data collection, it makes me think that there is no data about this to be collected, or some problem in this way.

Finally the question: what s the difference about the "normal" graph, and the graph with 64-bit counters?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

64 bit counters are reported using different OIDs. It's not mandatory to support those. So, unfortunately, you will find devices that only report the standard interface counters.
To verify, please goto "System Utilities -> View Poller Cache", filter for your host and find those OIDs.
Then, perform

Code: Select all

snmpwalk -c ... -v2c <device> .1.3.....
(replace with the OID found in the Poller Cache). If you don't get data, even cacti won't perform a miracle here :wink:
Reinhard
laedrus
Posts: 27
Joined: Fri Mar 07, 2008 10:28 am

Solved

Post by laedrus »

It looks like the 64 bit counters "supports reading" of speeds up to 114 Mbps, and this 64 bit counters are an implementation in the SNMP 2c protocol, after i configured it on the cisco, everything goes fine and i graph speeds nearly 500 Mbps, admin, can "solve" this topic, or remove if you wish.
halo13
Posts: 1
Joined: Tue Apr 01, 2008 3:39 pm

Post by halo13 »

Seeing that my problem is similar I'll just post here...

The device being polled is a Juniper IDP box. When graphing a single interface traffic I'm most likely getting a counter rollover with a 32-bit counter, however graph with a 64-bit counter is blank. Here's snmpwalk output:
$ snmpwalk -c <community> -v2c <ip> .1.3.<snip>6.4
IF-MIB::ifHCInOctets.4 = Counter64: 167120586339015

$ snmpwalk -c <community> -v2c <ip> .1.3.<snip>10.4
IF-MIB::ifHCOutOctets.4 = Counter64: 0
OIDs are from the poller cache. Cacti is on RHEL5 box.

Looks like I'm getting data from the device but it's not being graphed. Any suggestions?
laedrus
Posts: 27
Joined: Fri Mar 07, 2008 10:28 am

Post by laedrus »

I've passed for it too.

It seems that you configured on the polled device, only SNMP V1

Try to enable or configure a SNMP 2c community, this solved my problem.

I saw a comparative table of versions of SNMP, and it seems that 64 bit counters are an implementation of version 2c
Post Reply

Who is online

Users browsing this forum: albanepl63 and 3 guests