5.4 ServiceHealth

Use this Knowledge Script to report the health status of the Exchange Online service and all other Office 365 services (workloads) that you have subscribed. The Knowledge Script monitors the services and raises events if the services are either healthy or unhealthy. A service is healthy if there are no active maintenance events or service incidents on the service.

This Knowledge Script raises events that display the service incidents and maintenance incidents that impact the domain of your Office 365 subscription.

5.4.1 Resource Object

  • ExchangeOnline_Service

5.4.2 Default Schedule

By default, this script runs every one hour.

5.4.3 Setting Parameter Values

Set the following parameters as needed:

Parameter

How to Set It

General Settings

 

Job failure event notification

Event severity when job fails

Set the severity level, from 1 to 40, to indicate the importance of an event in which the ServiceHealth job fails. The default is 5.

Raise event if the service is healthy?

Select Yes to raise an event if the state of the service is healthy. The default is Yes.

Event severity when the service is healthy

Set the severity level, from 1 to 40, to indicate the importance of an event in which the status of Exchange Online service is healthy. The default is 25.

Raise event if the service is not healthy?

Select Yes to raise an event if the state of the service is not healthy. The default is Yes.

Event severity when the service is not healthy

Set the severity level, from 1 to 40, to indicate the importance of an event in which the status of Exchange Online service is unhealthy. The default is 5.

Include the latest updates of the service incidents

Select Yes to include the latest message of each service incident or maintenance event that are active on the service. The default is Yes.

Collect data for service health?

Select Yes to collect data for charts and data. When enabled, data collection returns the status of service health. The default is Yes.

The chart displays the service health status as follows:

  • 0: Service is unhealthy

  • 100: Service is healthy

Inclusion or Exclusion filter

Inclusion or exclusion criteria

Select one of the filtering criteria:

  • Inclusion: If you want the Knowledge Script to monitor the services that are specified in the Comma separated list of services parameter only.

  • Exclusion: If you do not want the Knowledge Script to monitor the services that specified in the Comma separated list of services parameter only.

Comma separated list of services

Specify the list of services that you want the Knowledge Script to monitor or exclude from monitoring depending on the Inclusion or exclusion criteria. For more information, see Specifying Inclusion or Exclusion Filters.