Use this Knowledge Script to monitor the number of hours the servers hosting the SharePoint server have been operational since the last reboot, giving you real-time data about the availability of the SharePoint server. This script raises an event if servers hosting the SharePoint server are rebooted during the monitoring interval.
SharePoint Server
The default interval for this script is every 5 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 hours the SharePoint server has been operational since the last reboot. The default is 5. |
Monitor Server Uptime |
|
Event Notification |
|
Raise an event if a system is rebooted during the monitoring interval? |
Select Yes to raise an event if a computer hosting the SharePoint server is rebooted during the monitoring interval. The default is Yes. |
Event severity when system is rebooted |
Set the severity level, from 1 to 40, to indicate the importance of the event in which a system is rebooted during the monitoring interval. The default is 25. |
Data Collection |
|
Collect data for SharePoint Server reboot? |
Select Yes to collect data about SharePoint Server reboot. The default is unselected. |