How to write alerts to files in a directoy

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
SAMOPEDIA
Posts: 1
Joined: Fri Oct 22, 2010 4:03 am

How to write alerts to files in a directoy

Post 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
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: How to write alerts to files in a directoy

Post 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.
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
Locked