We've been having some problems with cactid(0.8.6g) reporting timeouts. Eventhough we tried upping both timeouts to 5000ms.
here is the output :
Code: Select all
CACTID: Host[13] DS[220] WARNING: SNMP timeout detected [5000 ms], ignoring host 'xxxxxxxxxxxxxxx'
CACTID: Host[13] DS[220] SNMP: v1: xxxxxxxxxxxxxxx, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, value: U
I then tried to tcpdump it to see if the packets are really sent, here is what I get :
Code: Select all
09:01:02.492030 IP yyyyyyyyyyyyyyy > xxxxxxxxxxxxxx: icmp 31: echo request seq 0
09:01:02.493089 IP xxxxxxxxxxxxxx > yyyyyyyyyyyyyyy: icmp 31: echo reply seq 0
09:01:02.493760 IP yyyyyyyyyyyyyyy.40810 > xxxxxxxxxxxxxx.snmp: C=public GetRequest(28) system.sysUpTime.0
09:01:02.495132 IP xxxxxxxxxxxxxx.snmp > yyyyyyyyyyyyyyy.40810: C=public GetResponse(32) system.sysUpTime.0=517760416
09:01:02.496085 IP yyyyyyyyyyyyyyy.40810 > xxxxxxxxxxxxxx.snmp: C=public GetRequest(28) system.sysUpTime.0
09:01:02.497453 IP xxxxxxxxxxxxxx.snmp > yyyyyyyyyyyyyyy.40810: C=public GetResponse(32) system.sysUpTime.0=517760416
09:01:02.501553 IP yyyyyyyyyyyyyyy.40810 > xxxxxxxxxxxxxx.snmp: C=public GetRequest(33) interfaces.ifTable.ifEntry.ifInOctets.1 [|snmp]
09:01:02.541844 IP xxxxxxxxxxxxxx.snmp > yyyyyyyyyyyyyyy.40810: C=public GetResponse(33) tooBig[errorIndex==0] interfaces.ifTable.ifEntry.ifInOctets.1= [|snmp]
09:01:02.545877 IP yyyyyyyyyyyyyyy.40810 > xxxxxxxxxxxxxx.snmp: C=public GetRequest(30) interfaces.ifTable.ifEntry.ifOutErrors.2
09:01:02.548657 IP xxxxxxxxxxxxxx.snmp > yyyyyyyyyyyyyyy.40810: C=public GetResponse(31) interfaces.ifTable.ifEntry.ifOutErrors.2=0
-it pings and responds to pings
-it can get the uptime
but for some reason I get a tooBig[errorIndex==0] which seems like the problem.
I also tried doing a snmpget with 'interfaces.ifTable.ifEntry.ifOutErrors.2=0' and I get "IF-MIB::ifInOctets.1 = Counter32: 1784831038" and a tcpdump of such a request doesn't say "too big".
For info, net-snmp version is 5.2.1.2
Any ideas ?
P.S. as a side note is it normal that cactid reports beeing version 0.8.6f when it's actually a 0.8.6g ?
Murphy