On Thu, 18 Sep 2014 11:48:21 +0530 Pranesh wrote:
PK> > Hi All,
PK> >
PK> > I used mib2c compiler for generating mfd option for ifTable
PK> >
PK> > I am not getting the values for snmpwalk
PK> >
PK> > #snmpwalk -v 2c -c public localhost ifTable
PK> > IF-MIB::ifTable = No Such Object available on this agent at this OID
PK> >
PK> >
PK> > I have correctly configured config file.
PK> >
PK> > running the master agent as
PK> > /usr/local/sbin/snmpd -I -ifTable -I -ifXTable
PK> >
PK> > The logic of getting the values is in ifTable_container_load() , but I
PK> > did find any function calling this one ifTable_container_load()

Did you ever resolve this issue?

Did you enable the cache for mfd? If so, the _cache_load function should call
the container load function. I'm guessing you don't have the cache, because it
looks like in that case no code is generate to load the container. Just add a
call to the ifTable_init function:

        ifTable_container_load(ifTable_container_get());


Robert

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to