When I do the -d -r 0 options I get this: m...@serv:~$ snmpget -d -r 0 -c public -v 1 192.168.1.201 1.3.6.1.4.1.2254.2.4.1.2.0
Sending 47 bytes to UDP: [192.168.1.201]:161 0000: 30 2D 02 01 00 04 06 70 75 62 6C 69 63 A0 20 02 0-.....public. . 0016: 04 6C 94 C9 62 02 01 00 02 01 00 30 12 30 10 06 .l..b......0.0.. 0032: 0C 2B 06 01 04 01 91 4E 02 04 01 02 00 05 00 .+.....N....... Received 57 bytes from UDP: [192.168.1.201]:161 0000: 30 37 02 01 00 04 06 70 75 62 6C 69 63 A2 2A 02 07.....public.*. 0016: 01 00 02 01 00 02 01 00 30 1F 30 1D 06 0C 2B 06 ........0.0...+. 0032: 01 04 01 91 4E 02 04 01 02 00 04 0D 46 36 43 31 ....N.......F6C1 0048: 30 30 30 2D 54 57 2D 52 4B 000-TW-RK Timeout: No Response from 192.168.1.201. Which shows the data coming back! I don't have snmp.conf on my system so should I create it in /home/me/.snmp as snmp.conf and make the only line in it as... # snmp.conf file directive "16bitIDs true" # snmp.conf end -------- Original Message -------- Subject: Re: SNMP Packets Not Received Properly - Ubuntu Hardy/Debian Lenny From: Dave Shield <d.t.shi...@liverpool.ac.uk> Date: Fri, June 05, 2009 2:50 am To: a...@spatialsystems.org Cc: net-snmp-users@lists.sourceforge.net 2009/6/5 <a...@spatialsystems.org>: > Debain Lenny Example: > m...@serv:~$ snmpget -c public -v 1 192.168.1.201 > 1.3.6.1.4.1.2254.2.4.1.2.0 > Timeout: No Response from 192.168.1.201. Please add the options '-d -r 0' and try again. What do the raw packet dumps look like. > What could possibly be the problem? > Why does snmpget think that nothing is coming back? Normally, if you get timeouts, this typically means that the community string is wrong, or that the agent isn't listening (as Michael suggests). But if you are seeing packets coming back, that's unlikely to be the cause here. My guess is that there's a bug in the remote agent, and the response is not strictly valid. If forced to guess further, I'd suggest setting the snmp.conf directive "16bitIDs true" (note snmp.conf, *not* snmpd.conf) Dave ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users