Use this Knowledge Script to monitor the Search service and crawl status in the SharePoint server farm. This script monitors default Search services, and does not monitor custom Search services. This Knowledge Script raises an event when the Search service or the crawl is down.
SharePoint Server
The default interval for this script is every hour.
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 Search service and crawl status in the server farm. The default is 5. |
Monitor Search Service Status |
|
Event Notification |
|
Raise event when heartbeat of search service is down? |
Select Yes to raise an event if the heartbeat of the Search service is down. The default is Yes. |
Event severity when heartbeat of search service is down |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which the heartbeat of the Search service is down. The default is 10. |
Monitor Crawl Status |
|
Raise event when crawl status is down? |
Select Yes to raise an event if the crawl is down. The default is Yes. |
Event severity when crawl status is down |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which the crawl is down. The default is 15. |
Data Collection |
|
Collect data for search service status? |
Select Yes to collect data for charts and reports. If enabled, data collection returns data about the status of the Search service. The default is unselected. A value of 0 means that the Search service is down. A value of 100 means that the Search service is up. |
Collect data for crawl status? |
Select Yes to collect data for charts and reports. If enabled, data collection returns data about the status of the crawl. The default is unselected. A value of 0 means that the crawl is down. A value of 100 means that the crawl is up. |