[Nagios-users] event handler debug

2012-11-27 Thread fatcharly
Hi, I`m using a nagios 3.0.3 on a CentOS 5.8 and I´m a little stuck with a eventhandeler problem- I can`t see it running and I can´t find a problem in the logfiles. Here a short overview: define service{ use generic-service host_name hostname

Re: [Nagios-users] event handler debug

2012-11-27 Thread fatcharly
I forgot to mention that log_event_handlers is set to 1. Kind regards fatcharly Original-Nachricht Datum: Tue, 27 Nov 2012 18:32:58 +0100 Von: fatcha...@gmx.de An: nagios-list nagios-users@lists.sourceforge.net Betreff: [Nagios-users] event handler debug Hi, I`m

Re: [Nagios-users] event handler debug

2012-11-27 Thread Assaf Flatto
On 27/11/12 17:32, fatcha...@gmx.de wrote: Hi, I`m using a nagios 3.0.3 on a CentOS 5.8 and I´m a little stuck with a eventhandeler problem- I can`t see it running and I can´t find a problem in the logfiles. Here a short overview: define service{ use

Re: [Nagios-users] event handler debug

2012-11-27 Thread Matthew Jurgens
For shell based event handlers I normally add these lines to the top of the script: set -x exec /tmp/event.log 21 echo = Started `date` set This way, everything the event handler does is written to the file /tmp/event.log Also, this page: