Problems getting oid value from table

Kjersti Grønnevik kgr____morecom.no
Tue Mar 12 15:09:05 CET 2002


> Hi,
> 
> I have problem with getting an oid value from a table.
> The oid value shall be in a database table, but for now I only have hard coded the value
> in myMib.cpp(originally generatet by agentGen). How can I get past the tableEntry? It also seems like the function MibTable::get_request(req, ind) in mib.cpp
> 
> at the line:  if(o=find(reg->get_oid(ind))) != 0)  
> 
> does not find the oid when I debug. I am using the windows program MG-Soft MIB-Browser to get the oid value from my agent. 
>   
> What could be the possible reason? 
> 
> I'm running KDevelop with the latest agent++/snmp++ on Linux red hat.The mib shall only support SNMPv1.
> The lissener port is chanced to 4700
> 
> Very grateful for any suggestions or hints!
> 
> Best regards,
> Kjersti



More information about the AGENTPP mailing list