This is a discussion on Re: Another python problem in cygwin within the SNMP Users forums, part of the Networking and Network Related category; On 26/12/2007, Jack G Atkinson Jr <jgatkinsn@gmail.com> wrote: >> It sounds suspiciously as ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On 26/12/2007, Jack G Atkinson Jr <jgatkinsn@gmail.com> wrote:
>> It sounds suspiciously as if the python interface can't find the MIB >> definitions. Where is this file installed? > It is located in /usr/local/share/snmp/mibs directory or > (c:\tools\cygwin\usr\local\share\snmp\mibs from Windows' > perspective) OK - that sounds sensible. (Which is probably why the command-line tools are happy). The next thing to check is what path the python interface is using to look for MIB files. You need to set the debug token 'parse-mibs'. I'm not familiar with the python bindings myself, but the C call to do this would be debug_register_tokens("parse-mibs"); I'll leave the equivalent python incantation to those who know about such things. Dave ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/...net-snmp-users |
![]() |
| Thread Tools | |
| Display Modes | |
|
|