Problems getting oid value from table

Frank Fock Frank.Fock____t-online.de
Tue Mar 12 20:26:11 CET 2002


Hi Kjersti,

Do you have added the row to the table (MibTable::add_row) of which you
want to get a column? How did you hardcode the values?

Best regards,
Frank

Kjersti Grønnevik wrote:

> 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