Search Results

Search: Posts Made By: hishanms
2,677
Posted By hishanms
I tried this and it's perfectly working. Thanks...
I tried this and it's perfectly working.
Thanks everyone.

#!/bin/bash
tail /oracle/app/admin/ABC/bdump/alert_ABC.log >> /tmp/tempoutput

Error=`egrep 'error|warn|critical|fail|ORA-1683'...
2,677
Posted By hishanms
Online log monitoring script
#!/bin/bash

tail /oracle/app/admin/ABC/bdump/alert_ABC.log >> tempoutput&


Error=`egrep 'error|warn|critical|fail|ORA-1683' tempoutput`

echo "$Error" |mailx -s "ABC Error " ABCD@domain.lk...
3,206
Posted By hishanms
Hi bro, i need to generate mail for other...
Hi bro,
i need to generate mail for other than following.


Current log# 2 seq# 103046 mem# 0: /ora2/oradata/ABC/redo02a.log
Current log# 2 seq# 103046 mem# 1: /ora5/oradata/...
3,206
Posted By hishanms
I didn't try. Because no idea how to begin. ...
I didn't try. Because no idea how to begin.
but there is some common error "ORA-1683..etc."
So i can grep this error and generate the mail. But in the future errors. That’s what I want.

...
3,206
Posted By hishanms
I didn't try. Because no idea how to begin. ...
I didn't try. Because no idea how to begin.
but there is some common error "ORA-1683..etc."
So i can grep this error and generate the mail. But in the future errors. That's what I want.

...
3,206
Posted By hishanms
How to monitor log file for a Error and generate the e-mail ( Please help)
This is my log file and this is live log.

Any abnormal error other than following
I need to generate the email.

Log path : /DER/app/admin/ABC/bdump/erg.log

Current log# 2...
1,824
Posted By hishanms
How to monitor log file for a Error and generate the e-mail.
This is my log file and this is live log.

Any abnormal error other than following
I need to generate the email.

Log path : /DER/app/admin/ABC/bdump/erg.log

Current log# 2...
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 08:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy