-
Hi there,
Is there any internal table in Oracle where it inserts all the error/warning/info messages which are there in ALERT.LOG file.
I want to write an event based trigger so that as soon as Oracle writes into ALERT.LOG or inserts into ALERTs table (if any), I get the mail.
Thanks in Adv.
Sam
------------------------
To handle yourself, use your head. To handle others, use your heart
-
Not AFAIK, the errors don't get logged to a table. OEM does some monitoring of the alert.log file, but I think it is through the intelligent agent.
-
You can do it by shell script. grep ORA errors from the alert.log file. Put the script in cron to run every hour. I have shell script which I run daily from cron.
Sanjay
-
Hi Sanjay,
We are on NT so there is no such command AFAIK like grep.
Secondly, I want to have it event based and not periodic search in ALERT.log.
Thanks,
Sam
------------------------
To handle yourself, use your head. To handle others, use your heart
-
Originally posted by samdba
Hi Sanjay,
We are on NT so there is no such command AFAIK like grep.
find /?
-
Originally posted by samdba
Secondly, I want to have it event based and not periodic search in ALERT.log.
Run Oracle Enterprise Manager.
Investigate an API into the Intelligent Agent.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|