Re: net-snmp complains on start up without mib text files

2006-08-23 Thread Dave Shield
On 22/08/06, Bruce M. Penrod [EMAIL PROTECTED] wrote:
 I'm operating net-snmp snmpd in an embedded environment and don't have room on
 the flash for all of the mib text files

 Is there an easy way to keep net-snmp snmpd from complaining about this?

You can suppress these messages at run-time, by starting the agent using

snmpd -m  .

You can turn these messages off completely (and reduce the size of the
libraries slightly) by running configure using --disable-mib-loading
and re-compiling.

Dave

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
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/listinfo/net-snmp-users


RE: net-snmp complains on start up without mib text files

2006-08-23 Thread holger.klaas
 -Original Message-
 On Behalf Of Bruce M. Penrod
 Sent: 22 August 2006 23:54
 Subject: net-snmp complains on start up without mib text files
 
 I'm operating net-snmp snmpd in an embedded environment and 
 don't have room on the flash for all of the mib text files 
 usually located in /usr/local/share/snmp/mibs.  The snmpd 
 agent doesn't need them, but when it starts up it complains 
 and logs messages like this for each mib it can't find
 there:
 
 Cannot find module (SNMPv2-TM): At line 2 in (none)
 
 With ucd-snmp I didn't have this problem.  Is there an easy 
 way to keep net-snmp snmpd from complaining about this?  I am 
 using net-snmp 5.3.1.
 
 Thanks,
 
 Bruce

Bruce,

Try

configure --disable-mib-loading

or if you only want to parse a few specific MIBs try something like:

configure--with-mibs=RFC1213-MIB:Your-MIB:...

HTH,

Holger

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
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/listinfo/net-snmp-users