LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   how to handle errors/notifications on scripts? (https://www.linuxquestions.org/questions/slackware-14/how-to-handle-errors-notifications-on-scripts-465389/)

richikiki 07-19-2006 12:02 AM

how to handle errors/notifications on scripts?
 
I'm wondering how to handle errors/notifications on scripts.

Currently, I'm working in the analysis of systems which interact together. Right now there is a mess because they neither log information nor parse the data before process. Moreover some scripts send email notification which is a headache because each script do so and it is almost impossible to change each script in order to snooze.

Code:

I'm thinking into create logs file telling about the process on the script and log the information on specific files like:
SCRIPTNAME_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND.log

Then use the another entity (program, software, script) to check the log files looking for any error.

Code:

Q1: Any one has a better idea approach to accomplish this task?.

Q2: Do you know a good log analyzer (program, software, script), which is possible to modify and customize to my needs.

Greetings.

Bruce Hill 07-19-2006 01:10 AM

Have you read this thread ?

drkstr 07-19-2006 01:36 AM

lol! Couldn't have said it better myself Chinaman.

unSpawn 07-19-2006 03:57 AM

Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php


All times are GMT -5. The time now is 06:40 AM.