Discussion:
Getting 64-bit interface counters to work
ebogaard
2013-08-06 08:32:56 UTC
Permalink
ebogaard [http://community.zenoss.org/people/ebogaard] created the discussion

"Getting 64-bit interface counters to work"

To view the discussion, visit: http://community.zenoss.org/message/74302#74302

--------------------------------------------------------------
For some time, I'm a happy user of Zenoss 3.x and 4.x. At the moment I'm using 4.2.4.
One thing is bugging me though: for one device, I can't get the interfaces to be detected as 64 bit (ethernetCsmacd_64) counters. It keeps on detecting them as 32 bit (ethernetCsmacd), which is screwing up my graphs.

As I manage several decvices with Puppet, I can say that they all run on Centos 6.4 x64 and the same version of snmpd, which is configured the same.
On all other devices the interfaces are detected as ethernetCsmacd_64, just this one won't.

When I do a "snmpwalk -v 2c -c XXXX localhost ifXTable", this is the result on all machines:

IF-MIB::ifName.1 = STRING: lo
IF-MIB::ifName.2 = STRING: eth0
IF-MIB::ifName.3 = STRING: eth1
IF-MIB::ifName.4 = STRING: eth2
IF-MIB::ifInMulticastPkts.1 = Counter32: 0
IF-MIB::ifInMulticastPkts.2 = Counter32: 0
IF-MIB::ifInMulticastPkts.3 = Counter32: 0
IF-MIB::ifInMulticastPkts.4 = Counter32: 0
IF-MIB::ifInBroadcastPkts.1 = Counter32: 0
IF-MIB::ifInBroadcastPkts.2 = Counter32: 0
IF-MIB::ifInBroadcastPkts.3 = Counter32: 0
IF-MIB::ifInBroadcastPkts.4 = Counter32: 0
IF-MIB::ifOutMulticastPkts.1 = Counter32: 0
IF-MIB::ifOutMulticastPkts.2 = Counter32: 0
IF-MIB::ifOutMulticastPkts.3 = Counter32: 0
IF-MIB::ifOutMulticastPkts.4 = Counter32: 0
IF-MIB::ifOutBroadcastPkts.1 = Counter32: 0
IF-MIB::ifOutBroadcastPkts.2 = Counter32: 0
IF-MIB::ifOutBroadcastPkts.3 = Counter32: 0
IF-MIB::ifOutBroadcastPkts.4 = Counter32: 0
IF-MIB::ifHCInOctets.1 = Counter64: 1483099009
IF-MIB::ifHCInOctets.2 = Counter64: 8168752037
IF-MIB::ifHCInOctets.3 = Counter64: 22644868
IF-MIB::ifHCInOctets.4 = Counter64: 73120355494
IF-MIB::ifHCInUcastPkts.1 = Counter64: 2878117
IF-MIB::ifHCInUcastPkts.2 = Counter64: 26641161
IF-MIB::ifHCInUcastPkts.3 = Counter64: 294278
IF-MIB::ifHCInUcastPkts.4 = Counter64: 104426611
IF-MIB::ifHCInMulticastPkts.1 = Counter64: 0
IF-MIB::ifHCInMulticastPkts.2 = Counter64: 0
IF-MIB::ifHCInMulticastPkts.3 = Counter64: 0
IF-MIB::ifHCInMulticastPkts.4 = Counter64: 0
IF-MIB::ifHCInBroadcastPkts.1 = Counter64: 0
IF-MIB::ifHCInBroadcastPkts.2 = Counter64: 0
IF-MIB::ifHCInBroadcastPkts.3 = Counter64: 0
IF-MIB::ifHCInBroadcastPkts.4 = Counter64: 0
IF-MIB::ifHCOutOctets.1 = Counter64: 1483099009
IF-MIB::ifHCOutOctets.2 = Counter64: 6738348806
IF-MIB::ifHCOutOctets.3 = Counter64: 441572
IF-MIB::ifHCOutOctets.4 = Counter64: 22078526257
IF-MIB::ifHCOutUcastPkts.1 = Counter64: 2878117
IF-MIB::ifHCOutUcastPkts.2 = Counter64: 16343981
IF-MIB::ifHCOutUcastPkts.3 = Counter64: 10504
IF-MIB::ifHCOutUcastPkts.4 = Counter64: 97467409
IF-MIB::ifHCOutMulticastPkts.1 = Counter64: 0
IF-MIB::ifHCOutMulticastPkts.2 = Counter64: 0
IF-MIB::ifHCOutMulticastPkts.3 = Counter64: 0
IF-MIB::ifHCOutMulticastPkts.4 = Counter64: 0
IF-MIB::ifHCOutBroadcastPkts.1 = Counter64: 0
IF-MIB::ifHCOutBroadcastPkts.2 = Counter64: 0
IF-MIB::ifHCOutBroadcastPkts.3 = Counter64: 0
IF-MIB::ifHCOutBroadcastPkts.4 = Counter64: 0
IF-MIB::ifHighSpeed.1 = Gauge32: 1000
IF-MIB::ifHighSpeed.2 = Gauge32: 1000
IF-MIB::ifHighSpeed.3 = Gauge32: 1000
IF-MIB::ifHighSpeed.4 = Gauge32: 1000
IF-MIB::ifPromiscuousMode.1 = INTEGER: false(2)
IF-MIB::ifPromiscuousMode.2 = INTEGER: false(2)
IF-MIB::ifPromiscuousMode.3 = INTEGER: false(2)
IF-MIB::ifPromiscuousMode.4 = INTEGER: false(2)
IF-MIB::ifConnectorPresent.2 = INTEGER: true(1)
IF-MIB::ifConnectorPresent.3 = INTEGER: true(1)
IF-MIB::ifConnectorPresent.4 = INTEGER: true(1)
IF-MIB::ifAlias.1 = STRING:
IF-MIB::ifAlias.2 = STRING:
IF-MIB::ifAlias.3 = STRING:
IF-MIB::ifAlias.4 = STRING:
IF-MIB::ifCounterDiscontinuityTime.1 = Timeticks: (0) 0:00:00.00
IF-MIB::ifCounterDiscontinuityTime.2 = Timeticks: (0) 0:00:00.00
IF-MIB::ifCounterDiscontinuityTime.3 = Timeticks: (0) 0:00:00.00
IF-MIB::ifCounterDiscontinuityTime.4 = Timeticks: (0) 0:00:00.00

So it mentions 'Counter64', which seems 64 bit to me.
When I remodel the device, nothing changes. I even tried removing and re-adding the device, with no effect. I also restarted snmpd without effect.
In snmpd.conf, I explicitly set the devices to Gbit-speed, so it would be recognized as a high Capacity one, also wioth no effect.

interface lo 24 1000000000
interface eth0 6 1000000000
interface eth1 6 1000000000
interface eth2 6 1000000000

Ca anyone help me debug this?
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/74302#74302]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...