This is a discussion on help by building a mib module within the SNMP Users forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. --===============0092092608== Content-Type: multipart/alternative; boundary="=-------------1157642041102658778" This is ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
This is a multi-part message in MIME format.
--===============0092092608== Content-Type: multipart/alternative; boundary="=-------------1157642041102658778" This is a multi-part message in MIME format. --=-------------1157642041102658778 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable Hi,<=3Fxml:namespace prefix =3D o ns =3D "urn:schemas-microsoft-com:office:offic= e" /><o:p></o:p> <o:p> </o:p> I am trying to create a small MIB module. I put the module.c and it`s head= er file module.h into the net-snmp source code directory: /usr/src/net-snm= p-5.3.1/agent/mibgroup/ .Afterwards I used the configure script: ./configu= re --prefix=3D/usr/src/net-snmp5.3.1/ --with-mib-modules=3D=94module=94, built my = agent by running make and make install. Everything went fine until I was t= esting the functionality by running snmpget: snmpget =96c public localhost 1= ..3.6.1.4.1.8072.2.1.1.0 .The error messages are: NET-SNMP-MIB::netSnmp.2.1= ..1.0=3DNo Such Object available on this agent at this OID<o:p></o:p> Well, I assumed that I have made a mistake during programming the mib modu= le. Therefore I repeated everything, but this time I used the =93A simple sc= alar attached to a variable=94-example from the net-snmp-homepage. The resul= t was the same. To my regret the information out of the error-file: /var/l= og/snmpd.log didn=92t help. <o:p></o:p> I' like to ask if someone can send me a complete self-made mib module, tha= t runs with Net-SNMP 5.3.1=3F <o:p></o:p> Any solutions, comments or suggestions would be very appreciated.<o:p></o:= p> <o:p> </o:p> Thank you.<o:p></o:p> <o:p> </o:p> Regards<o:p></o:p> <o:p> </o:p> Timm<o:p></o:p> =09 Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!=20 *http://smartsurfer.web.de/=3Fmc=3D10...D000000000066* [http:/= /smartsurfer.web.de/=3Fmc=3D100071&distributionid=3D000000000066] --=-------------1157642041102658778 Content-Type: text/html; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable <html><body bgcolor=3D'#ffffff' style=3D'margin-left:0px; font-size:9pt; margi= n:0px; font-family:Verdana; margin-left:0px; margin-right:0px; margin-top:= 0px; margin-bottom:0px; font-family: Verdana' ><P class=3DMsoNormal style=3D"M= ARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><SPAN lang=3DEN-US style=3D"F= ONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US">= Hi,<=3Fxml:namespace prefix =3D o ns =3D "urn:schemas-microsoft-com:office:offic= e" /><o:p></o:p></SPAN></P><P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt; = mso-layout-grid-align: none"><SPAN lang=3DEN-US style=3D"FONT-SIZE: 12pt; FONT= -FAMILY: 'Times New Roman'; mso-ansi-language: EN-US"><o:p> </o:p></S= PAN></P><P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt; mso-layout-grid-ali= gn: none"><SPAN lang=3DEN-US style=3D"FONT-SIZE: 12pt; FONT-FAMILY: 'Times New= Roman'; mso-ansi-language: EN-US">I am trying to create a small MIB modul= e. I put the module.c and it`s header file module.h into the net-snmp sour= ce code directory: /usr/src/net-snmp-5.3.1/agent/mibgroup/ .Afterwards I u= sed the configure script: ./configure --prefix=3D/usr/src/net-snmp5.3.1/ --w= ith-mib-modules=3D=94module=94, built my agent by running make and make install.= Everything went fine until I was testing the functionality by running snm= pget: snmpget =96c public localhost 1.3.6.1.4.1.8072.2.1.1.0 .The error mess= ages are: NET-SNMP-MIB::netSnmp.2.1.1.0=3DNo Such Object available on this a= gent at this OID<o:p></o:p></SPAN></P><P class=3DMsoNormal style=3D"MARGIN: 0c= m 0cm 0pt; mso-layout-grid-align: none; tab-stops: 0cm 47.95pt 95.9pt 143.= 85pt 191.8pt 239.75pt 287.7pt 335.65pt 383.6pt 431.55pt"><SPAN lang=3DEN-US = style=3D"FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language:= EN-US">Well, I assumed that I have made a mistake during programming the = mib module. Therefore I repeated everything, but this time I used the =93<SP= AN style=3D"mso-bidi-font-weight: bold">A simple scalar attached to a variab= le=94-example from the net-snmp-homepage. The result was the same. To my reg= ret the information out of the error-file: /var/log/snmpd.log didn=92t help.= </SPAN><SPAN style=3D"mso-spacerun: yes"> </SPAN><o:p></o:p></SPAN></P= ><P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: non= e"><SPAN lang=3DEN-US style=3D"FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'= ; mso-ansi-language: EN-US">I' like to ask if someone can send me a comple= te self-made mib module, that runs with Net-SNMP 5.3.1=3F<SPAN style=3D"mso-sp= acerun: yes"> </SPAN><o:p></o:p></SPAN></P><P class=3DMsoNormal style=3D= "MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><SPAN lang=3DEN-US style=3D= "FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US= ">Any solutions, comments or suggestions would be very appreciated.<o:p></= o:p></SPAN></P><P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt; mso-layout-g= rid-align: none"><SPAN lang=3DEN-US style=3D"FONT-SIZE: 12pt; FONT-FAMILY: 'Ti= mes New Roman'; mso-ansi-language: EN-US"><o:p> </o:p></SPAN></P><P c= lass=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><S= PAN lang=3DEN-US style=3D"FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; mso= -ansi-language: EN-US">Thank you.<o:p></o:p></SPAN></P><P class=3DMsoNormal = style=3D"MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><SPAN lang=3DEN-US = style=3D"FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language:= EN-US"><o:p> </o:p></SPAN></P><P class=3DMsoNormal style=3D"MARGIN: 0cm = 0cm 0pt; mso-layout-grid-align: none"><SPAN lang=3DEN-US style=3D"FONT-SIZE: 1= 2pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US">Regards<o:p= ></o:p></SPAN></P><P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt; mso-layou= t-grid-align: none"><SPAN lang=3DEN-US style=3D"FONT-SIZE: 12pt; FONT-FAMILY: = 'Times New Roman'; mso-ansi-language: EN-US"><o:p> </o:p></SPAN></P><= P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"= ><SPAN lang=3DEN-US style=3D"FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; = mso-ansi-language: EN-US">Timm<o:p></o:p></SPAN></P><br><br><table cellpad= ding=3D"0" cellspacing=3D"0" border=3D"0"><tr><td bgcolor=3D"#000000"><img src=3D"ht= tps://img.web.de/p.gif" width=3D"1" height=3D"1" border=3D"0" alt=3D"" /></td></tr= ><tr><td style=3D"font-family:verdana; font-size:12px; line-height:17px;">De= r WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! &= nbsp; <br><A HREF=3D"http://smartsurfer.web.de/=3Fmc=3D100071&distributioni= d=3D000000000066"><B>http://smartsurfer.web.de/=3Fmc=3D10...utionid=3D000= 000000066</B></A> </td></tr></table></body></html> --=-------------1157642041102658778-- --===============0092092608== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=...057&dat=121642 --===============0092092608== 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 --===============0092092608==-- |