Skip to Content.
Sympa Menu

perfsonar-dev - Re: [pS-dev] Datum Class

Subject: perfsonar development work

List archive

Re: [pS-dev] Datum Class


Chronological Thread 
  • From: "Ivan K. Koga" <>
  • To:
  • Cc: Loukik Kudarimoti <>, , Martin Swany <>, "Jeff W. Boote" <>
  • Subject: Re: [pS-dev] Datum Class
  • Date: Wed, 16 Aug 2006 11:46:52 -0300
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=O+bWe2HG5gBgTZLByU/2HvfEjh+JQ6CKB752hsWK3WJOjdE5yWt6AOBa/nheICGVdrExfTSlfsxNmH7pekTYiAu6Rd41nW5240B1jXFSPNx7llmNDufeftNrv7R5xgWcylVOVMseoOLUj/BrQdzEdxtTk4+90gLnMTquUhVl9fU=

Ah,

Now I understand what you said...
To Start a measurement in AMP it needs to set some internal files.
The schedule file and nametable file.
In the nametable file there is the name and ip addresses of the destinations.
In the schedule file there is the test schedules to the destinations.

Example:
****************************
nametable
------------------
amp-bob 1.2.3.4
amp-ivan 2.3.4.5
amp-rnp 3.4.5.6
------------------

schedule
------------------
amp-ivan,icmp,D,0,86400000,300000
amp-ivan,path,D,0,86400000,3600000
------------------
What this example shows is the nametable converting the IP addresses to names.
The schedule shows a measurement between the local measurement point to amp-ivan.
The first one is a icmp test that will return round trip delay. it will measure a delay test (icmp), daily (D), starting at 0 hours (0), ending in 24hrs (86400000ms) and with an interval of 5 minutes each (300000ms)

The path test is almost the same, but the interval between measurements is 1 hour(3600000ms) .
****************************

AMP has a daemon that is always checking the configuration files and checking if there is new values.
If the schedule file has a new value inside, it will start the measurement of tests and will collect data.
The data will be available in the amp-data folder.
The amp-data folder will have this structure:

amp-data/ampname/endsite/datafile

ampname is the name of the local measurement point name.

endsite is the destination of the measurement (Ex: amp-ivan)

datafile is the files containing the values measured (ex: 105-07-20-0084.icmp)

We can discuss about how to schedule tests and could create some messages to the MP-AMP too.
The scheduling of tests I am naming it MP-AMP and the step that only return the measured values i am naming MA-AMP.

I hope this explains better how amp measurements work. :-)

Ivan

Jason Zurawski escreveu:
Ivan;

I am sending examples of data collected with AMP. Maybe this will show better how this will be returned into the XML files.

Could you also indicate how you got this data, and what you are measuring? i.e. if i want to send 1 ping:

[jason@lager
~$ ping -c 1 psu.edu

I get this data:

64 bytes from tr12g05.aset.psu.edu (128.118.146.135): icmp_seq=1 ttl=242 time=23.1 ms

The data you sent is great, but I need a bit more context :)

-jason







Archive powered by MHonArc 2.6.16.

Top of Page