[AGENT++] SNMP++: V2c example

Jochen Katz katz at agentpp.com
Wed Apr 11 00:00:53 CEST 2007


Hi,

> I am using the snmpGet application of the consoleExaples trying to connect
> to an agent via V2C. I have included the correct IP and community name and
> specified the port as 161.  I run the example on Solaris connecting to an
> agent on Linux and see that the GET request gets to the agent (by running
> Etherreal) but instead of the response, get the 'UDP Port 161 unreachable'
> in a packet from the agent box to the Solaris box.
> 
> Is there a bug in SNMP++ where the listener is not attached to 161 while it
> waits?

there is no such bug I know of.
Did you start the agent as root? Does it log that it succeeds to bind to
the port? Did you verify with netstat / lsof if the port is free before
you start the agent and used afterwards?

Regards,
  Jochen




More information about the AGENTPP mailing list