Gigabit Ethernet

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

Moderators: Developers, Moderators

mytux

Gigabit Ethernet

Post by mytux »

Hello,

I know this subject has been discussed many times, but I think I still miss something.

I changed my 6 old Fast Ethernet to have 6 Gig Ethernet in one router and I cannot graph them. I'm using Linux Debian Sarge and cacti 0.8.6c (packaged by debian).
This router is a Dual Xeon. All my system is x86_64.

In another post, I've seen somebody saying :
1) You will need to adjust your Max Value in the Data Templates for Interfaces.
2) You will need to utilize SNMP v2/v3
3) You need to select one of the 64bit counter graphs in Cacti. When creating graphs, you will see them on the drop down.
1) I changed in Data Templates -> Interface - Traffic -> Maximum Value to 1000000000.

2) I created a new device with snmp v2

3) I tried to create graphs in "new graph" with In/Out Bits (64-bit Counters)

And then, all my graphs are blank and the value shows "nan".
I made a rrdtool info on one rra :

Code: Select all

ds[traffic_out].type = "COUNTER"
ds[traffic_out].minimal_heartbeat = 600
ds[traffic_out].min = 0.0000000000e+00
ds[traffic_out].max = 1.0000000000e+09
ds[traffic_out].last_ds = "U"
ds[traffic_out].value = 0.0000000000e+00
ds[traffic_out].unknown_sec = 3
ds[traffic_in].type = "COUNTER"
ds[traffic_in].minimal_heartbeat = 600
ds[traffic_in].min = 0.0000000000e+00
ds[traffic_in].max = 1.0000000000e+09
ds[traffic_in].last_ds = "U"
ds[traffic_in].value = 0.0000000000e+00
ds[traffic_in].unknown_sec = 3
...
It shows that I changed the value correctly to have Gigabit instead of Fast Ethernet.

The router has NET SNMP 5.1.2 (packaged by debian), and the server where cacti is installed has the same version.

Did I missed something ?

Thanks in advance.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Some (odd) devices support GB interfaces but not SNMPV2/64 bit counters. So please walk the interface MIB for this host and verify that MIBII compliant 64 bit counters are reported
Reinhard
mytux

Post by mytux »

So, I made a :

Code: Select all

snmpwalk -v 2c -c public $HOST  .1.3.6.1.2.1.2.2.1
here's the output (sorry it's a little bit long, i've got 6 interfaces and many vlan on this server):
IF-MIB::ifIndex.1 = INTEGER: 1
IF-MIB::ifIndex.2 = INTEGER: 2
IF-MIB::ifIndex.3 = INTEGER: 3
IF-MIB::ifIndex.4 = INTEGER: 4
IF-MIB::ifIndex.5 = INTEGER: 5
IF-MIB::ifIndex.6 = INTEGER: 6
IF-MIB::ifIndex.7 = INTEGER: 7
IF-MIB::ifIndex.8 = INTEGER: 8
IF-MIB::ifIndex.9 = INTEGER: 9
IF-MIB::ifIndex.10 = INTEGER: 10
IF-MIB::ifIndex.11 = INTEGER: 11
IF-MIB::ifIndex.12 = INTEGER: 12
IF-MIB::ifIndex.13 = INTEGER: 13
IF-MIB::ifIndex.14 = INTEGER: 14
IF-MIB::ifIndex.15 = INTEGER: 15
IF-MIB::ifIndex.16 = INTEGER: 16
IF-MIB::ifIndex.17 = INTEGER: 17
IF-MIB::ifIndex.18 = INTEGER: 18
IF-MIB::ifIndex.19 = INTEGER: 19
IF-MIB::ifIndex.20 = INTEGER: 20
IF-MIB::ifIndex.21 = INTEGER: 21
IF-MIB::ifIndex.22 = INTEGER: 22
IF-MIB::ifIndex.23 = INTEGER: 23
IF-MIB::ifIndex.24 = INTEGER: 24
IF-MIB::ifIndex.25 = INTEGER: 25
IF-MIB::ifIndex.26 = INTEGER: 26
IF-MIB::ifIndex.27 = INTEGER: 27
IF-MIB::ifDescr.1 = STRING: eth2
IF-MIB::ifDescr.2 = STRING: eth1
IF-MIB::ifDescr.3 = STRING: eth0
IF-MIB::ifDescr.4 = STRING: eth3
IF-MIB::ifDescr.5 = STRING: eth4
IF-MIB::ifDescr.6 = STRING: eth5
IF-MIB::ifDescr.7 = STRING: bond0
IF-MIB::ifDescr.8 = STRING: lo
IF-MIB::ifDescr.9 = STRING: dummy0
IF-MIB::ifDescr.10 = STRING: eql
IF-MIB::ifDescr.11 = STRING: eth0.5
IF-MIB::ifDescr.12 = STRING: eth0.6
IF-MIB::ifDescr.13 = STRING: eth0.7
IF-MIB::ifDescr.14 = STRING: eth0.11
IF-MIB::ifDescr.15 = STRING: eth0.13
IF-MIB::ifDescr.16 = STRING: eth0.14
IF-MIB::ifDescr.17 = STRING: eth0.201
IF-MIB::ifDescr.18 = STRING: eth0.204
IF-MIB::ifDescr.19 = STRING: eth0.206
IF-MIB::ifDescr.20 = STRING: eth0.209
IF-MIB::ifDescr.21 = STRING: eth0.211
IF-MIB::ifDescr.22 = STRING: eth0.902
IF-MIB::ifDescr.23 = STRING: eth3.5
IF-MIB::ifDescr.24 = STRING: eth3.14
IF-MIB::ifDescr.25 = STRING: eth3.176
IF-MIB::ifDescr.26 = STRING: eth3.205
IF-MIB::ifDescr.27 = STRING: sit0
IF-MIB::ifType.1 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.2 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.3 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.4 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.5 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.6 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.7 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.8 = INTEGER: softwareLoopback(24)
IF-MIB::ifType.9 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.10 = INTEGER: slip(28)
IF-MIB::ifType.11 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.12 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.13 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.14 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.15 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.16 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.17 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.18 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.19 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.20 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.21 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.22 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.23 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.24 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.25 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.26 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.27 = INTEGER: tunnel(131)
IF-MIB::ifMtu.1 = INTEGER: 1500
IF-MIB::ifMtu.2 = INTEGER: 1500
IF-MIB::ifMtu.3 = INTEGER: 1500
IF-MIB::ifMtu.4 = INTEGER: 1500
IF-MIB::ifMtu.5 = INTEGER: 1500
IF-MIB::ifMtu.6 = INTEGER: 1500
IF-MIB::ifMtu.7 = INTEGER: 1500
IF-MIB::ifMtu.8 = INTEGER: 16436
IF-MIB::ifMtu.9 = INTEGER: 1500
IF-MIB::ifMtu.10 = INTEGER: 576
IF-MIB::ifMtu.11 = INTEGER: 1500
IF-MIB::ifMtu.12 = INTEGER: 1500
IF-MIB::ifMtu.13 = INTEGER: 1500
IF-MIB::ifMtu.14 = INTEGER: 1500
IF-MIB::ifMtu.15 = INTEGER: 1500
IF-MIB::ifMtu.16 = INTEGER: 1500
IF-MIB::ifMtu.17 = INTEGER: 1500
IF-MIB::ifMtu.18 = INTEGER: 1500
IF-MIB::ifMtu.19 = INTEGER: 1500
IF-MIB::ifMtu.20 = INTEGER: 1500
IF-MIB::ifMtu.21 = INTEGER: 1500
IF-MIB::ifMtu.22 = INTEGER: 1500
IF-MIB::ifMtu.23 = INTEGER: 1500
IF-MIB::ifMtu.24 = INTEGER: 1500
IF-MIB::ifMtu.25 = INTEGER: 1500
IF-MIB::ifMtu.26 = INTEGER: 1500
IF-MIB::ifMtu.27 = INTEGER: 1480
IF-MIB::ifSpeed.1 = Gauge32: 1000000000
IF-MIB::ifSpeed.2 = Gauge32: 1000000000
IF-MIB::ifSpeed.3 = Gauge32: 1000000000
IF-MIB::ifSpeed.4 = Gauge32: 1000000000
IF-MIB::ifSpeed.5 = Gauge32: 1000000000
IF-MIB::ifSpeed.6 = Gauge32: 1000000000
IF-MIB::ifSpeed.7 = Gauge32: 10000000
IF-MIB::ifSpeed.8 = Gauge32: 10000000
IF-MIB::ifSpeed.9 = Gauge32: 10000000
IF-MIB::ifSpeed.10 = Gauge32: 0
IF-MIB::ifSpeed.11 = Gauge32: 1000000000
IF-MIB::ifSpeed.12 = Gauge32: 1000000000
IF-MIB::ifSpeed.13 = Gauge32: 1000000000
IF-MIB::ifSpeed.14 = Gauge32: 1000000000
IF-MIB::ifSpeed.15 = Gauge32: 1000000000
IF-MIB::ifSpeed.16 = Gauge32: 1000000000
IF-MIB::ifSpeed.17 = Gauge32: 1000000000
IF-MIB::ifSpeed.18 = Gauge32: 1000000000
IF-MIB::ifSpeed.19 = Gauge32: 1000000000
IF-MIB::ifSpeed.20 = Gauge32: 1000000000
IF-MIB::ifSpeed.21 = Gauge32: 1000000000
IF-MIB::ifSpeed.22 = Gauge32: 1000000000
IF-MIB::ifSpeed.23 = Gauge32: 1000000000
IF-MIB::ifSpeed.24 = Gauge32: 1000000000
IF-MIB::ifSpeed.25 = Gauge32: 1000000000
IF-MIB::ifSpeed.26 = Gauge32: 1000000000
IF-MIB::ifSpeed.27 = Gauge32: 0
IF-MIB::ifPhysAddress.1 = STRING: 0:7:e9:0:44:16
IF-MIB::ifPhysAddress.2 = STRING: 0:7:e9:0:44:17
IF-MIB::ifPhysAddress.3 = STRING: 0:4:23:c3:85:bc
IF-MIB::ifPhysAddress.4 = STRING: 0:4:23:c3:85:bd
IF-MIB::ifPhysAddress.5 = STRING: 0:30:48:75:eb:6
IF-MIB::ifPhysAddress.6 = STRING: 0:30:48:75:eb:7
IF-MIB::ifPhysAddress.7 = STRING:
IF-MIB::ifPhysAddress.8 = STRING:
IF-MIB::ifPhysAddress.9 = STRING: 1e:e0:8c:cb:ac:d7
IF-MIB::ifPhysAddress.10 = STRING:
IF-MIB::ifPhysAddress.11 = STRING: 0:4:23:c3:85:bc
IF-MIB::ifPhysAddress.12 = STRING: 0:4:23:c3:85:bc
IF-MIB::ifPhysAddress.13 = STRING: 0:4:23:c3:85:bc
IF-MIB::ifPhysAddress.14 = STRING: 0:4:23:c3:85:bc
IF-MIB::ifPhysAddress.15 = STRING: 0:4:23:c3:85:bc
IF-MIB::ifPhysAddress.16 = STRING: 0:4:23:c3:85:bc
IF-MIB::ifPhysAddress.17 = STRING: 0:4:23:c3:85:bc
IF-MIB::ifPhysAddress.18 = STRING: 0:4:23:c3:85:bc
IF-MIB::ifPhysAddress.19 = STRING: 0:4:23:c3:85:bc
IF-MIB::ifPhysAddress.20 = STRING: 0:4:23:c3:85:bc
IF-MIB::ifPhysAddress.21 = STRING: 0:4:23:c3:85:bc
IF-MIB::ifPhysAddress.22 = STRING: 0:4:23:c3:85:bc
IF-MIB::ifPhysAddress.23 = STRING: 0:4:23:c3:85:bd
IF-MIB::ifPhysAddress.24 = STRING: 0:4:23:c3:85:bd
IF-MIB::ifPhysAddress.25 = STRING: 0:4:23:c3:85:bd
IF-MIB::ifPhysAddress.26 = STRING: 0:4:23:c3:85:bd
IF-MIB::ifPhysAddress.27 = STRING: 0:0:0:0:85:bd
IF-MIB::ifAdminStatus.1 = INTEGER: up(1)
IF-MIB::ifAdminStatus.2 = INTEGER: down(2)
IF-MIB::ifAdminStatus.3 = INTEGER: up(1)
IF-MIB::ifAdminStatus.4 = INTEGER: up(1)
IF-MIB::ifAdminStatus.5 = INTEGER: down(2)
IF-MIB::ifAdminStatus.6 = INTEGER: down(2)
IF-MIB::ifAdminStatus.7 = INTEGER: down(2)
IF-MIB::ifAdminStatus.8 = INTEGER: up(1)
IF-MIB::ifAdminStatus.9 = INTEGER: down(2)
IF-MIB::ifAdminStatus.10 = INTEGER: down(2)
IF-MIB::ifAdminStatus.11 = INTEGER: up(1)
IF-MIB::ifAdminStatus.12 = INTEGER: up(1)
IF-MIB::ifAdminStatus.13 = INTEGER: up(1)
IF-MIB::ifAdminStatus.14 = INTEGER: up(1)
IF-MIB::ifAdminStatus.15 = INTEGER: up(1)
IF-MIB::ifAdminStatus.16 = INTEGER: up(1)
IF-MIB::ifAdminStatus.17 = INTEGER: up(1)
IF-MIB::ifAdminStatus.18 = INTEGER: up(1)
IF-MIB::ifAdminStatus.19 = INTEGER: up(1)
IF-MIB::ifAdminStatus.20 = INTEGER: up(1)
IF-MIB::ifAdminStatus.21 = INTEGER: up(1)
IF-MIB::ifAdminStatus.22 = INTEGER: up(1)
IF-MIB::ifAdminStatus.23 = INTEGER: up(1)
IF-MIB::ifAdminStatus.24 = INTEGER: down(2)
IF-MIB::ifAdminStatus.25 = INTEGER: up(1)
IF-MIB::ifAdminStatus.26 = INTEGER: up(1)
IF-MIB::ifAdminStatus.27 = INTEGER: down(2)
IF-MIB::ifOperStatus.1 = INTEGER: up(1)
IF-MIB::ifOperStatus.2 = INTEGER: down(2)
IF-MIB::ifOperStatus.3 = INTEGER: up(1)
IF-MIB::ifOperStatus.4 = INTEGER: up(1)
IF-MIB::ifOperStatus.5 = INTEGER: down(2)
IF-MIB::ifOperStatus.6 = INTEGER: down(2)
IF-MIB::ifOperStatus.7 = INTEGER: down(2)
IF-MIB::ifOperStatus.8 = INTEGER: up(1)
IF-MIB::ifOperStatus.9 = INTEGER: down(2)
IF-MIB::ifOperStatus.10 = INTEGER: down(2)
IF-MIB::ifOperStatus.11 = INTEGER: up(1)
IF-MIB::ifOperStatus.12 = INTEGER: up(1)
IF-MIB::ifOperStatus.13 = INTEGER: up(1)
IF-MIB::ifOperStatus.14 = INTEGER: up(1)
IF-MIB::ifOperStatus.15 = INTEGER: up(1)
IF-MIB::ifOperStatus.16 = INTEGER: up(1)
IF-MIB::ifOperStatus.17 = INTEGER: up(1)
IF-MIB::ifOperStatus.18 = INTEGER: up(1)
IF-MIB::ifOperStatus.19 = INTEGER: up(1)
IF-MIB::ifOperStatus.20 = INTEGER: up(1)
IF-MIB::ifOperStatus.21 = INTEGER: up(1)
IF-MIB::ifOperStatus.22 = INTEGER: up(1)
IF-MIB::ifOperStatus.23 = INTEGER: up(1)
IF-MIB::ifOperStatus.24 = INTEGER: down(2)
IF-MIB::ifOperStatus.25 = INTEGER: up(1)
IF-MIB::ifOperStatus.26 = INTEGER: up(1)
IF-MIB::ifOperStatus.27 = INTEGER: down(2)
IF-MIB::ifInOctets.1 = Counter32: 2
IF-MIB::ifInOctets.2 = Counter32: 0
IF-MIB::ifInOctets.3 = Counter32: 0
IF-MIB::ifInOctets.4 = Counter32: 0
IF-MIB::ifInOctets.5 = Counter32: 0
IF-MIB::ifInOctets.6 = Counter32: 0
IF-MIB::ifInOctets.7 = Counter32: 0
IF-MIB::ifInOctets.8 = Counter32: 2030063
IF-MIB::ifInOctets.9 = Counter32: 0
IF-MIB::ifInOctets.10 = Counter32: 0
IF-MIB::ifInOctets.11 = Counter32: 0
IF-MIB::ifInOctets.12 = Counter32: 0
IF-MIB::ifInOctets.13 = Counter32: 0
IF-MIB::ifInOctets.14 = Counter32: 0
IF-MIB::ifInOctets.15 = Counter32: 0
IF-MIB::ifInOctets.16 = Counter32: 1127842
IF-MIB::ifInOctets.17 = Counter32: 1127842
IF-MIB::ifInOctets.18 = Counter32: 1127842
IF-MIB::ifInOctets.19 = Counter32: 1127842
IF-MIB::ifInOctets.20 = Counter32: 3229252394
IF-MIB::ifInOctets.21 = Counter32: 11360891
IF-MIB::ifInOctets.22 = Counter32: 11360891
IF-MIB::ifInOctets.23 = Counter32: 11360891
IF-MIB::ifInOctets.24 = Counter32: 0
IF-MIB::ifInOctets.25 = Counter32: 0
IF-MIB::ifInOctets.26 = Counter32: 0
IF-MIB::ifInOctets.27 = Counter32: 0
IF-MIB::ifInUcastPkts.1 = Counter32: 0
IF-MIB::ifInUcastPkts.2 = Counter32: 0
IF-MIB::ifInUcastPkts.3 = Counter32: 0
IF-MIB::ifInUcastPkts.4 = Counter32: 437519485
IF-MIB::ifInUcastPkts.5 = Counter32: 0
IF-MIB::ifInUcastPkts.6 = Counter32: 0
IF-MIB::ifInUcastPkts.7 = Counter32: 0
IF-MIB::ifInUcastPkts.8 = Counter32: 45722
IF-MIB::ifInUcastPkts.9 = Counter32: 0
IF-MIB::ifInUcastPkts.10 = Counter32: 0
IF-MIB::ifInUcastPkts.11 = Counter32: 34264111
IF-MIB::ifInUcastPkts.12 = Counter32: 58753392
IF-MIB::ifInUcastPkts.13 = Counter32: 634498006
IF-MIB::ifInUcastPkts.14 = Counter32: 6918694
IF-MIB::ifInUcastPkts.15 = Counter32: 6918694
IF-MIB::ifInUcastPkts.16 = Counter32: 15497
IF-MIB::ifInUcastPkts.17 = Counter32: 22150595
IF-MIB::ifInUcastPkts.18 = Counter32: 526369294
IF-MIB::ifInUcastPkts.19 = Counter32: 14358832
IF-MIB::ifInUcastPkts.20 = Counter32: 4679474
IF-MIB::ifInUcastPkts.21 = Counter32: 157226
IF-MIB::ifInUcastPkts.22 = Counter32: 157226
IF-MIB::ifInUcastPkts.23 = Counter32: 329397620
IF-MIB::ifInUcastPkts.24 = Counter32: 0
IF-MIB::ifInUcastPkts.25 = Counter32: 25466614
IF-MIB::ifInUcastPkts.26 = Counter32: 82655271
IF-MIB::ifInUcastPkts.27 = Counter32: 0
IF-MIB::ifInDiscards.1 = Counter32: 1640
IF-MIB::ifInDiscards.2 = Counter32: 0
IF-MIB::ifInDiscards.3 = Counter32: 1574654
IF-MIB::ifInDiscards.4 = Counter32: 0
IF-MIB::ifInDiscards.5 = Counter32: 0
IF-MIB::ifInDiscards.6 = Counter32: 0
IF-MIB::ifInDiscards.7 = Counter32: 0
IF-MIB::ifInDiscards.8 = Counter32: 0
IF-MIB::ifInDiscards.9 = Counter32: 0
IF-MIB::ifInDiscards.10 = Counter32: 0
IF-MIB::ifInDiscards.11 = Counter32: 0
IF-MIB::ifInDiscards.12 = Counter32: 0
IF-MIB::ifInDiscards.13 = Counter32: 0
IF-MIB::ifInDiscards.14 = Counter32: 0
IF-MIB::ifInDiscards.15 = Counter32: 0
IF-MIB::ifInDiscards.16 = Counter32: 0
IF-MIB::ifInDiscards.17 = Counter32: 0
IF-MIB::ifInDiscards.18 = Counter32: 0
IF-MIB::ifInDiscards.19 = Counter32: 0
IF-MIB::ifInDiscards.20 = Counter32: 0
IF-MIB::ifInDiscards.21 = Counter32: 0
IF-MIB::ifInDiscards.22 = Counter32: 0
IF-MIB::ifInDiscards.23 = Counter32: 0
IF-MIB::ifInDiscards.24 = Counter32: 0
IF-MIB::ifInDiscards.25 = Counter32: 0
IF-MIB::ifInDiscards.26 = Counter32: 0
IF-MIB::ifInDiscards.27 = Counter32: 0
IF-MIB::ifInErrors.1 = Counter32: 1640
IF-MIB::ifInErrors.2 = Counter32: 0
IF-MIB::ifInErrors.3 = Counter32: 1574654
IF-MIB::ifInErrors.4 = Counter32: 0
IF-MIB::ifInErrors.5 = Counter32: 0
IF-MIB::ifInErrors.6 = Counter32: 0
IF-MIB::ifInErrors.7 = Counter32: 0
IF-MIB::ifInErrors.8 = Counter32: 0
IF-MIB::ifInErrors.9 = Counter32: 0
IF-MIB::ifInErrors.10 = Counter32: 0
IF-MIB::ifInErrors.11 = Counter32: 0
IF-MIB::ifInErrors.12 = Counter32: 0
IF-MIB::ifInErrors.13 = Counter32: 0
IF-MIB::ifInErrors.14 = Counter32: 0
IF-MIB::ifInErrors.15 = Counter32: 0
IF-MIB::ifInErrors.16 = Counter32: 0
IF-MIB::ifInErrors.17 = Counter32: 0
IF-MIB::ifInErrors.18 = Counter32: 0
IF-MIB::ifInErrors.19 = Counter32: 0
IF-MIB::ifInErrors.20 = Counter32: 0
IF-MIB::ifInErrors.21 = Counter32: 0
IF-MIB::ifInErrors.22 = Counter32: 0
IF-MIB::ifInErrors.23 = Counter32: 0
IF-MIB::ifInErrors.24 = Counter32: 0
IF-MIB::ifInErrors.25 = Counter32: 0
IF-MIB::ifInErrors.26 = Counter32: 0
IF-MIB::ifInErrors.27 = Counter32: 0
IF-MIB::ifOutOctets.1 = Counter32: 0
IF-MIB::ifOutOctets.2 = Counter32: 0
IF-MIB::ifOutOctets.3 = Counter32: 0
IF-MIB::ifOutOctets.4 = Counter32: 0
IF-MIB::ifOutOctets.5 = Counter32: 0
IF-MIB::ifOutOctets.6 = Counter32: 0
IF-MIB::ifOutOctets.7 = Counter32: 0
IF-MIB::ifOutOctets.8 = Counter32: 2030063
IF-MIB::ifOutOctets.9 = Counter32: 0
IF-MIB::ifOutOctets.10 = Counter32: 0
IF-MIB::ifOutOctets.11 = Counter32: 0
IF-MIB::ifOutOctets.12 = Counter32: 0
IF-MIB::ifOutOctets.13 = Counter32: 0
IF-MIB::ifOutOctets.14 = Counter32: 1131972837
IF-MIB::ifOutOctets.15 = Counter32: 1131972837
IF-MIB::ifOutOctets.16 = Counter32: 1131972837
IF-MIB::ifOutOctets.17 = Counter32: 1131972837
IF-MIB::ifOutOctets.18 = Counter32: 1131972837
IF-MIB::ifOutOctets.19 = Counter32: 1595500945
IF-MIB::ifOutOctets.20 = Counter32: 1787309371
IF-MIB::ifOutOctets.21 = Counter32: 83624240
IF-MIB::ifOutOctets.22 = Counter32: 83624240
IF-MIB::ifOutOctets.23 = Counter32: 83624240
IF-MIB::ifOutOctets.24 = Counter32: 0
IF-MIB::ifOutOctets.25 = Counter32: 0
IF-MIB::ifOutOctets.26 = Counter32: 0
IF-MIB::ifOutOctets.27 = Counter32: 0
IF-MIB::ifOutUcastPkts.1 = Counter32: 0
IF-MIB::ifOutUcastPkts.2 = Counter32: 0
IF-MIB::ifOutUcastPkts.3 = Counter32: 0
IF-MIB::ifOutUcastPkts.4 = Counter32: 567636225
IF-MIB::ifOutUcastPkts.5 = Counter32: 0
IF-MIB::ifOutUcastPkts.6 = Counter32: 0
IF-MIB::ifOutUcastPkts.7 = Counter32: 0
IF-MIB::ifOutUcastPkts.8 = Counter32: 45722
IF-MIB::ifOutUcastPkts.9 = Counter32: 0
IF-MIB::ifOutUcastPkts.10 = Counter32: 0
IF-MIB::ifOutUcastPkts.11 = Counter32: 26492419
IF-MIB::ifOutUcastPkts.12 = Counter32: 44505195
IF-MIB::ifOutUcastPkts.13 = Counter32: 399941372
IF-MIB::ifOutUcastPkts.14 = Counter32: 5832987
IF-MIB::ifOutUcastPkts.15 = Counter32: 5832987
IF-MIB::ifOutUcastPkts.16 = Counter32: 5832987
IF-MIB::ifOutUcastPkts.17 = Counter32: 43553613
IF-MIB::ifOutUcastPkts.18 = Counter32: 222330959
IF-MIB::ifOutUcastPkts.19 = Counter32: 8721326
IF-MIB::ifOutUcastPkts.20 = Counter32: 5313692
IF-MIB::ifOutUcastPkts.21 = Counter32: 1248378
IF-MIB::ifOutUcastPkts.22 = Counter32: 3255324111
IF-MIB::ifOutUcastPkts.23 = Counter32: 463464481
IF-MIB::ifOutUcastPkts.24 = Counter32: 0
IF-MIB::ifOutUcastPkts.25 = Counter32: 32821529
IF-MIB::ifOutUcastPkts.26 = Counter32: 71350261
IF-MIB::ifOutUcastPkts.27 = Counter32: 0
IF-MIB::ifOutDiscards.1 = Counter32: 0
IF-MIB::ifOutDiscards.2 = Counter32: 0
IF-MIB::ifOutDiscards.3 = Counter32: 0
IF-MIB::ifOutDiscards.4 = Counter32: 0
IF-MIB::ifOutDiscards.5 = Counter32: 0
IF-MIB::ifOutDiscards.6 = Counter32: 0
IF-MIB::ifOutDiscards.7 = Counter32: 0
IF-MIB::ifOutDiscards.8 = Counter32: 0
IF-MIB::ifOutDiscards.9 = Counter32: 0
IF-MIB::ifOutDiscards.10 = Counter32: 0
IF-MIB::ifOutDiscards.11 = Counter32: 0
IF-MIB::ifOutDiscards.12 = Counter32: 0
IF-MIB::ifOutDiscards.13 = Counter32: 0
IF-MIB::ifOutDiscards.14 = Counter32: 0
IF-MIB::ifOutDiscards.15 = Counter32: 0
IF-MIB::ifOutDiscards.16 = Counter32: 0
IF-MIB::ifOutDiscards.17 = Counter32: 0
IF-MIB::ifOutDiscards.18 = Counter32: 0
IF-MIB::ifOutDiscards.19 = Counter32: 0
IF-MIB::ifOutDiscards.20 = Counter32: 0
IF-MIB::ifOutDiscards.21 = Counter32: 0
IF-MIB::ifOutDiscards.22 = Counter32: 0
IF-MIB::ifOutDiscards.23 = Counter32: 0
IF-MIB::ifOutDiscards.24 = Counter32: 0
IF-MIB::ifOutDiscards.25 = Counter32: 0
IF-MIB::ifOutDiscards.26 = Counter32: 0
IF-MIB::ifOutDiscards.27 = Counter32: 0
IF-MIB::ifOutErrors.1 = Counter32: 0
IF-MIB::ifOutErrors.2 = Counter32: 0
IF-MIB::ifOutErrors.3 = Counter32: 0
IF-MIB::ifOutErrors.4 = Counter32: 0
IF-MIB::ifOutErrors.5 = Counter32: 0
IF-MIB::ifOutErrors.6 = Counter32: 0
IF-MIB::ifOutErrors.7 = Counter32: 0
IF-MIB::ifOutErrors.8 = Counter32: 0
IF-MIB::ifOutErrors.9 = Counter32: 0
IF-MIB::ifOutErrors.10 = Counter32: 0
IF-MIB::ifOutErrors.11 = Counter32: 0
IF-MIB::ifOutErrors.12 = Counter32: 0
IF-MIB::ifOutErrors.13 = Counter32: 0
IF-MIB::ifOutErrors.14 = Counter32: 0
IF-MIB::ifOutErrors.15 = Counter32: 0
IF-MIB::ifOutErrors.16 = Counter32: 0
IF-MIB::ifOutErrors.17 = Counter32: 0
IF-MIB::ifOutErrors.18 = Counter32: 0
IF-MIB::ifOutErrors.19 = Counter32: 0
IF-MIB::ifOutErrors.20 = Counter32: 0
IF-MIB::ifOutErrors.21 = Counter32: 0
IF-MIB::ifOutErrors.22 = Counter32: 0
IF-MIB::ifOutErrors.23 = Counter32: 0
IF-MIB::ifOutErrors.24 = Counter32: 0
IF-MIB::ifOutErrors.25 = Counter32: 0
IF-MIB::ifOutErrors.26 = Counter32: 0
IF-MIB::ifOutErrors.27 = Counter32: 0
IF-MIB::ifOutQLen.1 = Gauge32: 0
IF-MIB::ifOutQLen.2 = Gauge32: 0
IF-MIB::ifOutQLen.3 = Gauge32: 0
IF-MIB::ifOutQLen.4 = Gauge32: 0
IF-MIB::ifOutQLen.5 = Gauge32: 0
IF-MIB::ifOutQLen.6 = Gauge32: 0
IF-MIB::ifOutQLen.7 = Gauge32: 0
IF-MIB::ifOutQLen.8 = Gauge32: 0
IF-MIB::ifOutQLen.9 = Gauge32: 0
IF-MIB::ifOutQLen.10 = Gauge32: 0
IF-MIB::ifOutQLen.11 = Gauge32: 0
IF-MIB::ifOutQLen.12 = Gauge32: 0
IF-MIB::ifOutQLen.13 = Gauge32: 0
IF-MIB::ifOutQLen.14 = Gauge32: 0
IF-MIB::ifOutQLen.15 = Gauge32: 0
IF-MIB::ifOutQLen.16 = Gauge32: 0
IF-MIB::ifOutQLen.17 = Gauge32: 0
IF-MIB::ifOutQLen.18 = Gauge32: 0
IF-MIB::ifOutQLen.19 = Gauge32: 0
IF-MIB::ifOutQLen.20 = Gauge32: 0
IF-MIB::ifOutQLen.21 = Gauge32: 0
IF-MIB::ifOutQLen.22 = Gauge32: 0
IF-MIB::ifOutQLen.23 = Gauge32: 0
IF-MIB::ifOutQLen.24 = Gauge32: 0
IF-MIB::ifOutQLen.25 = Gauge32: 0
IF-MIB::ifOutQLen.26 = Gauge32: 0
IF-MIB::ifOutQLen.27 = Gauge32: 0
IF-MIB::ifSpecific.1 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifSpecific.2 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifSpecific.3 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifSpecific.4 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifSpecific.5 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifSpecific.6 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifSpecific.7 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifSpecific.8 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifSpecific.9 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifSpecific.10 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifSpecific.11 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifSpecific.12 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifSpecific.13 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifSpecific.14 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifSpecific.15 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifSpecific.16 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifSpecific.17 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifSpecific.18 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifSpecific.19 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifSpecific.20 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifSpecific.21 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifSpecific.22 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifSpecific.23 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifSpecific.24 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifSpecific.25 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifSpecific.26 = OID: SNMPv2-SMI::zeroDotZero
IF-MIB::ifSpecific.27 = OID: SNMPv2-SMI::zeroDotZero
Does It mean I do not have 64bit counter on these interfaces ? Or perhaps i'm not walking on the good OID ?

All the cards are Intel Gigabit (Ethernet or Fiber), it's really strange that Intel cards do not support 64bit counters....
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Sorry, I was imprecise. Please walk .1.3.6.1.2.1.31.1.1 to get HC Counters
Reinhard
mytux

Post by mytux »

Code: Select all

snmpwalk -v 2c -c public $HOST  .1.3.6.1.2.1.31.1.1
replies me :
IF-MIB::ifXTable = No Such Object available on this agent at this OID
What does it mean ?
SNMP is too old to have 64bit counter support ?
My cards do not have 64bit counter support ?

Do I have a possibility to graph these cards' bandwith ?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

This means that this device lacks support for SNMP V2c or for 64 bit counters or for both. So you must stick to 32 bit counters supported for SNMP V1. But this will limit your Bandwidth Detection to about 120 MBps when polling in 300 sec intervals (the default). Perhaps you should contact the manufacturer?
Reinhard
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Contacting the manufacturer is good....

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
transnet
Posts: 10
Joined: Thu Feb 02, 2006 5:42 am

Post by transnet »

i have a the same problem i think!

but i could live withe the limited bandwidth!

the Problem is that as soon as more the 4 GB traffic were on the interface the graph looks like here: http://forums.cacti.net/viewtopic.php?t=11715

can this be solved?

thx
Fab
Paul Thexton
Posts: 49
Joined: Tue Jan 18, 2005 7:50 am

Post by Paul Thexton »

transnet wrote: can this be solved?
The problem (if I remember correctly, someone should correct me if I don't) is with the 32bit counters and the fact that they 'wrap' (or start at zero again) within a 300 second time period when the interface is running with a lot of traffic over it.

The only thing I can think is to modify your data sources to take updates of a period <5 minutes, say every 2 minutes for example, and then change your poller to run every 2 minutes.

You would then need to make sure that your poller runs within 2 minutes or you're going to end up with more problems again.

This also wouldn't be ideal as the behaviour of the graphs may look a little odd as and when the counters do wrap.

By far the best solution is going to be to contact your device manufacturer and speak to them, if they offer SNMP on their device for management and monitoring, yet also offer Gig interfaces, then really they ought to support SNMPv2c/64-bit counters.
transnet
Posts: 10
Joined: Thu Feb 02, 2006 5:42 am

Post by transnet »

The counters do not start over at 4 GB on this 64 bit system
the do on every 32 bit system

----------------------------------------------------------
eth2 Link encap:Ethernet HWaddr 00:E0:81:40:E8:C1
inet addr:192.168.2.112 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12250324 errors:0 dropped:0 overruns:0 frame:0
TX packets:14714922 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3266516838 (3.0 GiB) TX bytes:7370243891 (6.8 GiB)
Interrupt:18
---------------------------------------------------------------

and i don't have the Problem that i have to much traffic in 5 min! it happens after a day or two!
Paul Thexton
Posts: 49
Joined: Tue Jan 18, 2005 7:50 am

Post by Paul Thexton »

transnet wrote:The counters do not start over at 4 GB on this 64 bit system
the do on every 32 bit system

----------------------------------------------------------
eth2 Link encap:Ethernet HWaddr 00:E0:81:40:E8:C1
inet addr:192.168.2.112 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12250324 errors:0 dropped:0 overruns:0 frame:0
TX packets:14714922 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3266516838 (3.0 GiB) TX bytes:7370243891 (6.8 GiB)
Interrupt:18
---------------------------------------------------------------

and i don't have the Problem that i have to much traffic in 5 min! it happens after a day or two!
Ok, looks like a linux machine (or some flavour of unix) to me ....

Are you using net-snmp? I don't see where the issue would be coming from, you definitely created the graphs with 64bit datasources?

Changing existing upper limits on datasources has never worked for me, not without deleting the the relevant rrd file and getting cacti to re-create it for me anyway.
transnet
Posts: 10
Joined: Thu Feb 02, 2006 5:42 am

Post by transnet »

Paul Thexton wrote: Ok, looks like a linux machine (or some flavour of unix) to me ....
right

it's a debian amd64 sarge
Paul Thexton wrote: Are you using net-snmp? I don't see where the issue would be coming from, you definitely created the graphs with 64bit datasources?

i tried everything ! really

02/07/2006 06:20:28 PM - CMDPHP: Poller[0] Host[73] SNMP: v2: 192.168.1.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.3, output: 0
02/07/2006 06:20:28 PM - CMDPHP: Poller[0] Host[73] SNMP: v2: 192.168.1.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.3, output: 1119852659

snmpv2 with 64 bit counters -> only outbound traffic :-(


02/07/2006 06:20:28 PM - CMDPHP: Poller[0] Host[73] WARNING: Result from SNMP not valid. Partial Result: No Such Object avail
02/07/2006 06:20:28 PM - CMDPHP: Poller[0] Host[73] SNMP: v2: 192.168.1.1, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.3, output: U

snmpv2 32 bit counters -> ERROR :-(


02/07/2006 06:25:28 PM - CMDPHP: Poller[0] Host[72] WARNING: Result from SNMP not valid. Partial Result:
02/07/2006 06:25:28 PM - CMDPHP: Poller[0] Host[72] SNMP: v1: 192.168.1.1, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.3, output: U

snmpv1 64 bit counters -> ERROR :-(


02/07/2006 06:25:28 PM - CMDPHP: Poller[0] Host[67] SNMP: v1: 192.168.1.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.3, output: 1122397579
02/07/2006 06:25:28 PM - CMDPHP: Poller[0] Host[67] SNMP: v1: 192.168.1.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.3, output: 443864

snmpv1 32 bit counters -> screwed pictures ( see link in other post )

Paul Thexton wrote: Changing existing upper limits on datasources has never worked for me, not without deleting the the relevant rrd file and getting cacti to re-create it for me anyway.
i tried that to ... but without success



best
Fab
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

I have a patch where you can specify a different poller interval. However, you will also have to provide different step values for your interface graphs.

I am out of town and do not have access to the patch. You will have to send me a PM if you would like the patch. When you do that, I will also provide usage instructions, from another contributer, on how to configure Cacti to utilize them.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
transnet
Posts: 10
Joined: Thu Feb 02, 2006 5:42 am

Post by transnet »

The patch would be great

but what i don't understand is ... why is ther a problem with the polling interval?

the graphs look great untill the 4GB (32 bit limitation) is reached and the counter on theinterface ist NOT resetted. ( this happens after about 3 days)

can someone explain that to me?

thx in advance
Fab
Paul Thexton
Posts: 49
Joined: Tue Jan 18, 2005 7:50 am

Post by Paul Thexton »

transnet wrote:
Paul Thexton wrote: Ok, looks like a linux machine (or some flavour of unix) to me ....
right

it's a debian amd64 sarge
Paul Thexton wrote: Are you using net-snmp? I don't see where the issue would be coming from, you definitely created the graphs with 64bit datasources?

i tried everything ! really
It seems odd that you're only getting outward counters with snmpv2/ifHC*

Have you tried querying the snmp manually from command line to see if the counters cacti are getting back are correct? I am having an issue at the moment with getting 0 values back but valid counters from command line (though I suspect the cause of the issue is different to this case).

Try

snmpwalk -v2c -c {yourcommunity} {yourhost} IF-MIB::ifName

Get the index of the card you want to query 64bit vals for and then do

snmpget -v2c -c {yourcommunity} {yourhost} IF-MIB::ifHCInOctets.{index}

and the same for ifHCOutOctets

If you're definitely only getting a valid counter value back for outbound traffic then the problem is with your snmpd, if you get valid values back and they seem to be incrementing normally based on repeated queries then the problem must be with the cmd.php/cactid poller somewhere.
Post Reply

Who is online

Users browsing this forum: manel and 2 guests