Host Template: Application - Microsoft 365 - Overview

Overview Copied

This Host Template allows you to monitor your Microsoft 365 Subscription at a high overview level, providing information on the number of users per plan and the service status of both the Identity Service and Microsoft 365 Portal.

This Host Template includes the following Service Checks:

Service Check Name Description Default Thresholds (Metric: Warning, Critical) UOM
Microsoft 365 - Overview - Users Per Plan The number of users per Microsoft 365 Plan N/A N/A
Microsoft 365 - Overview - Identity Service Status The service status of the Microsoft 365 Identity Service and any reported issues N/A N/A
Microsoft 365 - Overview - Portal Service Status The service status of the Microsoft 365 Portal and any reported issues N/A N/A

Note

See details about Monitoring Plugin 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 - Overview 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

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 - Overview - Users Per Plan Microsoft365.Overview.Users.Per.Plan
Microsoft 365 - Overview - Identity Service Status Microsoft365.Overview.Identity.Service.Status
Microsoft 365 - Overview - Portal Service Status Microsoft365.Overview.Portal.Service.Status
["Opsview On-Premises"] ["Opsview > Opspacks"] ["User Guide", "Technical Reference"]

Was this topic helpful?