[prev in list] [next in list] [prev in thread] [next in thread] 

List:       net-snmp-users
Subject:    =?utf-8?B?UmU6IHdhcmluZyBtZXNzYWdlIHdoZW4gdXNpbmcgbGlibmV0c25tcC5h?=
From:       "=?utf-8?B?YmVuZF9jaGVu?=" <bend_chen () sina ! com>
Date:       2011-07-25 1:17:18
Message-ID: 201107250917184071836 () sina ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]

[Attachment #4 (text/plain)]

hi

  I encountered the same problem used netsnmp 5.7.
I change to 5.6,is ok.




2011-07-25

 



: waring message when using libnetsnmp.a

hi,
    I am on a project using libnetsnmp.a, and meets a problem, which seems easy to be \
solved, but I just cannot handle it, so I hope there would be any suggestion. Thank \
you.

    It seems that when I first run my program on a machine, there would be warning \
messages as blew:

Created directory: /var/net-snmp
Created directory: /var/net-snmp/mib_indexes
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (none)
Cannot find module (DISMAN-EVENT-MIB): At line 0 in (none)
Cannot find module (DISMAN-SCHEDULE-MIB): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (NET-SNMP-AGENT-MIB): At line 0 in (none)
Cannot find module (HOST-RESOURCES-TYPES): 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)
Cannot find module (SNMP-FRAMEWORK-MIB): 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 (IP-FORWARD-MIB): At line 0 in (none)
Cannot find module (NET-SNMP-PASS-MIB): At line 0 in (none)
Cannot find module (NET-SNMP-EXTEND-MIB): At line 0 in (none)
Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)
Cannot find module (NET-SNMP-VACM-MIB): At line 0 in (none)

   I know it relates to the OS enviroment and the config file. But I just do not want \
to see these message on the screen.

   Is there any way I could turn off these message or log them to a file in stead of \
standard output.   I prefer API more than command line or configuration.

  Thank you very much. 


[Attachment #5 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns:o = "urn:schemas-microsoft-com:office:office"><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 9.00.8112.16430">
<STYLE>@font-face {
	font-family: 宋体;
}
@font-face {
	font-family: Verdana;
}
@font-face {
	font-family: @宋体;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; \
layout-grid: 15.6pt; } P.MsoNormal {
	TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; \
FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt }
LI.MsoNormal {
	TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; \
FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt }
DIV.MsoNormal {
	TEXT-JUSTIFY: inter-ideograph; TEXT-ALIGN: justify; MARGIN: 0cm 0cm 0pt; \
FONT-FAMILY: "Times New Roman"; FONT-SIZE: 10.5pt }
A:link {
	COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
	COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
	COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
	COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
	FONT-STYLE: normal; FONT-FAMILY: Verdana; COLOR: windowtext; FONT-WEIGHT: normal; \
TEXT-DECORATION: none; mso-style-type: personal-compose }
DIV.Section1 {
	page: Section1
}
BLOCKQUOTE {
	MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
	MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
	MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</STYLE>
</HEAD>
<BODY style="MARGIN-TOP: 10px; MARGIN-LEFT: 10px; MARGIN-RIGHT: 10px">
<DIV><FONT color=#0000ff face=Verdana><SPAN>hi</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Verdana></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana></FONT>&nbsp; I encountered the same problem used 
netsnmp 5.7.</DIV>
<DIV>I change to 5.6,is ok.</DIV>
<DIV>&nbsp;</DIV>
<DIV align=left>
<DIV align=left><FONT size=2 face=Verdana>
<HR style="WIDTH: 122px; HEIGHT: 2px" SIZE=2>
</FONT></DIV>
<DIV><FONT color=#c0c0c0><FONT size=2 face=Verdana></FONT></DIV>
<DIV><FONT size=2 face=Verdana>2011-07-25</FONT></DIV>
<DIV>
<DIV><FONT size=2>
<DIV><FONT size=2 face=Verdana><FONT size=2><SPAN style="FONT-SIZE: 10pt" 
lang=EN-US><BR>&nbsp;</DIV></SPAN></FONT></FONT></FONT></DIV></DIV></FONT></DIV>
<DIV><FONT size=2 face=Verdana>
<HR>
</FONT></DIV>
<DIV><FONT face=Verdana><FONT size=2><STRONG>:</STRONG> waring message when 
using libnetsnmp.a</FONT></FONT></DIV>
<DIV><FONT size=2 face=Verdana></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Verdana>hi,<BR>&nbsp;&nbsp;&nbsp; I am on a project using 
libnetsnmp.a, and meets a problem, which seems easy to be solved, but I just 
cannot handle it, so I hope there would be any suggestion. Thank 
you.<BR><BR>&nbsp;&nbsp;&nbsp; It seems that when I first run my program on a 
machine, there would be warning messages as blew:<BR><BR>Created directory: 
/var/net-snmp<BR>Created directory: /var/net-snmp/mib_indexes<BR>Cannot find 
module (IP-MIB): At line 0 in (none)<BR>Cannot find module (IF-MIB): At line 0 
in (none)<BR>Cannot find module (TCP-MIB): At line 0 in (none)<BR>Cannot find 
module (UDP-MIB): At line 0 in (none)<BR>Cannot find module 
(HOST-RESOURCES-MIB): At line 0 in (none)<BR>Cannot find module (SNMPv2-MIB): At 
line 0 in (none)<BR>Cannot find module (SNMPv2-SMI): At line 0 in 
(none)<BR>Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in 
(none)<BR>Cannot find module (DISMAN-EVENT-MIB): At line 0 in (none)<BR>Cannot 
find module (DISMAN-SCHEDULE-MIB): At line 0 in (none)<BR>Cannot find module 
(UCD-SNMP-MIB): At line 0 in (none)<BR>Cannot find module (UCD-DEMO-MIB): At 
line 0 in (none)<BR>Cannot find module (SNMP-TARGET-MIB): At line 0 in 
(none)<BR>Cannot find module (NET-SNMP-AGENT-MIB): At line 0 in (none)<BR>Cannot 
find module (HOST-RESOURCES-TYPES): At line 0 in (none)<BR>Cannot find module 
(SNMP-MPD-MIB): At line 0 in (none)<BR>Cannot find module 
(SNMP-USER-BASED-SM-MIB): At line 0 in (none)<BR>Cannot find module 
(SNMP-FRAMEWORK-MIB): At line 0 in (none)<BR>Cannot find module 
(SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)<BR>Cannot find module 
(SNMP-COMMUNITY-MIB): At line 0 in (none)<BR>Cannot find module 
(IP-FORWARD-MIB): At line 0 in (none)<BR>Cannot find module (NET-SNMP-PASS-MIB): 
At line 0 in (none)<BR>Cannot find module (NET-SNMP-EXTEND-MIB): At line 0 in 
(none)<BR>Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)<BR>Cannot find 
module (SNMP-NOTIFICATION-MIB): At line 0 in (none)<BR>Cannot find module 
(SNMPv2-TM): At line 0 in (none)<BR>Cannot find module (NET-SNMP-VACM-MIB): At 
line 0 in (none)<BR><BR>&nbsp;&nbsp; I know it relates to the OS enviroment and 
the config file. But I just do not want to see these message on the 
screen.<BR><BR>&nbsp;&nbsp; Is there any way I could turn off these message or 
log them to a file in stead of standard output.&nbsp;&nbsp; I prefer API more 
than command line or configuration.<BR><BR>&nbsp; Thank you very much. 
</FONT></DIV></BODY></HTML>



------------------------------------------------------------------------------
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/

_______________________________________________
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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic