While using the sample agent code in the Perl NetSNMP::agent POD page, I am getting the following error message on Windows 2008 Server:

c:\temp\agent.pl
Warning: Failed to connect to the agentx master agent ([NIL]):
Warning: Failed to connect to the agentx master agent ([NIL]):

This same code, unmodified, runs perfectly on Linux. I have read the FAQ, googled, etc. I added tcp port 705 to my Windows Firewall configuration (jic). I have started the agent by hand with -x tcp:localhost -Dagentx, as well as with the appropriate conf settings, and I get the same results.

c:\usr\bin\snmpd -f -L -c c:\usr\share\snmp\snmpd.conf -x localhost:705 -Dagentx
registered debug token agentx, 1
agentx_register_app_config_handler: registering .conf token for "agentxsocket"
agentx_register_app_config_handler: registering .conf token for "agentxperms"
agentx_register_app_config_handler: registering .conf token for "agentxRetries"
agentx_register_app_config_handler: registering .conf token for "agentxTimeout"
Turning on AgentX master support.
agentx/config: port spec: tcp:localhost:705
agentx/master: initializing...
agentx/master: initializing... DONE
NET-SNMP version 5.5

Any help with this would be appreciated.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
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