Hi guys,
I'm looking for a script to perform a nagios check on Office 365 but can't seem to find anything online. Ideally it needs to be a perl or shell script to do the following:
Either a single check to rule them all or a set of checks (right now I am leaning toward a set of four separate checks to make troubleshooting easier)
Verify email can be sent into O365 (smtp send check maybe) subject should be unique each time – maybe date/time stamp
Verify login to OWA
Verify inbox listing (subject lines)
Verify existence of email with subject set in step 1
Extra credit
Listing of how long each step takes and historical graphing or storage of such information to see trends such as mail slowing or delivery times getting longer.
Any ideas!