This is a discussion on Need help in runing AgentX with a different socket address within the SNMP Users forums, part of the Networking and Network Related category; --===============1107791517== Content-Type: multipart/alternative; boundary="----=_Part_4876_24145803.1195092860818" ------=_Part_4876_24145803.1195092860818 Content-Type: text/plain; charset=ISO-8859-1 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
--===============1107791517==
Content-Type: multipart/alternative; boundary="----=_Part_4876_24145803.1195092860818" ------=_Part_4876_24145803.1195092860818 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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");" 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 ******** ------=_Part_4876_24145803.1195092860818 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline <h1 style="font-weight: normal;" class="YfMhcb"><font size="2"><span id="1eqn"><br>Hi All,<br> I am trying to run Agentx(subagent) with a different socket<br>address , I modify the snmpd.conf by placing " agentxsocket <br>localhost:705 " after "master agentx"<br><br>and added to the "subagent.c" file to indicate the subagent should<br>use port 705:<br> " netsnmp_ds_set_string(NETSNMP_DS_APPLICATION_ID,<b r> &n bsp; &nbs p; &n bsp; NETSNMP_DS_AGENT_X_SOCKET,<br>"localhost:705& quot;);"<br><br>So the snmpd is running well but the Subagent is not running<br><br>Subagent resutl is given below:<br>Warning: Failed to connect to the agentx master agent (localhost:705): <br>example-demon is up and running.<br>Warning: Failed to connect to the agentx master agent (localhost:705):<br><br>why this error is comming ..i didn't understand... & nbsp; ****** any<br>help will be appreciated ******** <br></span></font></h1> ------=_Part_4876_24145803.1195092860818-- --===============1107791517== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- 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/ --===============1107791517== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/...net-snmp-users --===============1107791517==-- |