[AGENT++] Problem with V3_MP Object

kulkarni.sudhindra at wipro.com kulkarni.sudhindra at wipro.com
Thu Aug 4 10:09:07 CEST 2005


Hi Fock,

Thanks a lot for your inputs. I have one query regarding the approach
(1) mentioned by you.

Having a constant Engine ID for an Agent will there be no compromise on
the security aspect of the agent.

Also is there any way to flush the Engineer Table. There is a function
in the V3_MP Class delete cache but this function is protected.

Regards,
Sudhindra V Kulkarni
--------------------



-----Original Message-----
From: fock at agentpp.com [mailto:fock at agentpp.com]
Sent: Thursday, August 04, 2005 1:48 AM
To: agentpp at agentpp.org; Sudhindra V Kulkarni (WT01 - Embedded Systems)
Subject: AW: [AGENT++] Problem with V3_MP Object


Hi,
There are at least two approaches for your problem:
1. Do not change the context engine ID on the agent side
(it is not a good idea to change the engine ID or context engine ID on
changes or reboots of an agent because this breaks SNMPv3 mechanism) 2.
If a request times out, then reset contextEngineID and engineID and
rediscover it and then retry.

Best regards,
Frank

>
>
>Hi,
>
>We have a Multi-Threaded Application which uses the SNMP++ V3.2. We are

>facing a strange problem,
>
>If we create the v3_MP Object everytime for a V3 Query, this will slow
>down our queries and also is causing crashes since multiple threads are

>using the same object.
>
>To overcome this problem, we have made V3_MP Object as static and we
>are into a altogether new problem. First time every thing works fine
>and there is no problem until there is a change on the agent, If the
>agent switches from V3 to V1 and then back to V3, then a new Context
>Engine ID is generated. Since V3_MP is static we already have a V3_MP
>object and also have a ContextEngineID so we not query to get the
>context Engine ID. this causes our queries to fail when ever there is a

>change in the agent.
>
>
>Please advice on the best approach to resolve this problem. Thanks in
>advance.
>
>Regards,
>Sudhindra V Kulkarni
>--------------------------------
>
>
>
>
>
>
>Confidentiality Notice
>
>The information contained in this electronic message and any
>attachments to
>this message are intended
>for the exclusive use of the addressee(s) and may contain confidential
or
>privileged information. If
>you are not the intended recipient, please notify the sender at Wipro
or
>Mailadmin at wipro.com immediately
>and destroy all copies of this message and any attachments.
>_______________________________________________
>AGENTPP mailing list
>AGENTPP at agentpp.org
><a
>href="http://lists.agentpp.org/mailman/listinfo/agentpp">http://lists.a
gentpp.o
>rg/mailman/listinfo/agentpp</a>



Confidentiality Notice

The information contained in this electronic message and any attachments to this message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged information. If
you are not the intended recipient, please notify the sender at Wipro or Mailadmin at wipro.com immediately
and destroy all copies of this message and any attachments.



More information about the AGENTPP mailing list