>>>>> On Mon, 7 Jun 2004 09:22:58 +0530, Kurapati M-G19456 <[EMAIL PROTECTED]> said:

Kurapati> I wanted to provide my own implementation for the interfaces
Kurapati> MIB.  As suggested in the list I have used the -I -interface
Kurapati> option and it seems to be working fince except for the scalr
Kurapati> ifNUmber in if group.  What I observed is, even after
Kurapati> starting the snmpd with the above option, when an snmpget on
Kurapati> ifNumber is issued, var_interfaces() defined in interfaces.c
Kurapati> is being called.  For the ifTable, NET-SNMP library is
Kurapati> calling the instrumentation routine that I supplied as part
Kurapati> of the REGISTER_MIB().

Kurapati> Is this a known problem with ifNumber?  Am I doing something
Kurapati> wrong?  Any ideas on this will be greatly appreciated.

You'll need to reimplement ifNumber as well.  What I'm confused by is
why our implementation is getting called at all, unless you
re-registered it under your init routine.  Our implementation 
does an internal count by calling the same routines that the table
uses to count the number of interfaces.  You'll need to do your own counting.

-- 
Wes Hardaker
Sparta


-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
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