RE: Question on MIB Text Files
This is the actual error that was returned from the SNMP agent:
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
Thanks and Regards,
Rajesh G
-----Original Message-----
From: Rajesh Gopalan
Sent: Tuesday, September 23, 2008 8:57 AM
To: 'net-snmp-users@lists.sourceforge.net'
Subject: Question on MIB Text Files
Hi,
I am using Net SNMP for all the management purposes in our project but
there exists a stringent memory constraint. Net SNMP, by default, while
installing installs the MIB text files under usr/local/share/snmp/mibs.
Also, while starting it looks for all the MIB text (*MIB*.txt) files and
load it. These MIB files are more than 1.5 MB, due to space constraint,
I want to override this and get it included while compilation only. Is
it possible to do that?
If I don't copy these MIB files onto the target machine and start SNMP,
it throws an error "Error in loading MIB files". I guess these files are
required only during boot time.
Thanks in advance for your help.
Thanks and Regards,
Rajesh G
SASKEN BUSINESS DISCLAIMER
-------------------------
This message may contain confidential, proprietary or legally privileged information. In
case you are not the original intended Recipient of the message, you must not, directly or
indirectly, use, Disclose, distribute, print, or copy any part of this message and you are
requested to delete it and inform the sender. Any views expressed in this message are
those of the individual sender unless otherwise stated. Nothing contained in this message
shall be construed as an offer or acceptance of any offer by Sasken Communication
Technologies Limited ("Sasken") unless sent with that express intent and with due
authority of Sasken. Sasken has taken enough precautions to prevent the spread of
viruses. However the company accepts no liability for any damage caused by any virus
transmitted by this email
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
[url]http://moblin-contest.org/redirect.php?banner_id=100&url=/[/url]
_______________________________________________
Net-snmp-users mailing list
[email]Net-snmp-users@lists.sourceforge.net[/email]
Please see the following page to unsubscribe or change other options:
[url]https://lists.sourceforge.net/lists/listinfo/net-snmp-users[/url]
RE: Question on MIB Text Files
> From: Rajesh Gopalan [mailto:rajesh.gopalan@sasken.com][color=blue]
> Sent: Monday, September 22, 2008 10:57 PM[/color]
[color=blue]
> This is the actual error that was returned from the SNMP agent:
>
> Cannot find module (SNMPv2-MIB): At line 0 in (none)
> Cannot find module (SNMPv2-SMI): At line 0 in (none)
> Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
> Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
> Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
> Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
> Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)[/color]
You are loading a MIB that includes these. You must either provide them or not include the MIB. Check your env vars MIBS and MIBDIRS, as well as your -m and -M flags, to find what MIB you are including.
HTH,
Mike
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
[url]http://moblin-contest.org/redirect.php?banner_id=100&url=/[/url]
_______________________________________________
Net-snmp-users mailing list
[email]Net-snmp-users@lists.sourceforge.net[/email]
Please see the following page to unsubscribe or change other options:
[url]https://lists.sourceforge.net/lists/listinfo/net-snmp-users[/url]