[AGENT++] subagent mib register with context and net-snmp does not work?

Claus Klein claus.klein at arcormail.de
Wed Aug 4 23:49:28 CEST 2010


Hi Frank,

the current net-snmp supports contexts. It use it for the snmptrapd,  
which is a subagent when started with -x option
and register its mibs at snmptrpad context. That works fine.

Bets regards,
Claus

On 04.08.2010, at 23:20, Frank Fock wrote:

> Hi Claus,
>
> Version 4.2.1 of NET-SNMP did not support AgentX contexts.
> I do not know if that has changed now.
>
> Best regards,
> Frank
>
> Claus Klein schrieb:
>> Hi,
>>
>> I tried to register a MIB at a owne context, but the MIB is  
>> registered  at the default context?
>>
>> The Master agent is the current net-snmp 5.5 on windows or cygwin.
>>
>>
>> I use the mib code generated with AgentGen V3.0:
>>
>> 	init(*mib);
>> 	module_init("mycontext", mib);
>>
>>                                 ^^^^^^^^^^
>>
>> I think, this should work, or not?
>>
>> Claus _______________________________________________
>> AGENTPP mailing list
>> AGENTPP at agentpp.org
>> http://lists.agentpp.org/mailman/listinfo/agentpp
>>
>
>




More information about the AGENTPP mailing list