matthias eble wrote:
> Hi List,
>
> since 3.0.5 the "Force Check" checkbox is ignored when service checks
> are to be rescheduled from the web-ui. The resulting command is always
> SCHEDULE_SVC_CHECK instead of SCHEDULE_FORCED_SVC_CHECK because the
> value of the checkbox (stored in force_check) is never interpreted.
>
> This is only for the case for single service checks. Host checks and
> "all service checks for a particular host" work as expected.
>
> Matthias
>
>
> --- nagios-3.0.6.old/cgi/cmd.c 2008-11-30 18:22:58.000000000 +0100
> +++ nagios-3.0.6/cgi/cmd.c 2008-12-09 11:22:27.423898000 +0100
> @@ -2033,7 +2033,8 @@
> break;
>
> case CMD_SCHEDULE_SVC_CHECK:
> - case CMD_SCHEDULE_FORCED_SVC_CHECK:
> + if (force_check == TRUE)
> + cmd = CMD_SCHEDULE_FORCED_SVC_CHECK;
> result = cmd_submitf(cmd,"%s;%s;%
> lu",host_name,service_desc,start_time);
> break;
>
>
Nice catch.
--
Andreas Ericsson [email protected]
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]