Hi Dave,
Actually it is working as expected when i use snmpd daemon alone.
But when i am integrating the code with my application it is answering
for only one table( Running snmp as a thread ).
Please let me know which function in mib_module_init.h registers the mib
of ipNetToMedia table.
This will help me debuging things.
As i have gone through the code and find that init_inetToMediaTable is
used to work with ipNetToPhysicaltable.
Regards,
Manjit
Dave Shield wrote:
On 9 March 2011 09:08, Manjit <[email protected]> wrote:
I am using net-snmp 5.4.2.1 .
For my system i need to support ipNetToMediaTable and ipNetToMedia table
both.
When i am doing a walk on these two tables i am only getting values for
ipNetToPhysicalTable.
But ipNetToMediaTable returns nothing.
I've just tried this with the current 5.4.x code (on a Linux box),
and both tables report as expected. I've had a quick look at
the revision history for the 5.4.x line, and can't immediately
see anything that would have changed behaviour in the meantime.
What O/S are you working on?
Can you try installing a newer version (just temporarily)
and see if you get the same behaviour?
Dave
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders