Re: Agent Extension

This is a discussion on Re: Agent Extension within the SNMP Coders forums, part of the Networking and Network Related category; Cannot adopt OID in NET-SNMP-TUTORIAL-MIB: nstMIBObjects ::= { netSnmpTutorialMIB 1 } Cannot adopt OID in NET-SNMP-TUTORIAL-MIB: nstMIBConformance ::= { ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-04-2005
John Pfaff
 
Posts: n/a
Default Re: Agent Extension

Cannot adopt OID in NET-SNMP-TUTORIAL-MIB: nstMIBObjects ::= {
netSnmpTutorialMIB 1 }
Cannot adopt OID in NET-SNMP-TUTORIAL-MIB: nstMIBConformance ::= {
netSnmpTutorialMIB 2 }
Cannot adopt OID in NET-SNMP-TUTORIAL-MIB: nstAgentModuleObject ::= {
nstAgentModules 1 }
Cannot adopt OID in NET-SNMP-TUTORIAL-MIB: nstAgentSubagentObject ::=
{ nstAgentModules 2 }
Cannot adopt OID in NET-SNMP-TUTORIAL-MIB: nstAgentPluginObject ::= {
nstAgentModules 3 }
Cannot adopt OID in NET-SNMP-TUTORIAL-MIB: netSnmpTutorialMIB ::= {
netSnmpExamples 4 }
Cannot adopt OID in NET-SNMP-TUTORIAL-MIB: nstAgentModules ::= {
nstMIBObjects 1 }

On Apr 4, 2005 12:52 PM, John Pfaff <john.pfaff@gmail.com> wrote:
> 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 <Bernhard.Penz@fabasoft.com> 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:john.pfaff@gmail.com]
> > > 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 <john.pfaff@gmail.com> 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, res0d1zz@verizon.net
> > > <res0d1zz@verizon.net> 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" <john.pfaff@gmail.com>
> > > > > 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/...et-snmp-coders
> > >
> > >

> >

>
> --
> John Pfaff
> john.pfaff@gmail.com
>



--
John Pfaff
john.pfaff@gmail.com


-------------------------------------------------------
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/...et-snmp-coders
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:03 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0