The EVENTSOURCE statement specifies the Windows event source.
Supported Job Type
This statement is optional for the Windows Event Log Monitoring job type.
Syntax
This statement has the following format:
EVENTSOURCE source_name
Specifies the event source as displayed in the Windows Event Viewer.
Limits: Up to 256 characters; case-sensitive
Note: Enclose values that contain delimiters (such as spaces) in double quotation marks.
Example: Monitor a Windows Event Source
This example monitors a Windows event source named Service Control Manager. Since this text contains spaces, single quotes are used.
AGENT WINAGENT EVENTLOG System EVENTTYPE ERROR EVENTSOURCE 'Service Control Manager'
|
Copyright © 2013 CA Technologies.
All rights reserved.
|
|