SUMMARY: Critical alerts on /var/adm/messages

From: Nader Atoofi (
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 (
or Big Brother or logwatcher.

But the main answer which direct me to right point was from madhu
( and Rick francis ( 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 ?


U BEFORE POSTING please READ the FAQ located at
. and the list POLICY statement located at
A To submit questions/summaries to this list send your email message to:
A To unsubscribe from this list please send an email message to:
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:

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