help by building a mib module (the second)

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>

As a start thanks Dave for immediately answering my last question! <o:p></o:p>

I am still trying to create a small MIB module by using the: A simple scalar attached to a variable-example from the net-snmp-homepage. <o:p></o:p>

<o:p> </o:p>

I’ve tried working myself trough the checklist given in the FAQ entry. <o:p></o:p>

<o:p> </o:p>

The new modules are being compiled!<o:p></o:p>

<o:p> </o:p>

What exactly is meant by Run `nm` on the library? <o:p></o:p>

<o:p> </o:p>

In the example I mentioned earlier debugging code has been already included.<o:p></o:p>

Therefore I ran the deamon: /usr/local/sbin/snmpd –Dscalar_int<o:p></o:p>

The result was: <o:p></o:p>

<o:p> </o:p>

 No log handling enable – turning on stderr logging<o:p></o:p>

 Registered debug token scalar_int, 1<o:p></o:p>

 root:/# scalar_int: Done initializing example scalar int<o:p></o:p>

 Turning on AgentX master support.<o:p></o:p>

 snmpd: send_trap: Cannot send V1 PDU on V2session <o:p></o:p>

<o:p> </o:p>

<o:p> </o:p>

I still don’t know if the defined MIB has been loaded properly. Hence, I tried to load in all the MIB files: <o:p></o:p>

 snmpget -m ALL -c public localhost 1.3.6.1.4.1.8072.2.1.1.0 <o:p></o:p>

had no influence on the result:<o:p></o:p>

 iso.3.6.1.4.1.8072.2.1.1.0=No Such Object available on this agent at this OID <o:p></o:p>

<o:p> </o:p>

Trying to walk the NET-SNMP-MIB::nsModuleTable: <o:p></o:p>

snmpget -m ALL -c public localhost NET-SNMP-MIB::nsModuleTable <o:p></o:p>

led to the output: <o:p></o:p>

 Cannot find module (NET-SNMP-MIB):At line 1 in (none)<o:p></o:p>

 Unknown Object Identifier <o:p></o:p>

 <o:p></o:p>

<o:p></o:p>

Any solutions, comments or suggestions what I could have done wrong would be very appreciated.<o:p></o:p>

<o:p> </o:p>

Thanks!<o:p></o:p>

<o:p> </o:p>

Best 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.