[ First - *please* don't mail me privately, without copying
     any responses to the mailing list.  I don't have the time
     or inclination to offer private, unpaid, SNMP consultancy.
     Keep discussions to the list, where others can both learn
     and offer advice.  Thanks.   ]

On 07/03/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi Dave,
>  As you told, I was using a wrong executable. Now when I try to do
>  snmpget from snmp Manager, I am getting timeout error:
>
>  SNMP Manager:
>
> [EMAIL PROTECTED] sbin]# snmpget -v 1 -c tst 10.201.179.222
> system.sysUpTime.0
> Timeout: No Response from 10.201.179.222.
>
>
> SNMP Agent:
>  root:/bin>  snmpd -f -L -d -c /etc/snmpd.conf
>  /etc/snmpd.conf: line 65: Error: cannot resolve source hostname
>  NET-SNMP version 5.0.9


What does line 65 of this file look like?

>  Received 40 bytes from
>  0000: 30 26 02 01  00 04 03 74  73 74 A0 1C  02 04 08 02
>  0&.....tst......
>  0016: 69 B2 02 01  00 02 01 00  30 0E 30 0C  06 08 2B 06
>  i.......0.0...+.
>  0032: 01 02 01 01  03 00 05 00                              ........
>
>  Received SNMP packet(s) from
>   GET message
>     -- iso.3.6.1.2.1.1.3.0
>
>  Received 40 bytes from
>  0000: 30 26 02 01  00 04 03 74  73 74 A0 1C  02 04 08 02
>  0&.....tst......
>  0016: 69 B2 02 01  00 02 01 00  30 0E 30 0C  06 08 2B 06
>  i.......0.0...+.
>  0032: 01 02 01 01  03 00 05 00                              ........
>
>  Received SNMP packet(s) from
>   GET message
>     -- iso.3.6.1.2.1.1.3.0

   [snip]


>  And no response is going from the Agent to the Manager.
>  What could be the reason?

If the line that is causing the error is part of the access control
settings, then the agent may not recognise these incoming
requests as being alllowed.

  In general, any time you see an error message, it's worth
checking what this refers to, and whether it might be relevant
to any problems you might be seeing.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to