Re: Agent Extension

2005-04-04 Thread John Pfaff
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-TUTO

Re: Agent Extension

2005-04-04 Thread John Pfaff
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 -

Re: Agent Extension

2005-04-04 Thread Dave Shield
On Mon, 2005-04-04 at 02:08, John Pfaff wrote: > 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. Have you tried working through th

RE: Agent Extension

2005-04-04 Thread Penz, Bernhard
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: [email protected] > Subject: Re: Agent

Re: Agent Extension

2005-04-04 Thread John Pfaff
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 PROTECT

Re: Agent Extension

2005-04-04 Thread John Pfaff
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 > > - Ori