Re: [Nagios-devel] (no subject)

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
Guest

Re: [Nagios-devel] (no subject)

Post by Guest »

Thanks! This will be in CVS shortly.


On 24 Mar 2005 at 14:05, Dietmar Ruzicka wrote:

> Hi,
>
> There is a tiny bug in the add_property function for
> servicedependency. If the execution_failure_criteria is set to n,
> fail_execution_on_critical will be set to FALSE and in the next line
> to TRUE and fail_execute_on_pending won't be set. Both should be
> FALSE. The hostdependency is correct.
>
> See my attached patch against cvs.
>
> Regards
>
> Dietmar
>
>
> $ diff -c xodtemplate.c.original xodtemplate.c
> *** xodtemplate.c.original Thu Mar 24 13:51:46 2005
> --- xodtemplate.c Thu Mar 24 13:52:31 2005
> ***************
> *** 2129,2135 ****
>
> temp_servicedependency->fail_execute_on_unknown=FALSE;
>
> temp_servicedependency->fail_execute_on_warning=FALSE;
>
> temp_servicedependency->fail_execute_on_critical=FALSE;
> !
> temp_servicedependency->fail_execute_on_critical=TRUE;
> }
> else{
> #ifdef NSCORE
> --- 2129,2135 ----
>
> temp_servicedependency->fail_execute_on_unknown=FALSE;
>
> temp_servicedependency->fail_execute_on_warning=FALSE;
>
> temp_servicedependency->fail_execute_on_critical=FALSE;
> !
> temp_servicedependency->fail_execute_on_pending=FALSE;
> }
> else{
> #ifdef NSCORE
>
> --
> Sparen beginnt mit GMX DSL: http://www.gmx.net/de/go/dsl
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon
> 2005 Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest
> Windows Embedded(r) & Windows Mobile(tm) platforms, applications &
> content. Register by 3/29 & save $300
> http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
> _______________________________________________ Nagios-devel mailing
> list [email protected]
> https://lists.sourceforge.net/lists/lis ... gios-devel
>
>



Ethan Galstad,
Nagios Developer
---
Email: [email protected]
Website: http://www.nagios.org






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked