Host Template: Application - Microsoft 365 - Exchange

Overview Copied

This Host Template allows you to monitor your Microsoft 365 Subscription’s Exchange Online service, providing information on the service status and storage usage of the system as well as statistics on the user base such as the versions of Outlook being used and daily email read/send/received statistics.

This Host Template includes the following Service Checks:

Service Check Name Description Default Thresholds (Metric: Warning, Critical) UOM
Microsoft 365 - Exchange - Service Status The service status of Exchange and any reported issues N/A N/A
Microsoft 365 - Exchange - Storage Used The total storage used of the subscription’s cloud Exchange server N/A B
Microsoft 365 - Exchange - Email Activity The emails sent, received and read by users of the Exchange server in a 24 hour period N/A N/A
Microsoft 365 - Exchange - Mail Apps Version Count The versions of Outlook being used to access email services provided N/A N/A

Note

See details about Nagios thresholds here.

Usage Instructions Copied

Please review the overall Application - Microsoft 365 Opspack documentation for details on prerequisites, known issues, and other necessary configurations that apply to all Host Templates in the Opspack.

Add this Host Template Copied

Add the Application - Microsoft 365 - Exchange Host Template to your Opsview Monitor host. If the resource you’re monitoring has no hostname or public IP, then open the Advanced settings pane and change Host Check Command to Always assumed to be UP.

Note

For more information, refer to the documentation on Adding Host Templates to Hosts.

Add and configure Variables Copied

The Service Checks in this Host Template use the following variables, and they will be added to your Opsview Monitor instance alongside the Host Template:

Note

For more information, refer to the documentation on Adding Variables to Hosts.

Apply Changes Copied

Apply Changes and the system will now be monitored:

View Output

Additional Information Copied

We recommend adding the Application - Microsoft 365 - Overview Host Template to your Host when using this template to give you a better overview of your Microsoft 365 subscription.

Available Variables Copied

MICROSOFT365_CREDENTIALS Copied

The Value is not used and therefore can be set to anything. Override the arguments with your credentials.

Plugin Parameter Position in Variable Name Description
N/A (Opsview UI Only) Value Microsoft 365 Credentials The credentials for your Microsoft 365 account
--client-id Arg1 Microsoft 365 Client ID ClientID of the Microsoft 365 account
--client-secret Arg2 Microsoft 365 Client Secret Client Secret of the Microsoft 365 account
--tenant-id Arg3 Microsoft 365 Tenant ID TenantID of the Microsoft 365 account

Plugin help Copied

Plugin: check_microsoft365

Secure Args

This plugin uses the Secure Args feature for argument passing.

For mode-specific help, run the plugin with the -h -m <mode> flags. This will list the required and optional Variable Arguments for that mode. The appropriate mode for each Service Check is listed here:

Service Check Name Mode
Microsoft 365 - Exchange - Service Status Microsoft365.Exchange.Service.Status
Microsoft 365 - Exchange - Storage Used Microsoft365.Exchange.Storage.Used
Microsoft 365 - Exchange - Email Activity Microsoft365.Exchange.Email.Activity
Microsoft 365 - Exchange - Mail Apps Version Count Microsoft365.Exchange.Mail.Apps.Count
["Opsview Cloud"] ["Opsview > Opspacks"] ["User Guide", "Technical Reference"]

Was this topic helpful?