This is a discussion on RE: How to configure sub-agent to connect to snmpd on another machine within the SNMP Users forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. --===============1536020382== 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.
--===============1536020382== Content-class: urn:content-classes:message Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C7ADA6.D192E8A7" This is a multi-part message in MIME format. ------_=_NextPart_001_01C7ADA6.D192E8A7 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi =20 You can configure subagent to connect to master agent by specifying the the following in subagent's configuration file. =20 agentxsocket tcp:<ipaddr>:<port_no> =20 Here <ipaddr> is the machine address on which SNMPD runs and <port_no> is the port on which SNMPD listens for agentx connections.=20 Assuming SNMPD and subagent run on the same machine and SNMPD listens for agentx connections on port 705, following can be specified in subagent's configuration file. =20 agentxsocket tcp:localhost:705 Regards, Suresh. =20 =20 =20 =20 -----Original Message----- From: net-snmp-users-bounces@lists.sourceforge.net [mailto:net-snmp-users-bounces@lists.sourceforge.net] On Behalf Of Shivani Garg Sent: Tuesday, June 12, 2007 3:31 PM To: net-snmp-coders@lists.sourceforge.net Cc: net-snmp-users@lists.sourceforge.net Subject: How to configure sub-agent to connect to snmpd on another machine Greetings to all. =20 Can anyone help me with this. My master agent snmpd daemon is running on a different machine. How can I configure my sub-agent to connect to the same? Thanks. =20 Regards, Shivani ------_=_NextPart_001_01C7ADA6.D192E8A7 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <TITLE>Message</TITLE> <META content=3D"MSHTML 6.00.2900.3086" name=3DGENERATOR></HEAD> <BODY> <DIV><SPAN class=3D661212910-13062007><FONT face=3DArial=20 size=3D2>Hi</FONT></SPAN></DIV> <DIV><SPAN class=3D661212910-13062007><FONT face=3DArial=20 size=3D2></FONT></SPAN> </DIV> <DIV><SPAN class=3D661212910-13062007><FONT face=3DArial size=3D2>You = can configure=20 subagent to connect to master agent by specifying the the following = in=20 subagent's configuration file.</FONT></SPAN></DIV> <DIV><SPAN class=3D661212910-13062007><FONT face=3DArial=20 size=3D2></FONT></SPAN> </DIV> <DIV><SPAN class=3D661212910-13062007><FONT face=3DArial = size=3D2>agentxsocket=20 tcp:<ipaddr>:<port_no></FONT></SPAN></DIV> <DIV><SPAN class=3D661212910-13062007><FONT face=3DArial=20 size=3D2></FONT></SPAN> </DIV> <DIV><SPAN class=3D661212910-13062007><FONT face=3DArial size=3D2>Here = <ipaddr>=20 is the machine address on which SNMPD runs and <port_no> is the = port on=20 which SNMPD listens for agentx connections. </FONT></SPAN></DIV> <DIV><SPAN class=3D661212910-13062007><FONT face=3DArial = size=3D2>Assuming SNMPD and=20 subagent run on the same machine and SNMPD listens for agentx = connections on=20 port 705, following can be specified in subagent's configuration=20 file.</FONT></SPAN></DIV> <DIV><SPAN class=3D661212910-13062007><FONT face=3DArial=20 size=3D2></FONT></SPAN> </DIV> <DIV><SPAN class=3D661212910-13062007><FONT face=3DArial = size=3D2>agentxsocket=20 tcp:localhost:705<BR></FONT></SPAN></DIV> <DIV><SPAN class=3D661212910-13062007><FONT face=3DArial=20 size=3D2>Regards,</FONT></SPAN></DIV> <DIV><SPAN class=3D661212910-13062007><FONT face=3DArial=20 size=3D2>Suresh.</DIV></FONT></SPAN> <DIV><SPAN class=3D661212910-13062007><FONT face=3DArial=20 size=3D2></FONT></SPAN> </DIV> <DIV><SPAN class=3D661212910-13062007><FONT face=3DArial=20 size=3D2></FONT></SPAN> </DIV> <DIV><SPAN class=3D661212910-13062007><FONT face=3DArial=20 size=3D2></FONT></SPAN> </DIV> <DIV><SPAN class=3D661212910-13062007><FONT face=3DArial=20 size=3D2></FONT></SPAN> </DIV> <BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px"> <DIV></DIV> <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr = align=3Dleft><FONT=20 face=3DTahoma size=3D2>-----Original Message-----<BR><B>From:</B>=20 net-snmp-users-bounces@lists.sourceforge.net=20 [mailto:net-snmp-users-bounces@lists.sourceforge.net] <B>On Behalf Of=20 </B>Shivani Garg<BR><B>Sent:</B> Tuesday, June 12, 2007 3:31 = PM<BR><B>To:</B>=20 net-snmp-coders@lists.sourceforge.net<BR><B>Cc:</B>=20 net-snmp-users@lists.sourceforge.net<BR><B>Subject:</B> How to = configure=20 sub-agent to connect to snmpd on another machine<BR><BR></FONT></DIV> <DIV>Greetings to all.</DIV> <DIV> </DIV> <DIV>Can anyone help me with this. My master agent snmpd daemon is = running on=20 a different machine. How can I configure my sub-agent to connect to = the=20 same?</DIV> <DIV>Thanks.</DIV> <DIV> </DIV> <DIV>Regards,</DIV> <DIV>Shivani</DIV></BLOCKQUOTE></BODY></HTML> ------_=_NextPart_001_01C7ADA6.D192E8A7-- --===============1536020382== 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ --===============1536020382== 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 --===============1536020382==-- |