Page 1 of 1

How to write alerts to files in a directoy

Posted: Fri Oct 22, 2010 4:09 am
by SAMOPEDIA
Hi all

I recently started to learn and use nagios and my first question is how to write the alerts to files in a directory,
i.e. each alert as a new file in that directory. I have searched the web and this site but I did not find any.

Thank you
/SAMO

Re: How to write alerts to files in a directoy

Posted: Tue Oct 26, 2010 12:21 pm
by tonyyarusso
You will need to write what's called an "Event Handler". See http://nagios.sourceforge.net/docs/3_0/ ... dlers.html for more information on that.