perfsonar-user - Re: [perfsonar-user] PerfSonar automatic data collection
Subject: perfSONAR User Q&A and Other Discussion
List archive
- From: Cong Wang <>
- To: Mark Feit <>
- Cc: "" <>, "Anirban Mandal" <>
- Subject: Re: [perfsonar-user] PerfSonar automatic data collection
- Date: Fri, 4 Aug 2017 19:41:06 +0000
- Accept-language: en-US
- Authentication-results: spf=pass (sender IP is 152.54.5.163) smtp.mailfrom=renci.org; internet2.edu; dkim=none (message not signed) header.d=none;internet2.edu; dmarc=bestguesspass action=none header.from=renci.org;
- Ironport-phdr: 9a23:iR3wsxyQDnZ0taXXCy+O+j09IxM/srCxBDY+r6Qd2uMSIJqq85mqBkHD//Il1AaPBtSLraocw8Pt8InYEVQa5piAtH1QOLdtbDQizfssogo7HcSeAlf6JvO5JwYzHcBFSUM3tyrjaRsdF8nxfUDdrWOv5jAOBBr/KRB1JuPoEYLOksi7ze6/9pnQbglSmDaxfa55IQmrownWqsQYm5ZpJLwryhvOrHtIeuBWyn1tKFmOgRvy5dq+8YB6/ShItP0v68BPUaPhf6QlVrNYFygpM3o05MLwqxbOSxaE62YGXWUXlhpIBBXF7A3/U5zsvCb2qvZx1S+HNsDtU7s6RSqt4LtqSB/wiScIKTg58H3MisdtiK5XuQ+tqwBjz4LRZoyeKfhwcb7Hfd4CRWRPQNtfVzBPDI2/YYsADesBMvpXoYbyvFYOsQCxBQywCO/z1jNFhHn71rA63eQ7FgHG2RQtEswJsHTSo9X+KacdXvqzzKnH0D7OaO9Z2Dnn54jOfRAsuuuMUqx2ccXNyEkjDQTFjk+fqYH8OT6ey+oDs2+e7+V6VOKvjXYqqw5wojizxscsl5LGipgJxVDD8CV0xps+K96gSENjf9KrCodcuzyfOodrX88uXmRluCg1x7EapZK2eSYKx4ooyhLCbvGKdoqF7g/5W+qJPDt1hGxpdKi/ihu960StyvfwWtSo3FpWtiZFnMfDu3MR2xHW78WIV/Rw80Wk1DuLyQzc8P1ILEU7mKrVN5Esx7o9m5kNvkjeGCL9hV/4g7WMdko+/+il8+Tnbavipp+bL4J6kh3zPKMylsCiGOg1LxAAUmaC9eS7z7Ls41f1QLJXjv0qiabZt43aJcIGqaKjGw9VyIEj6wqhADi6zNQYnH4HLFRfdBKAkojpJ1XOIPf/Dfe8mVijjDBrx/XeMr3gBJXCMGTDna//cbln90JQ1Q8+wc1C655JD7wBLv3+VlPtuNHdAB82LQO5z/viBdh41I4SRHiADrecMKzIsF+I4uwvI/OLZI8QoDvyN/Yk6OTojX82glIdZ7em3Z0LZ3C5BPhmJF+ZYXX0jtcbDWgKphY+TPDtiFCaST5ceWyyX6wn5jE8DoKpF53DSpmwgLyawii7BIZbZmRHClCXDXfobJuIV+0NaCKUPs9ujCYEVb6/RI89yx2irhH1xKd6LuDM4C0XqYrj1MRp5+3UjRwy8DJ0ANqc02GRVGx0n2UIRyMo06Blp0xy1EuD3bZij/NGCNNT+qABbgBvEJfGzKRUBtHuElbEcNqIVH6nRMmrGzc8Uoh3ztMTNRVTAdKn2zvE2SXiPLYTmPTfD4M99K30xXX3LMc7zGzJgvpyx2I6S9dCYDX1zpV08BLeUsuQyx2U
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
Hi Mark, Dan,
Thank you very much for the insights. It’s great to have the REST APIs for
perfSonar 4.0. Can we please do a workshop? That would be super helpful.
Best regards,
Cong
> On Aug 4, 2017, at 1:54 PM, Mark Feit
> <>
> wrote:
>
> Cong Wang writes:
>
> We are trying to build a platform to collect perfSonar measurement data
> from multiple sites in real time. Is there a way to programmatically
> retrieve the data from the perfSonar web interface, e.g., through RESTful
> API? We plan to collect throughput, latency and packet loss if it works.
>
> To expand a bit on what Dan said:
>
> All test activity in perfSONAR 4.0 is coordinated by pScheduler, which, as
> Dan mentioned, has a REST API for creating measurement tasks and retrieving
> the results. It’s stable but not officially documented. You’re the first
> person outside the project to ask about it, which will probably light a
> fire under me to get it done. All data is JSON and is easy to deal with.
> If you want to do ad hoc measurements, where your platform tells pScheduler
> to do a measurement on demand, this is the way to go. The same API can be
> used to start repeating tasks, and by keeping the URL it returns, you can
> find and retrieve the results. If you (or anyone else) is interested, I
> could do a brief, informal workshop to go over it and supply some snippets
> of Python code that can help get you started.
>
> One of the other new features pScheduler brought with it is a system of
> plugins that allows us to have multiple ways to dispose of measurement
> results. This would mean you don’t have to retrieve the results yourself;
> pScheduler can be directed to send them directly to you and retry if it
> fails. 4.0 shipped with plugins that can post results to an HTTP server,
> RabbitMQ, the system log or Esmond, which should give you enough options
> that developing something custom won’t be necessary. Information on how to
> use archivers with pScheduler can be found here:
> https://github.com/perfsonar/pscheduler/wiki/Archivers.
>
> The one limitation is that meshconfig can’t be used to configure
> measurements that use any archiver other than Esmond. This is a holdover
> from earlier versions of perfSONAR, and we’re working on ways to expose
> pScheduler’s additional features to meshconfig. You can still use the API
> to run your own tests in parallel, though.
>
> --Mark
>
>
- [perfsonar-user] PerfSonar automatic data collection, Cong Wang, 08/04/2017
- Re: [perfsonar-user] PerfSonar automatic data collection, Dan Doyle, 08/04/2017
- <Possible follow-up(s)>
- Re: [perfsonar-user] PerfSonar automatic data collection, Mark Feit, 08/04/2017
- Re: [perfsonar-user] PerfSonar automatic data collection, Cong Wang, 08/04/2017
- Re: [perfsonar-user] PerfSonar automatic data collection, Philippe Laurens, 08/07/2017
- Re: [perfsonar-user] PerfSonar automatic data collection, Mark Feit, 08/07/2017
- Re: [perfsonar-user] PerfSonar automatic data collection, Philippe Laurens, 08/07/2017
- Re: [perfsonar-user] PerfSonar automatic data collection, Cong Wang, 08/04/2017
Archive powered by MHonArc 2.6.19.