1834914 Members
2383 Online
110071 Solutions
New Discussion

Monitoring Syslog

 
Ivan_86
Frequent Advisor

Monitoring Syslog

Hi to all

I need your help.

I find in this forum some thread, but i not find ask to my problem

it is possible to configure syslog so that send me alerts via sendmail to my mail o mi celular when an error is generated in the system?

the objective is to take immediate actions when generated an error in the system

Thanks to all and happy Holidays.!
6 REPLIES 6
Rick Garland
Honored Contributor

Re: Monitoring Syslog

Here is a previous thread that discusses syslog logging.
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=939958

I have also reviewed the http://www.scramble.net/syslog.htm document and I find it useful. The answer to your specific question is in this document.

*.emerg root

This will send emergency messages to root



Rick Garland
Honored Contributor

Re: Monitoring Syslog

Correction on that 2nd URL.

http://www.scrambler.net/syslog.htm

Raj D.
Honored Contributor

Re: Monitoring Syslog

Hi Ivan ,

You can use EMS to get the alert notified with Email, its better and any major or warning or critical event will be emailed you .

You may want to cheeck this link:

http://docs.hp.com/en/diag/ems/emo_all.htm


Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Ivan Ferreira
Honored Contributor

Re: Monitoring Syslog

Syslog cannot send email messages. You must use another application to that.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Mark Nieuwboer
Esteemed Contributor

Re: Monitoring Syslog

Hi,
Wat you can do is configure that syslog send it's alerts to root our other user.
configure sendmail so emails can be send to yor adress. then in /etc/mail/aliases put your email adress for root our the other user.
There fore all root messages will be send to you.

grtz. Mark
rariasn
Honored Contributor

Re: Monitoring Syslog

Hi Ivan,

- Configure syslog.conf options to send mail to root.

- Configure /etc/aliases. Example:
root : root,ivan
ivan : ivan,ivan@xxxxxxxxxx.yyy

# /usr/sbin/newaliases