This is a discussion on RE: Need help in runing AgentX with a different socket address within the SNMP Users forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. --===============1800048481== Content-class: urn:content-classes:message Content-Type: multipart/alternative; ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
This is a multi-part message in MIME format.
--===============1800048481== Content-class: urn:content-classes:message Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C8273E.5FC60C15" This is a multi-part message in MIME format. ------_=_NextPart_001_01C8273E.5FC60C15 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable =20 ________________________________ From: net-snmp-users-bounces@lists.sourceforge.net on behalf of kumar = undurthi Sent: Thu 15/11/2007 08:05 To: net-snmp-users@lists.sourceforge.net 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"=20 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,=20 "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 ********=20 ------_=_NextPart_001_01C8273E.5FC60C15 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <HTML dir=3Dltr><HEAD>=0A= <META http-equiv=3DContent-Type content=3D"text/html; charset=3Dunicode">=0A= <META content=3D"MSHTML 6.00.2900.3199" name=3DGENERATOR></HEAD>=0A= <BODY>=0A= <DIV id=3DidOWAReplyText15576 dir=3Dltr>=0A= <DIV dir=3Dltr><FONT face=3DArial color=3D#000000 = size=3D2></FONT> </DIV></DIV>=0A= <DIV dir=3Dltr><BR>=0A= <HR tabIndex=3D-1>=0A= <FONT face=3DTahoma size=3D2><B>From:</B> = net-snmp-users-bounces@lists.sourceforge.net on behalf of kumar = undurthi<BR><B>Sent:</B> Thu 15/11/2007 08:05<BR><B>To:</B> = net-snmp-users@lists.sourceforge.net<BR><B>Subject:</B> Need help in = runing AgentX with a different socket address<BR></FONT><BR></DIV>=0A= <DIV><BR>=0A= <DIV class=3Dgmail_quote>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> = = NETSNMP_DS_AGENT_X_SOCKET, = <BR>"localhost:705");"<BR><FONT color=3D#000080>[Rajendra ] Try = tcp:localhost:705 in both places ie snmpd.conf file for master and your = code for subagent. This should work.</FONT><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... = ****** any<BR>help will be appreciated ******** = <BR></DIV><BR></DIV></BODY></HTML> ------_=_NextPart_001_01C8273E.5FC60C15-- --===============1800048481== 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/ --===============1800048481== 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 --===============1800048481==-- |