On Wed, 08 Sep 2004 12:39:54 +0530 Karthikeyan wrote:
KN> I tried in the below mentioned way ifXTable columns are not retrieved and
KN> saying no data available. Am I missing something??
KN> 
KN> steps followed :
KN> 
KN> Copied the files from CVS under agent/mibgroup/if-mib directory
KN> Copied the file from CVS named, table_container.c
KN> Compiled (using,  make and make install)

You would have to configure the agent to include the mib:

        --with-mib-modules=if-mib

(which reminds me, you'll probably need to copy of /agent/mibgroup/if-mib.h
too).

Then you will have to manually edit agent/helpers/Makefile to add the
table_container.c file to the build.

You'll also need to update netsnmp_container_init_list() in
snmplib/container.c, adding this with the other registrations:

    netsnmp_container_register("table_container",
                               netsnmp_container_get_factory("binary_array"));


That should get you a little further along the path...

-- 
Robert Story; NET-SNMP Junkie <http://www.net-snmp.org/>
<irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to