Hi,

What's the active code for ifTable?

I see that
1. There are 2 files. interfaces.c, ifTable.c in
mibgroup/mibII directory.
2. Also, under mibgroup/if-mib, there is code in
directories data_access, ifTable.

Which is active and which is preferred? 

I kind of understand the code in interfaces.c but not
the other code in if-mib yet. I am going through the
on-line manual but is there a more easier to
understand document?

I have read in the mailing list archives that
interfaces.c might be the correct version..but not
preferred, is that still true?

Regarding table_dataset, table_handlers etc...lots of
stuff I read on the list about the table handlers,
especially the discussion between Dave, Robert & Wes
confused me. Probably more so because I haven't
understood the implementation of these handler stuff,
though I understand the concept.

Primarily, what I am trying to do is integrate
Net-SNMP in to the bigger picture. i.e. we have a
network storage product. On the line card, we have a
Database and correspnding API's to get the data from
DB. Information for the ethernet interfaces is stored
in the DB by other application at appropriate times by
getting the information from the driver (autonomous
state etc) and from the user interface (provisioning
info) i.e.. the GUI. When another user who uses SNMP
to query the ethernet interface related data, I would
like SNMP to call the DB API to get the data and this
I was trying to do in the "SNMP GET leaf
handler...call back function" ..

Can you quickly point to me the code where I can
register the call back function?

Finally, DB also sends some autonomous notification to
various subsystems or processes (not sub-agents) on
the line card. As per my design SNMP needs to listen
on a "known" message queue and when it gets such
notifications it should trigger SNMP traps...

I created a message queue in SNMP..main()..I need to
monitor the message queue in some location in
Net-SNMP? Where would that be? Once I receive the
message, for example an ethernet-ifTable parameter
based trigger, then I need to go to corresponding
handler function to trigger corresponding Trap as we
have "custom" traps related some custom-mibs..

I agree I posted a lot of questions...But pls answer
those u can and others..may be some one else will. :)

Or, may be I will also become bald as some of you
guys.. :)

By the way, we are using 5.2.1 release.

cheers
SP 



                
__________________________________ 
Discover Yahoo! 
Get on-the-go sports scores, stock quotes, news and more. Check it out! 
http://discover.yahoo.com/mobile.html


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to