Automated Error Email Notification on AIX

Hello Folks,

I would like to setup automated error email notifications for any hardware + software + Hacmp errors.

How can I do it ?

I have searched on the internet, i have found something like a script erronotifier or something like that...

P.S. I don't want to use a third party tool.

Error Notification in AIX

Also it will not prevent spam. So if you have a errornous device for example writing about 20 permanent hardware errors per second into your errpt, you will get a lot of mails.

Maybe a self scripted solution is better, just checking in let's say 15 minute intervals the entries of the errpt.

To expand on what zaxxon said: you can set up syslog facilities to collect the error messages you want to see in some file. write a script that parses this file and sends mails for certain circumstances to your designated email account.

I hope this helps.

bakunin

For an HACMP admininstrator there is an easy way to add his own error notification methods.
# smitty cm_EN_menu
HACMP is the only AIX addon that comes with a SMIT panel to do this. :wink:

Thank you folks for the reply.

As you know this is one of the important and required tasks for any AIX system admin and I thought AIX would have it integrated solution....

I looked at the above link provided and it was helpful. Thanks.

ANother question:

Can anyone suggest FREE or Licensed Tools for performing such tasks.

This site may have something:
Welcome to Bull AIX freeware site

Just collected few links on this topic which could be helpful for others:

1) Help -

2) Help -

3) Help -

4)Help -

Strickly speaking, one may write own scripts which monitors

the errpt output and e-mail you if necessary.

The other thing to consider is that sendmail need to be configured
properly if you need to receive email via the MS Exchange server.

Please see Help -

IMPORTANT: Please ensure that you can send e-mail on command line to your address before even going all the way to configure AIX Error
notification.

I use a free product called big brother to monitor all kinds of things on my Unix servers, it does have syslog integration so that you can parse words or phrases that you want to trigger alerts on. Check it out at Download - Big Brother System and Network Monitor and look at the 'btf' (Better than free) version.

Good luck

--
Shawn