[AGENT++] Need help with MibTable
Johnny Ljunggren
johnny at navtek.no
Thu Oct 26 21:47:22 CEST 2006
Johnny Ljunggren wrote:
> AgenPro automagically made source code for my mib, but I'm struggling with
> how to control it.
Apparently this works:
start_synch();
MibTableRow* row = add_row(get_next_avail_index());
row->get_nth(0)->replace_value(new SnmpInt32(10));
row->get_nth(1)->replace_value(new OctetStr("Johnny"));
row->get_nth(2)->replace_value(new OctetStr("Ljunggren"));
row->get_nth(3)->replace_value(new SnmpInt32(11));
row->get_nth(4)->replace_value(new SnmpInt32(12));
end_synch();
The agent++ dynamic table example helped a bit, but I'd still appreciate
some more documentation though. Anyway, I've moved a step forward...
--
Johnny Ljunggren, Navtek AS
More information about the AGENTPP
mailing list