[Nagios-users] Email notification while scheduling downtime

2012-11-27 Thread trm asn
Dear Friends, I would like to setup an email notification mechanism while adding a schedule maintenance downtime. It should use the existing contact info to send the mail. it'll be really helpful, if anybody help me to get started with. --Thanks, TRM

Re: [Nagios-users] Email notification while scheduling downtime

2012-11-27 Thread Travis Runyard
Its the S attribute, just like D,U,C,W,R etc... just put it in your contacts.cfg and templates.cfg On Tue, Nov 27, 2012 at 12:19 AM, trm asn trm.nag...@gmail.com wrote: Dear Friends, I would like to setup an email notification mechanism while adding a schedule maintenance downtime. It

Re: [Nagios-users] Email notification while scheduling downtime

2012-11-27 Thread Kumar, Ashish
On 27 November 2012 15:29, Travis Runyard travisruny...@gmail.com wrote: Its the S attribute, just like D,U,C,W,R etc... just put it in your contacts.cfg and templates.cfg Modify your contacts/contactgroups as: define contact { . host_notification_options d,u,r,s .

[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

[Nagios-users] Defining a service dependency for large number of services

2012-11-27 Thread Tech Support
All; I need to define service dependencies for some services. Pretty straightforward stuff, do not check service B unless service A is running also. For example, I have 100 different service checks that all depend on service A. So my question is this. Is there an easy way to define a

Re: [Nagios-users] Defining a service dependency for large number of services

2012-11-27 Thread Mathieu Gagné
Hi, On 12-11-27 2:30 PM, Tech Support wrote: I need to define service dependencies for some services. Pretty straightforward stuff, do not check service B unless service A is running also. For example, I have 100 different service checks that all depend on service A. So my question is

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: