Hi All,
    I am trying to run Agentx(subagent) with a different socket
address , I modify the snmpd.conf by placing " agentxsocket 
localhost:705 " after "master agentx"

and  added to the "subagent.c" file to indicate the subagent should
use port 705:
 " netsnmp_ds_set_string(NETSNMP_DS_APPLICATION_ID,
                                     NETSNMP_DS_AGENT_X_SOCKET,
"localhost:705");"
[Rajendra] Try this tcp:localhost:705.This should work. Use the same format in 
master snmpd.cond file also Hope this helps you.
So the snmpd is running well but the Subagent is not running

Subagent resutl is given below:
Warning: Failed to connect to the agentx master agent (localhost:705): 
example-demon is up and running.
Warning: Failed to connect to the agentx master agent (localhost:705):

why this error is comming ..i didn't understand...         ******  any
help will be appreciated ******** 


-------------------------------------------------------------------------
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-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