LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-19-2012, 09:52 PM   #1
zama
Member
 
Registered: Mar 2012
Posts: 34

Rep: Reputation: Disabled
Monitoring IPMI SEL in real time


Hello Everybody ,

I want to monitor IPMI System Event Log(SEL) in real time. What I want that is that whenever a event is generated in SEL , automatically a mail alert should be generated .

One way for me to achieve this is that I can write a script and schedule it in cron. The script will run 3 or 4 times a day so whenever a new event is generated , a mail alert will be send to me.

I want the monitoring to be active. Like whenever a event is generated , a mail should be sent to me instead of checking at regular intervals. Any way to achieve this with a bash script.

The SEL Log format is as follows:

server-001% sudo ipmitool sel list

b4 | 05/27/2009 | 13:38:32 | Fan #0x37 | Upper Critical going high

c8 | 05/27/2009 | 13:38:35 | Fan #0x37 | Upper Critical going high

dc | 08/15/2009 | 07:07:50 | Fan #0x37 | Upper Critical going high

So , for the above case whenever a new event is generated , automatically a mail alert should be send to me with the event.

Any pointers will be highly appreciated.

Thanks in Advance
Zaman

Last edited by zama; 09-20-2012 at 07:54 AM.
 
Old 10-20-2012, 10:33 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
Use a ipmiseld or ipmievd(-like) deamon process to pull SEL into syslog, have rsyslog filter for it and email you (ommail module)?


//NTLB
 
  


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
Real time bandwidth monitoring software turkejd Linux - Networking 2 02-18-2012 04:25 AM
squid real time monitoring Ammad Linux - Networking 2 02-08-2010 11:46 AM
Squid Real-time Monitoring molybtek Linux - Networking 1 10-10-2008 09:42 PM
Real time Monitoring squid logs jatender Linux - Server 3 10-03-2007 03:08 AM
Keylogger / session monitoring in real time? houler Linux - Security 2 04-06-2005 09:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:46 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