[Nagios-users] Eventhandlers

2006-09-26 Thread Geoffrey Walton
Does anyone know where I can see some more samples of eventhandlers scripts. The documentation points to a non-existant directory on my installation which was compiled from source. Nagios 2.5 Redhat EL4 Extract from 2.5 documentation The scripts should examine the values of the argument

Re: [Nagios-users] Eventhandlers

2006-09-26 Thread Patrick Morris
On Tue, 26 Sep 2006, Geoffrey Walton wrote: > Does anyone know where I can see some more samples of eventhandlers > scripts. The documentation points to a non-existant directory on > my installation which was compiled from source. Have you looked at the docs on the Nagios website? http://nagio

Re: [Nagios-users] Eventhandlers

2006-09-26 Thread Geoffrey Walton
Yes, that is where the extract in my orig post came from. Thanks for the thought. Cheers G --- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=22091

Re: [Nagios-users] Eventhandlers

2006-09-26 Thread Geoffrey Walton
Yes, that is where the extract in my orig post came from. Thanks for the thought. Cheers G --- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=22091

[Nagios-users] Eventhandlers: restart-apache , logs...

2006-05-16 Thread ThomasC.
Hi, How do you look at eventhandlers behaviour ? I am trying to see what it is doing but cant find logs that help. For instance, i am using a restart-http eventhandlers on the nagios server i am running. The scritp works by hand: /usr/local/nagios/eventhandlers/restart-http CRITICAL SOFT 2 la

[Nagios-users] eventhandlers running when a dependent service dependency is not satisfied

2005-12-08 Thread Eli Stair
I'm not entirely sure I am configuring this properly to achieve my goal, so I'll state this shortly and then give the details below. The question comes down to this: Should a failed service check for a dependent trigger a check of its parent before continuing? If this is not the case, or

Re: [Nagios-users] eventhandlers running when a dependent service dependency is not satisfied

2005-12-09 Thread Hugo van der Kooij
On Thu, 8 Dec 2005, Eli Stair wrote: >SSH -- SNMP --\ > - Ganglia > - NTP > define servicedependency{ > host_name HOSTNAME1 > service_description SSH > dependent_host_name HOSTNAME1 >

Re: [Nagios-users] eventhandlers running when a dependent service dependency is not satisfied

2005-12-09 Thread John P. Rouillard
Hi Eli: You didn't say what version of nagios you are running so I'll assume 2.0. In message <[EMAIL PROTECTED]>, Eli Stair writes: >The question comes down to this: > > Should a failed service check for a dependent trigger a check of its >parent before continuing? IIRC from the code it does

Re: [Nagios-users] eventhandlers running when a dependent service dependency is not satisfied

2005-12-09 Thread Eli Stair
Thanks for your response Hugo. In this case I have service checks named: SSH # uses check_ssh plugin SNMP # gets a low-latency MIB to ensure SNMPd is answering SNMP-- $DAEMON ## where $DAEMON is one of many processes that need to be running on the host (each with its own service defin

Re: [Nagios-users] eventhandlers running when a dependent service dependency is not satisfied

2005-12-09 Thread Hugo van der Kooij
On Fri, 9 Dec 2005, Eli Stair wrote: >SSH # uses check_ssh plugin >SNMP # gets a low-latency MIB to ensure SNMPd is answering >SNMP-- $DAEMON ## where $DAEMON is one of many processes that need to > be running on the host (each with its own service definition). > > In this case SSH

Re: [Nagios-users] eventhandlers running when a dependent service dependency is not satisfied

2005-12-09 Thread Eli Stair
Thanks a million for pointing out the 'SCHEDULE_FORCED_SVC_CHECK', I'm now rewriting and testing the event handlers to take care of this. If only there were a macro/variable of the master service... looking for a lightweight way to determine the to pass to the macro that is the direct paren

Re: [Nagios-users] eventhandlers running when a dependent service dependency is not satisfied

2005-12-09 Thread John P. Rouillard
In message <[EMAIL PROTECTED]>, Eli Stair writes: >Thanks a million for pointing out the 'SCHEDULE_FORCED_SVC_CHECK', I'm >now rewriting and testing the event handlers to take care of this. If >only there were a macro/variable of the master service... looking for a >lightweight way to determin