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

Reply via email to