Originally posted by: unixgrl
Did you read the links provided by Glen in this thread? It is fairly easy to modify errnotify to call a script and do whatever you want. We use errnotify to call a script which has a list of every error we've ever seen and gives it a criticality value. Then, the script can log, email, whatever based on the criticality.
As for getting things from syslog, usually you'd have some type of monitoring software (BMC, HP, etc) that would scrape syslog looking for specific patterns. If you don't have that, you can write your own script that runs on a regular basis and looks for specific strings. Or, have all your syslog stuff sent to a central host and filter it from there.
Search on IBM and Google for code-bits that people are willing to share. There's not a lot of code posted on this forum. Generally, we'll point you in the right direction but not do the work for you.
#AIX-Forum