Use this Knowledge Script to monitor the Visual Mode Site count for each Web application, site collection, and sub-site on a Microsoft SharePoint 2010 server or later.
The Visual Upgrade feature in SharePoint 2010 or later is a site-level setting that selects which product version UI to use when displaying the site.
This Knowledge Script raises an event if the number of visual or non-visual sites exceeds the threshold. This script collects usage data for visual and non-visual site counts.
SharePoint Server: Web Applications
The default interval for this script is every 15 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 Visual Mode Site count for Web applications. The default is 5. |
Monitor Visual Mode Site Counts for all Web Applications |
|
Event Notification |
|
Raise event if number of visual site counts exceeds threshold? |
Select Yes to raise an event if the number of visual site counts exceed the threshold. The default is Yes. |
Event severity when visual mode site counts exceeds threshold |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which the number of visual site counts exceed the threshold. The default is 10. |
Threshold -- Maximum number of visual mode site counts |
Specify the maximum number of visual mode site counts allowed before an event is raised. The default is 1000. |
Raise event if number of non-visual mode site counts exceeds threshold? |
Select Yes to raise an event if the number of non-visual mode site counts exceeds the threshold. The default is Yes. |
Event severity when non-visual mode site counts exceed threshold |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which the number of non-visual mode site counts exceeds the threshold. The default is 15. |
Threshold -- Maximum number of non‑visual mode site counts |
Specify the maximum number of non-visual mode site counts allowed before an event is raised. The default is 1000. |
Data Collection |
|
Collect data for visual site counts? |
Select Yes to collect usage data for visual site counts on your SharePoint server. The default is unselected. |
Collect data for non-visual site counts? |
Select Yes to collect usage data for non-visual site counts on your SharePoint server. The default is unselected. |