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

=0A=
=0A=
=0A=
=0A=
=0A=
size=3D2> 
=0A=

=0A=

=0A=
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

=0A=

=0A=
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 ******** =



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