Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] PerfSonar automatic data collection

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] PerfSonar automatic data collection


Chronological Thread 
  • From: Mark Feit <>
  • To: Cong Wang <>, "" <>
  • Subject: Re: [perfsonar-user] PerfSonar automatic data collection
  • Date: Fri, 4 Aug 2017 17:54:21 +0000
  • Accept-language: en-US
  • Authentication-results: renci.org; dkim=none (message not signed) header.d=none;renci.org; dmarc=none action=none header.from=internet2.edu;
  • Ironport-phdr: 9a23:8rZ6URYP0D+TPeUbh4n0rW7/LSx+4OfEezUN459isYplN5qZrs+/bnLW6fgltlLVR4KTs6sC0LuG9fi4EUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQtFiT6+bL9oMBm6sRjau9ULj4dlNqs/0AbCrGFSe+RRy2NoJFaTkAj568yt4pNt8Dletuw4+cJYXqr0Y6o3TbpDDDQ7KG81/9HktQPCTQSU+HQRVHgdnwdSDAjE6BH6WYrxsjf/u+Fg1iSWIdH6QLYpUjm58axlVAHnhzsGNz4h8WHYlMpwjL5AoBm8oxBz2pPYbJ2JOPZ7eK7WYNEUSndbXstJVyJPHJ6yb5cBAeQCPOZXs4bzqFQVoBuiHgasAf/jxiNUinL026AxzuQvERvB3AwlB98At27brM/2NKwPUe660qjIzSneZP5R3Df95pbHchE9ofyXXLJwd9bRxlc1FwPDkFqQtZLpMymL2esQrmiW9uxtXv+hhW4grgF+uDmvxsE0h4nGh4IV1lDE9Thiz4ovOdK4T0t7bNi5G5VTryGXL5V6Tt8gTm1ytys3y6cKtYO6cSUE0pgr2gDTZ+Cff4SV/h7uV/ydLSl7iX5/Zr6yiBK//VK9xuHhS8W51ktBoDBfndnWrH8N0gTe6siZRft5+UeswS6B2hzU5O1YPEw4jLfVJYY8zrIpkZocqlrMEjXxmEXrkK+ZbUIk+vWu6+v6eLnmvoWcN4hoig7gLqsuhs2/AeM+MgQUWGib5Pi81Lnk/U3+Q7VGlOE5kq7csJzCJMQboLC2AxNN34o99xqyDS2q3dsZkHUdMV5IeRyKg5L0N13QPPz0FfK/jE6tkDdvyfDGJLrhApDVI3jGnrfuY7d961JHxQoyy9Bf+4xbCqsHIP3tRk/9qsbUAQEkPAyp2+rnEsly1psCWWKTBa+UKLvSvkGS5uIhOOmMY4kVtyznK/Q8+v7ulmE2mUUGcKmt3JsXc2y4Hu94L0mDYHrshMsBHnkQvgo4UuPqlEOOXSRNaHmvQqJvrg08XamhC4iLeYmrj/TV1ziyGJJ+fG1AAVHKFm3nIcHMEe8BciyJJcloiHkZTrW7Y44nyRy0sgLmkfxqIveesnkAuIjtz99z7veWiAo/7xR1CdiQyWeAUzsyk28VEWwYxqd69Gl00FTL/6V5n7QMENJe5u9hUwEmOITawvAgTd3+R1SSLZ+yVF+6T4D+UnkKRdUrzopLOh4lFg==
  • Spamdiagnosticoutput: 1:0

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





Archive powered by MHonArc 2.6.19.

Top of Page