The EVENTCATEGORY statement specifies the event category as displayed in the Windows Event Viewer.
Supported Job Type
This statement is optional for the Windows Event Log Monitoring job type.
Syntax
This statement has the following format:
EVENTCATEGORY event_category
Specifies the event category 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 for a Windows Application Event Log
This example monitors for a Windows application event log. When the job finds an application log in the Disk category and has an event ID equal to 14, the job completes.
AGENT MONAGT EVENTLOG Application EVENTCATEGORY Disk EVENTID EQ 14
|
Copyright © 2013 CA Technologies.
All rights reserved.
|
|