Re: Build with out ifMIB

Aneeja Abbas <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <6979248.160311192754975574.JavaMail.root@trillian>
Hi 

Thank you so much for your response. 

I am doing : 
./configure --without-mib-modules="mibII/ifTable" 
and I get the following warning messages: 

*** MIB Module warning *** mib module 'mibII' requires module 'mibII/ifTable' but someone told me to compile without it 
*** MIB Module warning *** mib module 'mibII/ip' requires module 'mibII/ifTable' but someone told me to compile without it 
*** MIB Module warning *** mib module 'host/hr_network' requires module 'mibII/ifTable' but someone told me to compile without it 

I proceeded and did 'make' and ended up with the following link error : 

.libs/snmpd.o: In function `receive': 
/root/SNMP/net-snmp-5.4.1/agent/snmpd.c:1090: undefined reference to `update_config' 
collect2: ld returned 1 exit status 
make[1]: *** [snmpd] Error 1 

(I am using NET-SNMP Version 5.4.1 on Linux FC6. And trying to build the agent without the ifTable. The objective is to move the implementation of ifTable to a subagent.) 

Thanks 
Aneeja 

----- Original Message ----- 
From: "Aneeja Abbas" <[email protected]> 
To: [email protected] 
Cc: "Wes Hardaker" <[email protected]>, [email protected] 
Sent: Thursday, October 18, 2007 5:37:37 PM (GMT-0800) America/Los_Angeles 
Subject: Re: Build with out ifMIB 


Hi 

Thank you so much for your response. 

I am doing : 
./configure --without-mib-modules="mibII/ifTable" 
and I get the following warning messages: 

*** MIB Module warning *** mib module 'mibII' requires module 'mibII/ifTable' but someone told me to compile without it 
*** MIB Module warning *** mib module 'mibII/ip' requires module 'mibII/ifTable' but someone told me to compile without it 
*** MIB Module warning *** mib module 'host/hr_network' requires module 'mibII/ifTable' but someone told me to compile without it 

Is it OK to proceed with this? 

(I am using NET-SNMP Version 5.4.1 on Linux FC6. And trying to build the agent without the ifTable. The objective is to move the implementation of ifTable to a subagent.) 

Thanks 
Aneeja 

----- Original Message ----- 
From: "Thomas Anders" <[email protected]> 
To: "Wes Hardaker" <[email protected]> 
Cc: "Aneeja Abbas" <[email protected]>, [email protected] 
Sent: Thursday, October 18, 2007 2:53:36 PM (GMT-0800) America/Los_Angeles 
Subject: Re: Build with out ifMIB 

Wes Hardaker schrieb: 
>>>>>> "AA" == Aneeja Abbas <[email protected]> writes: 
> 
> AA> ./configure --without-mib-modules="ifMIB" 
> 
> Try: 
> 
> ./configure --without-mib-modules="mibII/ifTable" 

Does this still work if mfd rewrites (see 
http://www.net-snmp.org/wiki/index.php/IF-MIB_rewrite) are enabled? 

I'd have assumed --without-mib-modules="if-mib" would be the way to go, 
then. 

Then, still, the OP hasn't even said what OS and net-snmp version he uses. 


+Thomas

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

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