AlertLogMonitor
DescriptionThe AlertLogMonitor parses Oracle alert logs and generates an alert when errors are found. During task execution each new line in the alert log is evaluated using a set of patterns (regular expressions) defined in TCSupportCenter; these are downloaded from TCSupportCenter when TCAgent starts. The type of alert generated when a match is found depends on the alert type defined for the matched pattern. For example, the following pattern definition is defined in TCSupportCenter:
Lines in alert log starting with 'ORA-006' cause the task to generate an alert with type ALERT_LOG_0600. TCSupportCenter uses the alert type to determine the severity of the alert. ConfigurationThe <AlertLogMonitorConfig> element is configured with the following attributes:
The <AlertLogMonitorConfig> element may contain an <IgnoredPatterns> element which must contain at least one <Pattern> element. The <Pattern> element is configured with the following attributes:
Example<AlertLogMonitorConfig ALERT_LOG="/opt/oracle/admin/sid/bdump/alert_sid.log"> <IgnoredPatterns> <Pattern RE="space leak"/> </IgnoredPatterns> </AlertLogMonitorConfig> In this example, any lines in the alert log file containing the string 'space leak' are ignored. |
TCAgent Task IndexDatabase Monitor Tasks
Database Report Tasks
Database Utility TasksServer Monitor Tasks
Server Utility Tasks |