Need help in runing AgentX with a different socket address

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


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-15-2007
manu kumar
 
Posts: n/a
Default Need help in runing AgentX with a different socket address

--===============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>&nbsp;&nbsp;&nbsp; I am trying to run Agentx(subagent) with a different socket<br>address , I modify the snmpd.conf by placing &quot; agentxsocket
<br>localhost:705 &quot; after &quot;master agentx&quot;<br><br>and&nbsp; added to the &quot;subagent.c&quot; file to indicate the subagent should<br>use port 705:<br>&nbsp;&quot; netsnmp_ds_set_string(NETSNMP_DS_APPLICATION_ID,<b r>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp; NETSNMP_DS_AGENT_X_SOCKET,<br>&quot;localhost:705& quot;);&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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp; ******&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==--

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:16 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0