On Mon, Jul 19, 2010 at 8:33 PM, Van Dyke, Evan (ES)
<[email protected]>wrote:

>  Bingo.   It looks like the call to f_send in _*snmp_async_send() in 
> snmp*_api.c
> is failing.  I added a debug message in the if(result < 0) check (see
> below), and f_send is returning -1.  The callback looks like it is only
> queued for processing if the f_send succeeds.
>
> For some reason, our Firewall application was blocking traffic on
> localhost.  I’ll need to talk to our IT department about it.  Anyone know
> why the traffic from master to subagent should (apparently) work, but the
> subagent to master traffic wouldn’t?  Do they use separate TCP connections?
>
> --Evan
>
As far as I know only a single TCP/IP-connection is used for all AgentX
traffic. There must be something special about your firewall configuration.
One way to see what happens is to run the AgentX subagent on a different PC
than the AgentX master and to analyze the traffic between subagent and
master agent with Wireshark.

Note: I have just tested the AgentX example from the Net-SNMP wiki, and
after having added the line below (the same line you had already mentioned)
it runs fine against Net-SNMP 5.4.2.1. I haven't tried any later Net-SNMP
version yet, but I do not see any reason why the example wouldn't work with
later versions.

netsnmp_ds_set_string(NETSNMP_DS_APPLICATION_ID, NETSNMP_DS_AGENT_X_SOCKET,
"localhost:705");

Bart.
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to