Use this Knowledge Script to monitor the number of Web application connections and the total connections for all Web applications from anonymous and user (non-anonymous) accounts during the monitoring interval. This script raises an event if the number of connections exceeds the threshold you set.
NOTE:If anonymous access is not enabled for the Web applications in the SharePoint site collection, this script raises events only for maximum connections to Web applications from user (non‑anonymous) accounts that exceed the threshold.
SharePoint Server: Web Applications
The default interval for this script is every 30 minutes.
Set the following parameters as needed:
Description |
How to Set It |
---|---|
General Settings |
|
Job failure event notification |
|
Event severity when job fails |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which the job fails to monitor the number of connections. The default is 5. |
Monitor Connections Interval |
|
Event Notification |
|
Raise event if number of connections exceeds any threshold? |
Select Yes to raise an event if the number of connections exceeds any of the thresholds you set. The default is Yes. |
Event severity when current connections exceed the threshold |
Set the severity level, from 1 to 40, to indicate the importance of an event in which the number of current connections exceeds the threshold. The default is 12. |
Threshold -- Maximum connections to Web application from anonymous accounts |
Specify the maximum number of Web application connections from anonymous accounts that can be open during the monitoring interval. An event is raised if the number of connections exceeds the threshold.The default is 64. |
Threshold -- Maximum connections to Web application from non-anonymous accounts |
Specify the maximum number of Web application connections from non-anonymous (user) accounts that can be open during the monitoring interval. An event is raised if the number of connections exceeds the threshold. The default is 64. |
Threshold -- Maximum total connections to Web server from anonymous accounts |
Specify the maximum total connections to all monitored Web applications from anonymous accounts that can be open during the monitoring interval. An event is raised if the number of connections exceeds the threshold. The default is 64. If you run this Knowledge Script on a child Web Application object, it does not monitor the total connections to a Web server. |
Threshold -- Maximum total connections to Web server from non-anonymous accounts |
Specify the maximum total number of connections to all monitored Web applications from non-anonymous (user) accounts that can be open during the monitoring interval. An event is raised if the number of connections exceeds the threshold. The default is 64. If you run this Knowledge Script on a child Web Application object, it does not monitor the total connections to a Web server. |
Data Collection |
|
Collect data for number of connections? |
Select Yes to collect data for charts and reports. If enabled, data collection returns the number of Web application connections during the monitoring interval. The default is unselected. |