Kris,
Have a look at these two options to see if you find anything useful. You might even toss a Measure-Command into your script to get some timing metrics when you actually perform data transfers.
http://blog.falchionconsulting.com/index.php/2014/08/invoke-sporestmethod-using-the-sharepoint-online-rest-api-with-powershell/
https://sharepoint.stackexchange.com/questions/137755/consume-sharepoint-online-lists-using-rest-api-in-r
From: Kris Springer [mailto:user-c2caa0a7a8d5@xymon.invalid]
Sent: Friday, October 20, 2017 2:31 PM
To: Storer, Raymond <user-bbaa567d59bb@xymon.invalid>; xymon at xymon.com
Subject: Re: how to monitor SharePoint Online with Xymon
Thanks for the link, but I'm hoping to get some sort of up/down graph of our SharePoint Site Libraries functioning on my Xymon server. We have sporadic connection issues with the SP cloud and it would be nice if Xymon could alert me before the users do.
Thank you.
Kris Springer
On 10/18/2017 7:42 AM, Storer, Raymond wrote:
Kris, please have a look at the Microsoft Graph API https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-graph-api-quickstart<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Fdevelop%2Factive-directory-graph-api-quickstart&data=user-ab33a2541cf7@xymon.invalid%7Cffe4d8a8c9d24376770808d517e8b26c%7C3d27b36909d5422a8817fef5d8cba6cc%7C0%7C0%7C636441210562901638&sdata=rrFTWmrOxJLHHcTK5qcjgCYf1YDumpZQs2i7LkDgPiU%3D&reserved=0>
If you don't find the above useful, please provide more specifics on exactly what you want to monitor in your reply.
Ray Storer
NIBCO INC. | Intel Systems Specialist
P: XXX.XXX.XXXX | F: XXX.XXX.XXXX | M: XXX.XXX.XXXX
user-bbaa567d59bb@xymon.invalid<mailto:user-bbaa567d59bb@xymon.invalid> | www.nibco.com<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.nibco.com&data=user-ab33a2541cf7@xymon.invalid%7Cffe4d8a8c9d24376770808d517e8b26c%7C3d27b36909d5422a8817fef5d8cba6cc%7C0%7C0%7C636441210562901638&sdata=1WERMyAnI3ImtQLwpDfm6k380pS54F3xc5S2ecUey14%3D&reserved=0>
-----Original Message-----
Date: Mon, 16 Oct 2017 13:49:28 -0700
From: Kris Springer <user-c2caa0a7a8d5@xymon.invalid><mailto:user-c2caa0a7a8d5@xymon.invalid>
To: Xymon MailingList <xymon at xymon.com><mailto:xymon at xymon.com>
Subject: [Xymon] how to monitor SharePoint Online with Xymon
Message-ID: <user-8c0e413fbcda@xymon.invalid><mailto:user-8c0e413fbcda@xymon.invalid>
Content-Type: text/plain; charset="utf-8"