Varoius bits of documentation (and the code too) mention that there is  
a default agentx listening port.
e.g. #define AGENTX_PORT        705 from protocol.h

I am running into a situation where I have the "master  yes" directive  
in the snmpd.conf file, without the
"agentxsocket" being specified and I when I start snmpd I get :

Turning on AgentX master support.
agentx/master: initializing...
Error: Couldn't open a master agentx socket to listen on ():

and then it quits. Shouldn't the default port be used here?

Looking at the code it seems that:
netsnmp_ds_get_string(NETSNMP_DS_APPLICATION_ID,  
NETSNMP_DS_AGENT_X_SOCKET)
is returning null.

It looks like it should be initialized to "705" by the code in   
agentx_config_init().

- Leland


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to