What I actually did was setenv MIBS +ALL (I'm running tcsh) and this is what I get:
snmpget -c public -v 1 localhost 1.3.6.1.4.1.8072.2.4.1.1.1.0 Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: NET-SNMP-TUTORIAL-MIB::nstAgentModuleObject.0 snmpget -c public -v 1 localhost nstAgentModuleObject Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: NET-SNMP-TUTORIAL-MIB::nstAgentModuleObject snmpget -c public -v 1 localhost nstAgentModuleObject.0 Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: NET-SNMP-TUTORIAL-MIB::nstAgentModuleObject.0 Also, what does the error Cannot adopt OID in MY-MIB: myVariable ::= { myTable 1 } mean? On Apr 4, 2005 11:13 AM, Penz, Bernhard <[EMAIL PROTECTED]> wrote: > Hi, > > Do you say "export MIBS=ALL"? "man snmp.conf" and "man snmpcmd" will > help you with command related stuff. > > Bernhard > > > -----Original Message----- > > From: John Pfaff [mailto:[EMAIL PROTECTED] > > Sent: Montag, 04. April 2005 16:57 > > To: net-snmp-coders@lists.sourceforge.net > > Subject: Re: Agent Extension > > > > Also, I tried using the nstAgentModuleObject and can't get a > > response for it either. > > > > On Apr 4, 2005 10:21 AM, John Pfaff <[EMAIL PROTECTED]> wrote: > > > It's in /usr/share/snmp/mibs with all of the other mibs. I can do > > > snmptranslate and see it just fine. > > > > > > On Apr 4, 2005 1:16 AM, [EMAIL PROTECTED] > > <[EMAIL PROTECTED]> wrote: > > > > Have you included MIB file to the right place? try use > > OID number to > > > > see if you can get the data. > > > > > > > > -res > > > > > > > > ----- Original Message ----- > > > > From: "John Pfaff" <[EMAIL PROTECTED]> > > > > To: <net-snmp-coders@lists.sourceforge.net> > > > > Sent: Sunday, April 03, 2005 6:08 PM > > > > Subject: Agent Extension > > > > > > > > > I'm sure there's probably a step I'm missing, but I > > can't figure > > > > > out what it is. I generated my code with mib2c -c > > > > > mib2c.int_watch.conf my-mib.txt. > > > > > I do ./configure --with-mib-modules="my-mib" I see .o > > files, so I > > > > > know it's getting compiled, but when I do snmpget all I get is > > > > > noSuchName. I can query sysDescr.0, but if I try > > > > > testConfiguration.0 (or testConfiguration) I get noSuchName. > > > > > > > > > > Is ther a step I'm missing? > > > > > > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide Read honest & > > candid reviews on hundreds of IT Products from real users. > > Discover which products truly live up to the hype. Start reading now. > > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > > _______________________________________________ > > Net-snmp-coders mailing list > > Net-snmp-coders@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/net-snmp-coders > > > > > -- John Pfaff [EMAIL PROTECTED] ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders