SUMMARY: Critical alerts on /var/adm/messages

From: Nader Atoofi (Nader_Atoofi@ismbc.com)
Date: Fri Oct 13 2000 - 15:38:54 CDT


Thanks to all respond to me.

Nearly, eveyone mentioned to do the reverse and exclude some strings from
/var/adm/messages and capture the other as alert.

Also, I got lots of response that, not to invent the wheel while it exist and
use the existing software like swatch (http://www.stanford.edu/~atkins/swatch/)
or Big Brother or logwatcher.

But the main answer which direct me to right point was from madhu
(madhu.narasimhan@media.net) and Rick francis (rfrancis@mindspring.com) who
mentioned this:

>you could also set *.crit to /var/log/critlog in /etc/syslog.conf to capture
>all crit errors.

My original message is this:

I'm writing a script to look for any critical alerts in
/var/adm/messages (And feedback to system admin) and I wonder what exact
strings should I look for. I have added some strings from my experience
but is there any reference for critical errors like
harddisk/CPU/MEM/.... on /var/adm/messages for Solaris ?

Regards,
--Nader

S
U BEFORE POSTING please READ the FAQ located at
N ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/faq
. and the list POLICY statement located at
M ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/policy
A To submit questions/summaries to this list send your email message to:
N sun-managers@sunmanagers.ececs.uc.edu
A To unsubscribe from this list please send an email message to:
G majordomo@sunmanagers.ececs.uc.edu
E and in the BODY type:
R unsubscribe sun-managers
S Or
. unsubscribe sun-managers original@subscription.address
L To view an archive of this list please visit:
I http://www.latech.edu/sunman.html
S
T



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:20 CDT