Use this Knowledge Script to monitor Client Access server (CAS) services and functions:
Availability Service activity
ActiveSync response time and request rate
Outlook Web Access response time, search time, login rate, and login failures
Outlook Web Services request rate and current connections
IMAP4 (Internet Message Access protocol) processing time, current connections, and active SSL connections
POP3 (Post Office Protocol) processing time, login rate, current connections, and active SSL connections
This script is a member of the Exchange2007 recommended Knowledge Script Group. For more information, see Section 4.43, Recommended Knowledge Script Group.
NOTE:This Knowledge Script is available only for Exchange Server 2007 and 2010. For Exchange Server 2013, 2016, and 2019, see Section 4.19, MBS_ClientActivity.
Exchange2007_ClientAccessServer
Exchange2010_ClientAccessServer
By default, this script runs every 15 minutes.
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 CAS_Activity job fails. The default is 5. |
Comma separated list of servers for which events should not be raised if CAS services are disabled |
Specify a comma separated list of server names for which the event messages should not be raised if the client services are in the disabled state. |
Monitor Availability Service Activity |
|
Event Notification |
|
Raise event if response time for free/busy requests exceeds threshold? |
Select Yes to raise an event if the response time for free or busy requests to Microsoft Outlook exceeds the threshold you set. The default is Yes. |
Threshold - Maximum free/busy request response time |
Set the maximum length of time that Microsoft Outlook can take to respond to free/busy requests before an event is raised. The default is 5000 milliseconds. |
Event severity when response time for free/busy requests exceeds threshold |
Set the severity level, from 1 to 40, to indicate the importance of an event in which the response time for free/busy requests exceeds the threshold. The default is 15. |
Data Collection |
|
Collect data for free/busy request response time? |
Select Yes to collect data for charts and reports. When enabled, data collection returns the length of response time during the monitoring interval. The default is No. |
Monitor ActiveSync Activity |
|
Monitor ActiveSync Response Time |
|
Event Notification |
|
Raise event if ActiveSync response time exceeds threshold? |
Select Yes to raise an event if the response time for ActiveSync exceeds the threshold you set. The default is Yes. |
Threshold - Maximum response time |
Set the maximum length of time that ActiveSync can take to respond to requests before an event is raised. The default is 100 milliseconds. |
Event severity when response time exceeds threshold |
Set the severity level, from 1 to 40, to indicate the importance of an event in which ActiveSync response time exceeds the threshold. The default is 15. |
Data Collection |
|
Collect data for response time? |
Select Yes to collect data for charts and reports. When enabled, data collection returns the length of response time during the monitoring interval. The default is No. |
Monitor ActiveSync Request Rate |
|
Event Notification |
|
Raise event if ActiveSync request rate exceeds threshold? |
Select Yes to raise an event if the rate of synchronization requests to ActiveSync exceeds the threshold you set. The default is Yes. |
Threshold - Maximum request rate |
Set the maximum number of requests that can occur per second before an event is raised. The default is 10 synchronization requests per second. |
Event severity when request rate exceeds threshold |
Set the severity level, from 1 to 40, to indicate the importance of an event in which the ActiveSync request rate exceeds the threshold. The default is 15. |
Data Collection |
|
Collect data for request rate? |
Select Yes to collect data for charts and reports. When enabled, data collection returns the rate of synchronization requests during the monitoring interval. The default is No. |
Monitor Outlook Web Access Activity |
|
Monitor Outlook Web Access Response Time |
|
Event Notification |
|
Raise event if Outlook Web Access response time exceeds threshold? |
Select Yes to raise an event if the response time for Outlook Web Access (OWA) exceeds the threshold you set. The default is Yes. |
Threshold - Maximum response time |
Set the maximum amount of time that it can take for OWA to respond to requests before an event is raised. The default is 100 milliseconds. |
Event severity when response time exceeds threshold |
Set the severity level, from 1 to 40, to indicate the importance of an event in which OWA response time exceeds the threshold. The default is 15. |
Data Collection |
|
Collect data for response time? |
Select Yes to collect .data for charts and reports. When enabled, data collection returns the length of response time during the monitoring interval. The default is No. |
Monitor Outlook Web Access Search Time |
|
Event Notification |
|
Raise event if Outlook Web Access search time exceeds threshold? |
Select Yes to raise an event if Outlook Web Access (OWA) search time exceeds the threshold. The default is Yes. The OWA search feature allows users to find items in a mailbox. |
Threshold - Maximum search time |
Set the maximum length of time that OWA can spend performing a search before an event is raised. The default is 100 milliseconds. |
Event severity when search time exceeds threshold |
Set the severity level, from 1 to 40, to indicate the importance of an event in which OWA search time exceeds the threshold. The default is 15. |
Data Collection |
|
Collect data for search time? |
Select Yes to collect data for charts and reports. When enabled, data collection returns the length of search time during the monitoring interval. The default is No. |
Monitor Outlook Web Access Login Rate |
|
Event Notification |
|
Raise event if login rate exceeds threshold? |
Select Yes to raise an event if the rate at which users log in to Outlook Web Access (OWA) exceeds the threshold. The default is Yes. |
Threshold - Maximum login rate |
Set the maximum rate at which users can log in to OWA before an event is raised. The default is 10 logins per second. |
Event severity when login rate exceeds threshold |
Set the severity level, from 1 to 40, to indicate the importance of an event in which the rate at which users log in to OWA exceeds the threshold. The default is 15. |
Data Collection |
|
Collect data for login rate? |
Select Yes to collect data for charts and reports. When enabled, data collection returns the OWA log in rate for the monitoring interval. The default is No. |
Monitor Outlook Web Access Login Failures |
|
Event Notification |
|
Raise event if login failures exceed threshold? |
Select Yes to raise an event if the failures for logging in to Outlook Web Access (OWA), expressed as a percentage of all login attempts, exceed the threshold. The default is Yes. |
Threshold - Maximum percentage of login failures |
Set the maximum percentage of OWA login failures that can occur before an event is raised. The default is 10%. |
Event severity when login failures exceed threshold |
Set the severity level, from 1 to 40, to indicate the importance of an event in which percentage of OWA login failures exceeds the threshold. The default is 15. |
Data Collection |
|
Collect data for login failures? |
Select Yes to collect data for charts and reports. When enabled, data collection returns the percentage of OWA login failures for the monitoring interval. The default is No. |
Monitor Outlook Web Services Activity |
|
Monitor Outlook Web Services Request Rate |
|
Event Notification |
|
Raise event if Outlook Web Services request rate exceeds threshold? |
Select Yes to raise an event if the rate of requests to Outlook Web Services exceeds the threshold you set. The default is Yes. |
Threshold - Maximum request rate |
Set the maximum number of requests that can occur per second before an event is raised. The default is 10 requests per second. |
Event severity when request rate exceeds threshold |
Set the severity level, from 1 to 40, to indicate the importance of an event in which the rate of requests to Outlook Web Services exceeds the threshold. The default is 15. |
Data Collection |
|
Collect data for request rate? |
Select Yes to collect data for charts and reports. When enabled, data collection returns the rate of requests during the monitoring interval. The default is No. |
Monitor Outlook Web Services Current Connections |
|
Event Notification |
|
Raise event if number of current connections exceeds threshold? |
Select Yes to raise an event if the number of connections established with Outlook Web Services exceeds the threshold you set. The default is Yes. By knowing the number of current connections, you can determine user load for Outlook Web Services |
Threshold - Maximum number of current connections |
Set the maximum number of connections to Outlook Web Services that can be established before an event is raised. The default is 25 connections. |
Event severity when number of current connections exceeds threshold |
Set the severity level, from 1 to 40, to indicate the importance of an event in which the number of connections established with Outlook Web Services exceeds the threshold. The default is 15. |
Data Collection |
|
Collect data for number of current connections? |
Select Yes to collect data for charts and reports. When enabled, data collection returns the number of connections established during the monitoring interval. The default is No. |
Monitor IMAP4 Activity |
|
Monitor IMAP4 Command Processing Time |
|
Event Notification |
|
Raise event if command processing time exceeds threshold? |
Select Yes to raise an event if the amount of processing time for IMAP4 commands exceeds the threshold you set. The default is Yes. |
Threshold - Maximum command processing time |
Set the maximum amount of time that can be spent processing IMAP4 commands before an event is raised. The default is 100 milliseconds. |
Event severity when command processing time exceeds threshold |
Set the severity level, from 1 to 40, to indicate the importance of an event in which the amount of processing time for IMAP4 commands exceeds the threshold. The default is 15. |
Data Collection |
|
Collect data for command processing time? |
Select Yes to collect data for charts and reports. When enabled, data collection returns the amount of processing time spent during the monitoring interval. The default is No. |
Monitor IMAP4 Connections Rate |
|
Event Notification |
|
Raise event if connections rate exceeds threshold? |
Select Yes to raise an event if the number of IMAP4 connections to your Exchange server exceeds the threshold you set. The default is Yes. |
Threshold - Maximum connections rate |
Set the maximum number of IMAP4 connection requests that can occur per second before an event is raised. The default is 10 connections per second. |
Event severity when connections rate exceeds threshold |
Set the severity level, from 1 to 40, to indicate the importance of an event in which the number of IMAP4 connection requests exceeds the threshold. The default is 15. |
Data Collection |
|
Collect data for connections rate? |
Select Yes to collect data for charts and reports. When enabled, data collection returns the number of IMAP4 connection requests for the monitoring intervals. The default is No. |
Monitor IMAP4 Current Connections |
|
Event Notification |
|
Raise event if number of current connections exceeds threshold? |
Select Yes to raise an event if the number of current IMAP4 connections to your Exchange server exceeds the threshold you set. The default is Yes. |
Threshold - Maximum number of current connections |
Set the maximum number of IMAP4 connections that can be established before an event is raised. The default is 10 connections. |
Event severity when number of current connections exceeds threshold |
Set the severity level, from 1 to 40, to indicate the importance of an event in which the number of IMAP4 connections exceeds the threshold. The default is 15. |
Data Collection |
|
Collect data for number of current connections? |
Select Yes to collect data for charts and reports. When enabled, data collection returns the number of IMAP4 connections established during the monitoring interval. The default is No. |
Monitor IMAP4 Active SSL Connections |
|
Event Notification |
|
Raise event if number of active SSL connections exceeds threshold? |
Select Yes to raise an event if the number of current IMAP4 connections to your Exchange server over SSL (Secure Sockets Layer) exceeds the threshold you set. The default is Yes. |
Threshold - Maximum number of active SSL connections |
Set the maximum number of IMAP4 connections that can be established over SSL before an event is raised. The default is 50 connections. |
Event severity when number of active SSL connections exceeds threshold |
Set the severity level, from 1 to 40, to indicate the importance of an event in which the number of IMAP4 SSL connections exceeds the threshold. The default is 15. |
Data Collection |
|
Collect data for number of active SSL connections? |
Select Yes to collect data for charts and reports. When enabled, data collection returns the number of IMAP4 SSL connections established during the monitoring interval. The default is No. |
Monitor POP3 Activity |
|
Monitor POP3 Command Processing Time |
|
Event Notification |
|
Raise event if command processing time exceeds threshold? |
Select Yes to raise an event if the amount of processing time for POP3 commands exceeds the threshold you set. The default is Yes. |
Threshold - Maximum command processing time |
Set the maximum amount of time that can be spent processing POP3 commands before an event is raised. The default is 10 milliseconds. |
Event severity when command processing time exceeds threshold |
Set the severity level, from 1 to 40, to indicate the importance of an event in which the amount of processing time for POP3 commands exceeds the threshold. The default is 15. |
Data Collection |
|
Collect data for command processing time? |
Select Yes to collect data for charts and reports. When enabled, data collection returns the amount of processing time spent during the monitoring interval. The default is No. |
Monitor POP3 Connections Rate |
|
Event Notification |
|
Raise event if connections rate exceeds threshold? |
Select Yes to raise an event if the number of POP3 connections to your Exchange server exceeds the threshold you set. The default is Yes. |
Threshold - Maximum connections rate |
Set the maximum number of POP3 connection requests that can occur per second before an event is raised. The default is 10 connections per second. |
Event severity when connections rate exceeds threshold |
Set the severity level, from 1 to 40, to indicate the importance of an event in which the number of POP3 connection requests exceeds the threshold. The default is 15. |
Data Collection |
|
Collect data for connections rate? |
Select Yes to collect data for charts and reports. When enabled, data collection returns the number of POP3 connection requests for the monitoring intervals. The default is No. |
Monitor Current POP3 Current Connections |
|
Event Notification |
|
Raise event if number of current connections exceeds threshold? |
Select Yes to raise an event if the number of current POP3 connections to your Exchange server exceeds the threshold you set. The default is Yes. |
Threshold - Maximum number of current connections |
Set the maximum number of POP3 connections that can be established before an event is raised. The default is 10 connections. |
Event severity when number of current connections exceeds threshold |
Set the severity level, from 1 to 40, to indicate the importance of an event in which the number of POP3 connections that are currently established exceeds the threshold. The default is 15. |
Data Collection |
|
Collect data for number of current connections? |
Select Yes to collect data for charts and reports. When enabled, data collection returns the number of POP3 connections established during the monitoring interval. The default is No. |
Monitor POP3 Active SSL Connections |
|
Event Notification |
|
Raise event if number of active SSL connections exceeds threshold? |
Select Yes to raise an event if the number of current POP3 connections to your Exchange server over SSL (Secure Sockets Layer) exceeds the threshold you set. The default is Yes. |
Threshold - Maximum number of active SSL connections |
Set the maximum number of POP3 connections that can be established over SSL before an event is raised. The default is 25 connections. |
Event severity when number of active SSL connections exceeds threshold |
Set the severity level, from 1 to 40, to indicate the importance of an event in which the number of POP3 SSL connections exceeds the threshold. The default is 15. |
Data Collection |
|
Collect data for number of active SSL connections |
Select Yes to collect data for charts and reports. When enabled, data collection returns the number of POP3 SSL connections established during the monitoring interval. The default is No. |