You can define a Windows Service Monitoring (SERVICE_MON) job to monitor services on a local Windows computer.
Note: To run these jobs, your system requires CA WA Agent for Windows.
Required Statements
To define a Windows Service Monitoring job, you must specify the following statements:
Optional Statements
You can specify the following optional statements for a Windows Service Monitoring job:
Example: Monitor a Running Service
This example monitors a Windows service named Proc Server. If the service is running, the job completes successfully. If the service is not running, the job continues monitoring it until the service starts running.
AGENT WINAGENT SERVICENAME 'Proc Server' STATUS RUNNING WAIT
|
Copyright © 2013 CA Technologies.
All rights reserved.
|
|