(no subject)

Ethan Galstad nagios at nagios.org
Thu Mar 24 23:57:40 CET 2005


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 Nagios-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-devel
> 
> 



Ethan Galstad,
Nagios Developer
---
Email: nagios at nagios.org
Website: http://www.nagios.org



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click




More information about the Developers mailing list