Host Template: Application - Microsoft 365 - Security

Overview Copied

This Host Template allows you to monitor your Microsoft 365 Subscription’s Security, providing information on Security Alerts.

This Host Template includes the following Service Checks:

Service Check Name Description Default Thresholds (Metric: Warning, Critical) UOM
Microsoft 365 - Security - Security Alerts The security status of the Microsoft 365 subscription and any alerts 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 - Security 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 - Security - Security Alerts Microsoft365.Security.Alerts
["Opsview On-Premises"] ["Opsview > Opspacks"] ["User Guide", "Technical Reference"]

Was this topic helpful?