It works correctly (but possibly sometimes slow) with SNMP v1 & v2c.
On command snmpwalk -v 2c -c private 10.0.0.1 .1.3.6.1.2.1.2.2.1.1 - I get correct interface list:
Code: Select all
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.604 = INTEGER: 604
Code: Select all
+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/var/www/seti.kr.ua/cacti/resource/snmp_queries/interface.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1'
+ No SNMP data returned
Code: Select all
IF-MIB::ifInOctets.1 = Counter32: 2098814005
IF-MIB::ifInOctets.2 = Counter32: 1658476060
IF-MIB::ifInOctets.3 = Counter32: 3927431236
IF-MIB::ifInOctets.4 = Counter32: 0
IF-MIB::ifInOctets.5 = Counter32: 220128974
IF-MIB::ifInOctets.6 = Counter32: 1821625096
IF-MIB::ifInOctets.7 = Counter32: 0
IF-MIB::ifInOctets.8 = Counter32: 0
IF-MIB::ifInOctets.9 = Counter32: 0
IF-MIB::ifInOctets.10 = Counter32: 411107485
IF-MIB::ifInOctets.604 = Counter32: 4616643
Timeout in settings - 2 sec (2000 msec), I tried to increase it to 50 sec - no effects.