|
|
|
Re: How to write a Data Collection Agent [message #34629 is a reply to message #34495] |
Mon, 10 October 2005 05:37 |
Randy D. Smith Messages: 394 Registered: July 2009 |
Senior Member |
|
|
You're welcome.
Now that you've got the source and the tutorial reference, you *might*
want to compare the link I gave you with that same agent ported to use
the *new* Agent Controller at
org.eclipse.tptp.platform.agentcontroller\src-native-new\sam ples\PerfmonAgent
(newly added to the CVS tree for 4.1i2 as a sample "proof of concept"
for the new agent controller).
It's the same PerfmonAgent in terms of data collection, but the "driver"
and the communications portions have been "modernized". The question you
might want to ask yourself is whether you want to write a data
collection agent with the existing RAC, using an example that is
(admittedly well-written, but) process oriented, or whether you want to
target the future direction of TPTP with a more object-oriented approach
to agent creation, control, and communication. Part of your choice might
be affected by timing (is the timeframe for your agent now? or 4.1? or
maybe 4.2??), and part might be the aforementioned approach that
underlies your development methodology or style.
Let me know if you have any more questions. I'm focused on the new AC
side of things, but have an interest in seeing more use of TPTP, whether
RAC or AC based.
--
RDS
David Read wrote:
> Thanks Randy.
>
>
> Randy D. Smith wrote:
>
>> org.eclipse.tptp.platform.agentcontroller\src-native\collect ion\collectors\perfmon
>>
>> --
>> RDS
>>
>> David Read wrote:
>>
>>> Hi,
>>> I've been reading the 'How to write a Data Collection Agent' but some
>>> of the references do not exist any more. Can you tell me where (CVS
>>> HEAD) org.eclipse.hyades.datacollection\collection\collectors\perf mon
>>> has moved to?
>>> Thanks.
|
|
|
Re: How to write a Data Collection Agent [message #34663 is a reply to message #34629] |
Mon, 10 October 2005 19:37 |
David Read Messages: 35 Registered: July 2009 |
Member |
|
|
Thanks Randy,
I'm still in the 'overwhelmed by information' stage of looking at TPTP, and didn't specifically want the Perfmon agent - just an idea of how to write agents in general - I picked on the first reference that was broken.
I have had a look at the new Agent Controller (fired up the SampleClient and looked at the code) and it find it more understandable than the RAC.
Just a bit of background - My goal is a test system for distributed embedded systems, initially targeted at a communications system, which can send messages to a target, and check messages returned, potentially from any of the other targets. The targets will initially be TCP/IP but later I also need serial, and some proprietary formats. The intention is to bring all this back to the test host in Common Base Event format.
Hopefully my timescales will allow me to go for 4.1 and the new AC (its slated for November 05 right?)
David.
Randy D. Smith wrote:
> You're welcome.
>
> Now that you've got the source and the tutorial reference, you *might*
> want to compare the link I gave you with that same agent ported to use
> the *new* Agent Controller at
> org.eclipse.tptp.platform.agentcontroller\src-native-new\sam ples\PerfmonAgent
> (newly added to the CVS tree for 4.1i2 as a sample "proof of concept"
> for the new agent controller).
>
> It's the same PerfmonAgent in terms of data collection, but the "driver"
> and the communications portions have been "modernized". The question you
> might want to ask yourself is whether you want to write a data
> collection agent with the existing RAC, using an example that is
> (admittedly well-written, but) process oriented, or whether you want to
> target the future direction of TPTP with a more object-oriented approach
> to agent creation, control, and communication. Part of your choice might
> be affected by timing (is the timeframe for your agent now? or 4.1? or
> maybe 4.2??), and part might be the aforementioned approach that
> underlies your development methodology or style.
>
> Let me know if you have any more questions. I'm focused on the new AC
> side of things, but have an interest in seeing more use of TPTP, whether
> RAC or AC based.
> --
> RDS
>
> David Read wrote:
>
>> Thanks Randy.
>>
>>
>> Randy D. Smith wrote:
>>
>>> org.eclipse.tptp.platform.agentcontroller\src-native\collect ion\collectors\perfmon
>>>
>>> --
>>> RDS
>>>
>>> David Read wrote:
>>>
>>>> Hi,
>>>> I've been reading the 'How to write a Data Collection Agent' but
>>>> some of the references do not exist any more. Can you tell me where
>>>> (CVS HEAD)
>>>> org.eclipse.hyades.datacollection\collection\collectors\perf mon has
>>>> moved to?
>>>> Thanks.
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04429 seconds