DBAsupport.com Forums - Powered by vBulletin
Results 1 to 6 of 6

Thread: Alert.log

  1. #1
    Join Date
    Dec 2001
    Location
    USA
    Posts
    620

    Question

    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

  2. #2
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    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.
    Jeff Hunter

  3. #3
    Join Date
    Feb 2000
    Location
    Singapore
    Posts
    1,758
    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

  4. #4
    Join Date
    Dec 2001
    Location
    USA
    Posts
    620
    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

  5. #5
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    Originally posted by samdba
    Hi Sanjay,


    We are on NT so there is no such command AFAIK like grep.
    find /?

    Jeff Hunter

  6. #6
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    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.
    Jeff Hunter

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width