I wrote this script and put in to cronjob every 5 min.
so every 5 min i got the empty e-mail. That's not i wont.
i wont to if getting those "error|warn|critical|fail|ORA-1683" things , genarate the mail.( Execute this "mailx -s "ABC Error " ABCD@domain.lk" )
any one can help me...
Thanks.
Last edited by Franklin52; 03-14-2012 at 10:53 AM..
Reason: Please use code tags for data and code samples, thank you
Hi,
I have this situation:
There is an online.log to which one app is continuously writing. This app is 24*7.
This log will fill up our File system pretty quickly. Such that
I need to take backups of that file for safekeeping without stopping the App.
These backups I can move to another... (5 Replies)
hi Gurus,
Need to pick your brains on this minor script project.
I would like to continuously monitor a log file with sample log messages as below, and if PSOldGen percentage is either 99% or 100% for consecutively 10 times, alert someone.
{Heap before gc invocations=46516:
PSYoungGen ... (6 Replies)
Hi All,
Can anyone refer to me a readymade script for the purpose of log folder size monitoring script.
Example : I have a log folder of size 10 G, and as the logs keep accumulating the folder gets full and i have to manually zip/remove the files in order to keep the server running. Something... (1 Reply)
Below script perfectly works, giving below mail output. BUT, I want to make the script mail only if there are any D-Defined/T-Transition/B-Broken State WPARs and also to copy the output generated during monitoring to a temporary log file, which gets cleaned up every week. Need suggestions.
... (4 Replies)
Hi,
I need to get a script working to monitor a log file and throw an alert via mailx as soon as a particular error is encountered.
I do not want repeatative email notifications of same error so simply cat logfile and grepping the error would not work.
Here is what i planned but it seems... (2 Replies)
Hi,
Iam new to unix , plz help me to write below script.
I need to write a script for Monitoring log file when any error occurs it has to send a mail to specified users and it should be always pick latest error not the existing one and the script should be able to send mail all errors (more... (1 Reply)
Hi
I have written below log monitoring script to egrep multiple words and redirect the output to a text file and its working fine but I want to add some more below given functionality to it, which is very advance and im not very good in it, so please help if you can :)
I am egrepping all the... (1 Reply)