This archive is retained to ensure existing URLs remain functional. It will not contain any emails sent to this mailing list after July 1, 2024. For all messages, including those sent before and after this date, please visit the new location of the archive at https://mailman.ripe.net/archives/list/ripe-atlas@ripe.net/
[atlas] Create new measurement from old measurment
- Previous message (by thread): [atlas] Create new measurement from old measurment
 - Next message (by thread): [atlas] Create new measurement from old measurment
 
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Daniel Quinn
dquinn at ripe.net
Mon Mar 30 11:20:15 CEST 2015
We don’t really have a means of a completely /copying/ a measurement,
but we do allow for re-selection of probes used for a previous
measurement. In other words:
      Using the UI
  * Go to Create a new measurement
    <https://atlas.ripe.net/measurements/form/>
  * Define the same parameters (packets, size, etc.) as your older
    measurement
  * Select “Reuse a set from an old measurement”
  * In the window that appears, type in the measurement id you wish to
    duplicate and then give the number of probes you want to use from
    that selection. To use all of them, you must give the total number
    of probes in that measurement.
      Using the API
This is a lot easier, as you simply have to modify the |probes| value in
your POST request.
Say for example that your original measurement looked like this:
| {
  "definitions": [
   {
    "target": "example.com",
    "af": 6,
    "packets": 3,
    "size": 48,
    "description": "Ping measurement to example.com",
    "interval": 240,
    "resolve_on_probe": false,
    "type": "ping"
   }
  ],
  "probes": [
   {
    "type": "area",
    "value": "WW",
    "requested": 50
   }
  ],
  "is_oneoff": false
 }
|
Assuming that the old measurement had id |123456789|, The new one would
be a near-copy save for the |probes| section:
| {
   "definitions": [
    {
     "target": "example.com",
     "af": 6,
     "packets": 3,
     "size": 48,
     "description": "Ping measurement to example.com",
     "interval": 240,
     "resolve_on_probe": false,
     "type": "ping"
    }
   ],
   "probes": [
    {
     "type": "msm",
     "value": "123456789",
     "requested": 50
    }
   ],
   "is_oneoff": false
 }
|
Note however that like every measurement you create, there’s no way to
guarantee that every probe you request will be available. Especially for
one-offs, if the probe is down or overly busy, such selected probe(s)
won’t be allocated to your measurement.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </ripe/mail/archives/ripe-atlas/attachments/20150330/66aaa3f3/attachment.html>
- Previous message (by thread): [atlas] Create new measurement from old measurment
 - Next message (by thread): [atlas] Create new measurement from old measurment
 
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]