[AGENT++] Problem with set request on a Celeron machine

Frank Fock fock at agentpp.com
Thu Dec 23 23:29:21 CET 2004


Hi Patrice,

"instrumentation code" is the program code you enter into
the AgenPro's generated stubs to access the management
information. If you do not have added such code to the
agent yet, then you should try to recompile the agent
on the Celeron machine and try again. It could be the
case, that the compiler used AMD specific optimizations
that are not working as expected on the Celeron machine.

Hope this helps.

Best regards,
Frank

I BT wrote:

> Hi Franck,
>
> what do you mean by "check your agent's instrumentation code for 
> uninitialized data" ?
>
> Here is the code generated by agenpro2 :
> "...
> mib = new SubAgentXMib();
> mib->set_default_priority(100);
> ...
> reqList = new AgentXRequestList(agentx);
> mib->set_request_list(reqList);
>
> init(*mib); //init is declared locally
> module_init("",mib);
> mib->init();
>
> ..."
>
> Please explain what data to initialize and how to.
>
> Best Regards.
> Patrice.
>
>
>
>
>> From: Frank Fock <fock at agentpp.com>
>> To: Patrice Bentolila <patricebento at hotmail.com>
>> CC: agentpp at agentpp.org
>> Subject: Re: [AGENT++] Problem with set request on a Celeron machine
>> Date: Wed, 22 Dec 2004 00:21:24 +0100
>>
>> Hi Patrice,
>>
>> Please check your agent's instrumentation code for uninitialized data.
>> This may cause the different behavior on a different processor
>> (and compiler). Another problem could be a compiler bug in conjunction
>> with some loop optimizations. And of course, there could be also a bug
>> in AGENT++, but I do not expect such a "global" bug.
>>
>> Best regards,
>> Frank
>>
>> Patrice Bentolila wrote:
>>
>>> Hi to all,
>>> I've got some odd result on set request.
>>> I've got a sub agentX which works well on a RH 7.3 / AMD K6 400 
>>> machine (get, set, trap).
>>> The same agent on a celeron and same OS works well on get/trap 
>>> requests.
>>> However, In set, it returns Timeout/Commit Fail.
>>> But after a get request on the same OID,
>>> I get the result as is set request succeeded.
>>> Does someone have an idea?
>>> Best Regards.
>>> Patrice.
>>>
>>> _________________________________________________________________
>>> MSN Messenger : dialoguez en temps réel avec vos amis ! 
>>> http://g.msn.fr/FR1001/866
>>>
>>> _______________________________________________
>>> AGENTPP mailing list
>>> AGENTPP at agentpp.org
>>> http://agentpp.org/mailman/listinfo/agentpp
>>>
>>
>>
>
> _________________________________________________________________
> FREE pop-up blocking with the new MSN Toolbar - get it now! 
> http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
>
>





More information about the AGENTPP mailing list