LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-14-2014, 11:39 PM   #1
visioner10
LQ Newbie
 
Registered: Jul 2014
Posts: 1

Rep: Reputation: Disabled
How to configure RHEL box to send email notification for critical messages


I am new to Red Hat. we configured RHEL server as syslog. all of our routers, switches and firewalls are sending their log messages to these syslog server.
we would like to get notified via email if any OSPF or BGP peering is going down. so that we can quickly start troubleshooting it.
can anyone tell me how to configure this requirement on RHEL box?

your help is greatly appreciated.

Thanks
Visio
 
Old 07-15-2014, 01:21 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Welcome to LQ, hope you like it here.

I wonder why you set up a remote syslog server first and only then ponder (passive) monitoring and alerting? Because usually you would want to use active SNMP monitoring (Icinga, Nagios, Zenoss or equivalent) or have your devices send SNMP traps for any state changes. If you want to process from logs in the syslog service then you'll have to check if the log lines list the network device designation properly, if messages change / disappear with changes to log verbosity settings of the network device and then collate a list of lines you'll turn into regexes for Swatch, SEC, Logwatch or any other log watcher.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Realtime email notification if critical logs found on Rsyslog trungmv Linux - Software 1 05-23-2012 06:31 AM
Cannot send email messages Robert Thomas Linux - Newbie 5 03-12-2012 09:07 PM
Swatch Problem-Couldn't send email notification andrapgm03 Linux - Server 5 02-03-2011 12:17 PM
send syslogs of aix box to remote rhel box gsr_kashyap AIX 2 04-05-2006 06:32 AM
how to make a C program send email notification/alerts? eigenyeugen Programming 1 01-04-2005 08:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration