Re: Support for ipNetToMediaTable.

2011-03-09 Thread Dave Shield
On 9 March 2011 12:49, Manjit wrote: > Please let me know which function in mib_module_init.h registers the mib of > ipNetToMedia table. Actually, I'm not sure. I've had a look at the code, and I can't spot anywhere that registers the OID of this table.So I'm not quite sure *why* this works!

Re: Support for ipNetToMediaTable.

2011-03-09 Thread Manjit
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

Re: Support for ipNetToMediaTable.

2011-03-09 Thread Dave Shield
On 9 March 2011 09:08, Manjit 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'v

Re: Support for ipNetToMediaTable.

2011-03-09 Thread Manjit
My system is working with 5.4.2.1 and we are using net-snmp as a thread on fedora. When i am doing a query on agent it is going to the below part of code : /* * Deal with unhandled results -> noSuchInstance (rather * than noSuchObject -- in that case, the type will

Re: Support for ipNetToMediaTable.

2011-03-09 Thread Niels Baggesen
Den 09-03-2011 10:08, Manjit skrev: > 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. > [root

Support for ipNetToMediaTable.

2011-03-09 Thread Manjit
Hi, 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. [root@pactprov cli]# /opt/servers/netsnmp/bin/snm