help by building a mib module

Timm Brück <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization http://freemail.web.de/
Message-ID <[email protected]>

Hi,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><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 header file module.h into the net-snmp source code directory: /usr/src/net-snmp-5.3.1/agent/mibgroup/ .Afterwards I used the configure script: ./configure --prefix=/usr/src/net-snmp5.3.1/ --with-mib-modules=”module”, built my agent by running make and make install. Everything went fine until I was testing the functionality by running snmpget: snmpget –c 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=No 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 module. Therefore I repeated everything, but this time I used the “A simple scalar attached to a variable”-example from the net-snmp-homepage. The result was the same. To my regret the information out of the error-file: /var/log/snmpd.log didn’t help. <o:p></o:p>

I' like to ask if someone can send me a complete self-made mib module, that runs with Net-SNMP 5.3.1? <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>


	
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
*http://smartsurfer.web.de/?mc=100071&distributionid=000000000066* [http://smartsurfer.web.de/?mc=100071&distributionid=000000000066]

-------------------------------------------------------------------------
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=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.