Re: Unable to Extend snmpd: There is not such variable name in this MIB
Leo Lin <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Mishustin, I got the same output querying the agent with numerial oid for frequency. I'm not sure why is says LLC-MIB: No such file or directory, I did placed the LLC-MIB.txt under /usr/local/share/snmp/mibs directory, and load the LLC-MIB definition using snmpconfig -p As you can see from the response, the agent does recognize that frequency.0 belongs to LLC-MIB definition. I'm using Net-SNMP-5.6.rc1 release, so when I decompressed the tar-ball, it created a directory under root like so ~/net-snmp-5.6.rc1 I used the configure script that comes with the tarball, and re-compiled my source and header files in this directory like so, ~/net-snmp-5.6.rc1/configure --with-mib-modules="frequency" then ~/net-snmp-5.6.rc1/make and last ~/net-snmp-5.6.rc1/make install I've read somewhere that I need to install Perl with mib2c for net-snmp revision 5.xxx and above, could that be the problem? Thanks! Leo; --- On Tue, 8/31/10, Mishustin Kirill <[email protected]> wrote: From: Mishustin Kirill <[email protected]> Subject: Re: Unable to Extend snmpd: There is not such variable name in this MIB To: "Net-snmp-users" <[email protected]> Cc: "Leo Lin" <[email protected]> Date: Tuesday, August 31, 2010, 9:53 PM 01.09.2010 10:38, Leo Lin wrote: Hi, thanks for replying I got these result with /usr/local/sbin/snmpd -Dmib_init No log handling enabled - using stderror logging registered debug token mib_init, 1 Log handling defined - disabling stderr I checked that the process is queued with ps(). I also tried snmpget -v 1 -c public localhost sysDescr.0 with the following result: LLC-MIB: No such file or directory SNMPv2-MIB::sysDescr.0 = STRING: CYGWIN_NT-5.1 Thanks! Leo; And that's all? Initial output should end with "NET-SNMP version x.x.x". If you don't see that string - something is seriously wrong. Post here how you launch configure script for net-snmp, I mean parameters for configure. And this "LLC-MIB: No such file or directory" worries me. Try quering agent with numerical oid. ( #yiv700632989 p, #yiv700632989 li {white-space:pre-wrap;} 1.3.6.1.4.1.331.1.1.0 for frequency from your mib). And please, don't mail me privately. Keep discussion on the list, so others can learn from it. ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ 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