cancel
Showing results for 
Search instead for 
Did you mean: 

Aleart from Unix Server

CS_9
Occasional Visitor

Aleart from Unix Server

I want to configure a aleart mail on unix server when occurs any error. The mail has been forward on my mail id.

Regards,

Awadhesh
4 REPLIES
Torsten.
Acclaimed Contributor

Re: Aleart from Unix Server

So simply forward mails to root to your account. The diags already send these mails to root by default.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Prasanth V Aravind
Trusted Contributor

Re: Aleart from Unix Server


Hi Awadhesh,


The first thing you have to do is configure send mail on your unix server. you should be able to send test mails from your server to your mail-id

after that its your option,

you can write some sript which call mailx command when any error comes in eventlog, syslog, dmesg etc

you can use EMS (event monitoring services) fro this


more over you can configure ovo for alerts


if you want you can configure alerts for server performance & kernel usage


for perf alarms - use ovpa (use alarmdef file for config)

for kernel alerts - use kcalarm


Gudluck
Prasanth
Prasanth V Aravind
Trusted Contributor

Re: Aleart from Unix Server

I can share some scripts , configuration which i had done on my site , if you want

Gudluck
Prasanth
Rita C Workman
Honored Contributor

Re: Aleart from Unix Server

We found it handy to do this.
1. Create a simple file under /root home directory with email addresses of all UNIX Admins. (Makes an easy fix for when folks come/go)
2. In roots .profile we exported variable to get the info above. Ex UNIXMAIL=`cat /root/thatfile | awk '{print $2}'
3. We configured our syslog.conf files for error reporting and had all errors being sent to a central server.
4. On the central server we run a script that checks syslog.log and sends all alerts we want to see to a special file. When something gets sent to this file then the script sends an email using the Step 2 to all UNIX Admins. That way...we are all covered with same info and nobody can say, they didn't know.

Just one way to do it....
Rgrds,
Rita