cactid snmp timeout 'ignoring host'

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
murphy
Posts: 1
Joined: Tue Mar 21, 2006 3:42 pm

cactid snmp timeout 'ignoring host'

Post by murphy »

Hello all,

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
The interresting part is that when I start a cactid process manually (cactid -R 13 13) I can clearly see that it can not have waited the 5sec timeout because the output appears within 1 sec.

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
Which seems to show that :
-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
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Re: cactid snmp timeout 'ignoring host'

Post by fmangeant »

murphy wrote: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
Hi

yes, this is a bug.
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests