Use this Knowledge Script to monitor the mail server status in the server farm. This Knowledge Script raises an event when the SMTP server is not configured in the SharePoint server farm or when the SMTP server is not available.
This script sends test emails for each job iteration. To ensure that these emails do not fill your inbox, NetIQ Corporation recommends the following:
Schedule the job to run at longer intervals so that the script sends test emails less frequently.
Create a rule in Microsoft Exchange to periodically delete the test messages.
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 status of the mail server. The default is 5. |
Monitor Mail Server Status |
|
Event Notification |
|
Raise event if SMTP server is not configured? |
Select Yes to raise an event if the SMTP server is not configured. The default is Yes. |
Event severity when SMTP server is not configured |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which the SMTP server is not configured. The default is 15. |
Raise event if SMTP server is not available? |
Select Yes to raise an event if the SMTP server is not available. The default is Yes. |
Event severity when SMTP server is not available |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which the SMTP server is not available. The default is 10. |
Data Collection |
|
Collect data for availability of SMTP server? |
Select Yes to collect data for the availability of the SMTP server. The default is unselected. A value of 0 means that the SMTP server is either not configured or is unavailable. A value of 100 means that the SMTP server is configured and available. |