From: Bill Zhang (aicc_us@YAHOO.COM)
Date: Fri Mar 19 2004 - 14:26:42 EST
Dear all,
I need to direct error log messages to syslog.
AIX 4.3.3.10
this is what I did:
1. created file /tmp/syslog.add with the following
contents
errnotify:
en_name = "syslog1"
en_persistenceflg = 1
en_method = "logger Msg from Error Log:
`errpt -l $1 | grep -v 'ERROR_ID TIMESTAMP'`"
2. odmadd /tmp/syslog.add
3. odmget -q"en_name = 'syslog1'" errnotify
4. errlogger test message from error log
Are these all I need to do? if yes, how to verify the
test message has gone to syslog?
Thanks a lot!
Bill
__________________________________
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
http://mail.yahoo.com
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:17:43 EDT