________________________________

From: [EMAIL PROTECTED] on behalf of kumar undurthi
Sent: Thu 15/11/2007 08:05
To: [email protected]
Subject: Need help in runing AgentX with a different socket address



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 tcp:localhost:705 in both places ie snmpd.conf file for master 
and your code for subagent. This should work.
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