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 |
Use a ipmiseld or ipmievd(-like) deamon process to pull SEL into syslog, have rsyslog filter for it and email you (ommail module)?
//NTLB |
All times are GMT -5. The time now is 02:02 PM. |