9.11 WINSHealthCheck

Use this Knowledge Script to check the availability and CPU usage of the Windows Internet Name Service (WINS) service. This script raises an event if the WINS service is not running or if CPU usage exceeds the threshold you set. In addition, this script attempts to restart the WINS service if the service is not running.

9.11.1 Resource Object

WINS service object

9.11.2 Default Schedule

The default interval for this script is Every 5 minutes.

9.11.3 Setting Parameter Values

Set the following parameters as needed:

Parameter

How to Set It

Event when WINS service is down?

Set to y to raise an event if the WINS service is not running. The default is y.

Event when WINS CPU usage is over threshold?

Set to y to raise an event if the percentage of CPU consumed by the WINS service exceeds the threshold. The default is y.

Collect data for WINS service up/down?

Set to y to collect data for charts and reports. If enabled, data collection returns:

  • 100 -- the WINS service is running, or

  • 0 -- the service is not running.

The default is n.

Collect data for WINS CPU usage?

Set to y to collect data for charts and reports. If enabled, data collection returns the percentage of CPU used by the WINS service. The default is n.

Auto-start service?

Set to y to automatically restart down services. The default is y.

Event severity level for service down; restart failed

Set the event severity level, from 1 to 40, to indicate the importance of an event in which the WINS service is down and this script cannot restart it. The default is 5 (red event indicator).

Event severity level for service down; restart succeeded

Set the event severity level, from 1 to 40, to indicate the importance of an event in which the WINS service is down and this script successfully restarted the service. The default is 25 (blue event indicator).

Event severity level for service down; don’t restart

Set the event severity level, from 1 to 40, to indicate the importance of an event in which the WINS service is down and the Auto-start service? parameter is set to n. The default is 18 (yellow event indicator).

Event severity level for CPU usage exceeded threshold

Set the event severity level, from 1 to 40, to indicate the importance of an event in which CPU usage exceeds the threshold you set. The default is 8 (red event indicator).

WINS process %CPU maximum threshold

Specify the maximum percentage of CPU that the WINS process can consume before an event is raised. The default is 60%.