LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to configure RHEL box to send email notification for critical messages (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-configure-rhel-box-to-send-email-notification-for-critical-messages-4175511119/)

visioner10 07-14-2014 11:39 PM

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

unSpawn 07-15-2014 01:21 AM

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.


All times are GMT -5. The time now is 08:20 AM.