[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

[Nagios-devel] (no subject)

Post by Guest »

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 post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked