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

Frank Fock fock at agentpp.com
Thu Aug 5 23:51:04 CEST 2010


Hi Claus,

Then it should indeed work. Do you have a log of the
AgentX messages sent by the subagent and returned
by the master agent?

Best regards,
Frank

Claus Klein schrieb:
> 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
>>>
>>>       
>>     
>
> _______________________________________________
> AGENTPP mailing list
> AGENTPP at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/agentpp
>   





More information about the AGENTPP mailing list