When I do

   snmpd -Dmib_init

my log file includes:

  mib_init: initializing: system_mib
  mib_init: initializing: sysORTable
  mib_init: initializing: at
  mib_init: initializing: interfaces
  mib_init: initializing: snmp_mib
  mib_init: initializing: tcp
  mib_init: initializing: icmp
  mib_init: initializing: ip
  mib_init: initializing: udp
  mib_init: initializing: vacm_vars

But didn't I tell it _not_ to include interfaces, etc.?

                             Chris
----- Original Message -----
From: [EMAIL PROTECTED]
Date: Wednesday, June 2, 2004 12:51 pm
Subject: Can't remove interfaces?

> I'm trying to provide my own data for the interfaces MIB.  After a 
> `make distclean`, I've configured snmp with:
> 
>   ...
>   --with-out-mib-modules=mibII/interfaces \
>   --with-out-mib-modules=mibII/ip \
>   --with-out-mib-modules=mibII/tcp \
>   --with-out-mib-modules=mibII/tcpTable \
>   --with-out-mib-modules=mibII/udp \
>   --with-out-mib-modules=mibII/udpTable 
> 
> and done `make` and `make install`.  My subagent is built and in-
> place to supply interfaces data.  When I've restarted everything, 
> snmpwalk shows me:
> 
>  RFC1213-MIB::ifNumber.0 = INTEGER: 9
>  RFC1213-MIB::ifIndex.1 = INTEGER: 1
>  RFC1213-MIB::ifIndex.2 = INTEGER: 2
>  RFC1213-MIB::ifIndex.3 = INTEGER: 3
>  RFC1213-MIB::ifDescr.1 = STRING: "lo"
>  RFC1213-MIB::ifDescr.2 = STRING: "eth0"
>  RFC1213-MIB::ifDescr.3 = STRING: "eth1"
>  RFC1213-MIB::ifType.1 = INTEGER: softwareLoopback(24)
>  RFC1213-MIB::ifType.2 = INTEGER: ethernet-csmacd(6)
>  RFC1213-MIB::ifType.3 = INTEGER: ethernet-csmacd(6)
> 
> The ifNumber.0 = 9 is from my subagent.  The table entries 
> (ifIndex.1..ifIndex.3, etc.) appear to be from 
> agent/mibgroup/mibII/interfaces.c but `objdump -t snmpd` doesn't 
> list interfaces.o.  I'm very, very confused.  Help!
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by the new InstallShield X.
> From Windows to Linux, servers to mobile, InstallShield X is the one
> installation-authoring solution that does it all. Learn more and
> evaluate today! http://www.installshield.com/Dev2Dev/0504
> _______________________________________________
> 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 the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
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

Reply via email to