Re: Cannot find module (MYHW-MIB.mib): At line 1 in (none) on windows 2000 but not linux

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 05/12/2007, PoWah Wong <[email protected]> wrote:
> I created my own mib and the same snmpget command has
> a "Cannot find module (MYHW-MIB.mib)" message on
> windows 2000 but not on linux.
> Why?

> Windows environment variables:
> MIBS=+MYHW-MIB.mib

The name of the MIB module is probably  "MYHW-MIB"
Try
     MIBS=+MYHW-MIB


MYHW-MIB.mib is probably the name of the MIB *file*
that contains the MIB module.   The "MIBS" environment
variable takes the module name, not the name of the file.

Dave

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.