Re: Another python problem in cygwin

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 ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-03-2008
Dave Shield
 
Posts: n/a
Default Re: Another python problem in cygwin

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
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 12:58 PM.


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