Use this Knowledge Script to detect any changes to the status and start type of a discovered service. You can run this script for almost any service, including SQL Services, Exchange Services, and IIS Services. This script raises an event if the status (running, stopped, pending, and so on) or startup type (manual, automatic, disabled) of any service has been changed.
Windows computer or Windows application service
The default interval for this script is Every 5 minutes.
Set the following parameters as needed:
Parameter |
How to Set It |
---|---|
Collect data for service changes? |
Set to y to collect data for charts and reports. If enabled, data collection returns one of the following:
The default is n. |
Event severity when service start type changes |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which a service’s start type has changed. The default is 10 (red event indicator). |
Severity - service status changed |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which a service’s status has changed. The default is 5 (red event indicator). |
Event severity when information retrieval fails |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which the script failed to retrieve service information. The default is 18 (yellow event indicator). |