Re: Build with out ifMIB

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

Attached is the details of the configure options I used and the results. Please let me know if you have any more questions. 
As removing ifTable from the main agent turned out to be difficult, we decided to modify the '/proc/net/dev' file and get things done. 

Thanks 
Aneeja 

----- Original Message ----- 
From: "Thomas Anders" <[email protected]> 
To: "Aneeja Abbas" <[email protected]> 
Cc: "Wes Hardaker" <[email protected]>, [email protected] 
Sent: Friday, October 19, 2007 11:33:49 PM (GMT-0800) America/Los_Angeles 
Subject: Re: Build with out ifMIB 

Aneeja Abbas wrote: 
> Thanks a lot for the help. Doing 'make clean' after 'configure' solved 
> the linker error. 
> But, somehow the ifTable is not removed from the agent. May be because 
> of other dependent modules, it is not being removed from the build. 

Details? What configure options? What output do you get at then end of 
the configure run? 


+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

-------------------------------------------------------------------------
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
ifTableRemovalAttempts.txt (text/plain, 4.4 KB)
*****************Case 1 : CONFIGURE without ifTable**************************
Configure Command :
./configure --with-out-mib-modules="mibII/ifTable"

Configure output (summary alone) :
---------------------------------------------------------
            Net-SNMP configuration summary:
---------------------------------------------------------

  SNMP Versions Supported:    1 2c 3
  Net-SNMP Version:           5.4.1
  Building for:               linux
  Network transport support:  Callback Unix TCP UDP
  SNMPv3 Security Modules:     usm
  *** 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
  Agent MIB code:             default_modules =>  snmpv3mibs mibII ucd_snmp notification notification-log-mib target agent_mibs agentx disman/event disman/schedule utilities host
  Embedded Perl support:      enabled
  SNMP Perl modules:          building -- embeddable
  SNMP Python modules:        disabled
  Authentication support:     MD5 SHA1
  Encryption support:         DES AES
---------------------------------------------------------

Result of snmpwalk :
snmpwalk for ifTable displays ifTable

*****************End : Case 1 : CONFIGURE without ifTable********************************

************* Case 2 : CONFIGURE without ifTable, ip, hr_network***************************
Configure Command :
./configure --with-out-mib-modules="mibII/ifTable mibII/ip host/hr_network"

Configure output (summary alone) :
---------------------------------------------------------
            Net-SNMP configuration summary:
---------------------------------------------------------

  SNMP Versions Supported:    1 2c 3
  Net-SNMP Version:           5.4.1
  Building for:               linux
  Network transport support:  Callback Unix TCP UDP
  SNMPv3 Security Modules:     usm
  *** MIB Module warning *** mib module 'mibII' requires module 'mibII/ifTable' but someone told me to compile without it
  *** MIB Module warning *** mib module 'mibII' requires module 'mibII/ip' but someone told me to compile without it
  *** MIB Module warning *** mib module 'host' requires module 'host/hr_network' but someone told me to compile without it
  *** MIB Module warning *** mib module 'mibII/tcpTable' requires module 'mibII/ip' but someone told me to compile without it
  *** MIB Module warning *** mib module 'mibII/udpTable' requires module 'mibII/ip' but someone told me to compile without it
  Agent MIB code:             default_modules =>  snmpv3mibs mibII ucd_snmp notification notification-log-mib target agent_mibs agentx disman/event disman/schedule utilities host
  Embedded Perl support:      enabled
  SNMP Perl modules:          building -- embeddable
  SNMP Python modules:        disabled
  Authentication support:     MD5 SHA1
  Encryption support:         DES AES
---------------------------------------------------------

Result of snmpwalk :
snmpwalk for ifTable displays ifTable

************* End : Case 2 : CONFIGURE without ifTable, ip, hr_network***************************

************* Case 3 : CONFIGURE without mibII***************************
Configure Command :
./configure --with-out-mib-modules="mibII"

Configure output (summary alone) :
---------------------------------------------------------
            Net-SNMP configuration summary:
---------------------------------------------------------

  SNMP Versions Supported:    1 2c 3
  Net-SNMP Version:           5.4.1
  Building for:               linux
  Network transport support:  Callback Unix TCP UDP
  SNMPv3 Security Modules:     usm
  Agent MIB code:             default_modules =>  snmpv3mibs ucd_snmp notification notification-log-mib target agent_mibs agentx disman/event disman/schedule utilities host
  Embedded Perl support:      enabled
  SNMP Perl modules:          building -- embeddable
  SNMP Python modules:        disabled
  Authentication support:     MD5 SHA1
  Encryption support:         DES AES

---------------------------------------------------------
Result :
Build errors:
Got linker errors for the functions : vacm_standard_views, init_vacm_config_tokens, vacm_check_view

************* End : Case 3 : CONFIGURE without mibII***************************
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.