This is a discussion on Query related to with-out-transports option within the SNMP Users forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. --===============1308765189== 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.
--===============1308765189== Content-class: urn:content-classes:message Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C74174.29771DB4" This is a multi-part message in MIME format. ------_=_NextPart_001_01C74174.29771DB4 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, =20 I used the following options while configuring my package. I need the libraries only to compile the sub-agent, hence eliminating so many MIB modules =20 --with-out-transports=3DTCP,Unix=20 --with-out-mib-modules=3DmibII,ucd_snmp,target,utilities,examples/ucdDemo= P ublic,examples/example,host,misc/ipfwacc,ucd-snmp/diskio,smux,Rmon,mibII /mta_sendmail,tunnel,disman/event-mib,snmpv3mibs =20 However, when I run my sub-agent, I get the following error. I guess the Callback transport is the one needed for AgentX communication. Why is this error coming? Is there a dependency on the tcp transport that I am missing? =20 Btb, the master and sub-agent communicate over the named socket /var/agentx =20 One more suggestion needed, please let me know if I have stripped off too many MIB modules. Regards, Sri. =20 # ./SNMPSubagent-3e -d -f -Le =20 I am agentX SubAgent...No support for requested transport domain "tcp" Error: Failed to connect to the agentx master agent: Unknown host IP-MIB: Module not found IF-MIB: Module not found TCP-MIB: Module not found UDP-MIB: Module not found HOST-RESOURCES-MIB: Module not found SNMPv2-MIB: Module not found RFC1213-MIB: Module not found SNMPv2-SMI: Module not found NOTIFICATION-LOG-MIB: Module not found NET-SNMP-AGENT-MIB: Module not found SNMP-NOTIFICATION-MIB: Module not found No support for requested transport domain "tcp" Error: Failed to connect to the agentx master agent: Unknown host (Unknown error 2) ************************************************** ********************** ************************************************** ********************** ************************************************** ********************** ***** This e-mail, and any attachments thereto, are intended only for use by the addressee(s) named herein and may contain privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is illegal and strictly prohibited. If you have received this e-mail in error, please immediately notify me by telephone and permanently delete the original and any copy of any e-mail and any printout thereof. =20 ------_=_NextPart_001_01C74174.29771DB4 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:SimSun; panose-1:2 1 6 0 3 1 1 1 1 1;} @font-face {font-family:"\@SimSun"; panose-1:2 1 6 0 3 1 1 1 1 1;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} p {mso-margin-top-alt:auto; margin-right:0in; mso-margin-bottom-alt:auto; margin-left:0in; font-size:12.0pt; font-family:"Times New Roman";} span.EmailStyle17 {mso-style-type:personal-compose; font-family:Arial; color:windowtext;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} --> </style> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Hi,<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>I used the following options while configuring my = package. I need the libraries only to compile the sub-agent, hence eliminating so = many MIB modules<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>--with-out-transports=3DTCP,Unix = <o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>--with-out-mib-modules=3DmibII,ucd_snmp,target,utiliti= es,examples/ucdDemoPublic,examples/example,host,misc/ipfwacc,ucd-snmp/dis= kio,smux,Rmon,mibII/mta_sendmail,tunnel,disman/event-mib,snmpv3mibs<o:p><= /o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>However, when I run my sub-agent, I get the following = error.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>I guess the Callback transport is the one needed for = AgentX communication. Why is this error coming? Is there a = dependency on the tcp transport that I am missing?<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Btb, the master and sub-agent communicate over the = named socket /var/agentx<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>One more suggestion needed, please let me know if I = have stripped off too many MIB modules.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Regards,<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Sri.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><b><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial;font-weight:bold'># ./SNMPSubagent-3e -d -f = -Le<o:p></o:p></span></font></b></p> <p class=3DMsoNormal><b><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial;font-weight:bold'><o:p> </o:p></span></font></b></= p> <p class=3DMsoNormal><b><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial;font-weight:bold'> I am agentX SubAgent...<span style=3D'background:yellow'>No support for requested transport domain "tcp"</span><o:p></o:p></span></font></b></p> <p class=3DMsoNormal><b><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial;font-weight:bold'>Error: Failed to connect to the = agentx master agent: Unknown host<o:p></o:p></span></font></b></p> <p class=3DMsoNormal><b><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial;font-weight:bold'>IP-MIB: Module not = found<o:p></o:p></span></font></b></p> <p class=3DMsoNormal><b><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial;font-weight:bold'>IF-MIB: Module not = found<o:p></o:p></span></font></b></p> <p class=3DMsoNormal><b><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial;font-weight:bold'>TCP-MIB: Module not = found<o:p></o:p></span></font></b></p> <p class=3DMsoNormal><b><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial;font-weight:bold'>UDP-MIB: Module not = found<o:p></o:p></span></font></b></p> <p class=3DMsoNormal><b><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial;font-weight:bold'>HOST-RESOURCES-MIB: Module not = found<o:p></o:p></span></font></b></p> <p class=3DMsoNormal><b><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial;font-weight:bold'>SNMPv2-MIB: Module not = found<o:p></o:p></span></font></b></p> <p class=3DMsoNormal><b><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial;font-weight:bold'>RFC1213-MIB: Module not = found<o:p></o:p></span></font></b></p> <p class=3DMsoNormal><b><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial;font-weight:bold'>SNMPv2-SMI: Module not = found<o:p></o:p></span></font></b></p> <p class=3DMsoNormal><b><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial;font-weight:bold'>NOTIFICATION-LOG-MIB: Module not = found<o:p></o:p></span></font></b></p> <p class=3DMsoNormal><b><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial;font-weight:bold'>NET-SNMP-AGENT-MIB: Module not = found<o:p></o:p></span></font></b></p> <p class=3DMsoNormal><b><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial;font-weight:bold'>SNMP-NOTIFICATION-MIB: Module not = found<o:p></o:p></span></font></b></p> <p class=3DMsoNormal><b><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial;font-weight:bold'>No support for requested transport = domain "tcp"<o:p></o:p></span></font></b></p> <p class=3DMsoNormal><b><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial;font-weight:bold'>Error: Failed to connect to the = agentx master agent: Unknown host (Unknown = error<o:p></o:p></span></font></b></p> <p class=3DMsoNormal><b><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial;font-weight:bold'> 2)<o:p></o:p></span></font></b>= </p> <p><i><font size=3D1 color=3Dblue face=3D"Times New Roman"><span = style=3D'font-size: 7.5pt;color:blue;font-style:italic'>************************************ *= ************************************************** ***********************= ************************************************** ***********************= **************************************<o:p></o:p></span></font></i></p> <p><i><font size=3D1 color=3Dblue face=3D"Times New Roman"><span = style=3D'font-size: 7.5pt;color:blue;font-style:italic'>This e-mail, and any attachments = thereto, are intended only for use by the addressee(s) named herein and may = contain privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any = dissemination, distribution or copying of this e-mail, and any attachments thereto, is = illegal and strictly prohibited. If you have received this e-mail in error, = please immediately notify me by telephone and permanently delete the original = and any copy of any e-mail and any printout thereof.</span></font></i><i><font = size=3D1 color=3Dblue><span = style=3D'font-size:7.5pt;color:blue;font-style:italic'><o:p></o:p></span>= </font></i></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'><o:p> </o:p></span></font></p> </div> </body> </html> ------_=_NextPart_001_01C74174.29771DB4-- --===============1308765189== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?p...rge&CID=DEVDEV --===============1308765189== 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 --===============1308765189==-- |