Re: [Nagios-devel] nagios 1.1 bug xrddefault_read_state_information

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] nagios 1.1 bug xrddefault_read_state_information

Post by Guest »

Thanks! I'll get this into CVS.

On 3 Jul 2003 at 17:07, Dietmar Ruzicka wrote:

> hi,
>
> there is a bug in nagios 1.1.
> the service state information is written with the order:
>
> host_name,..,checks_enabled,accept_passive_checks,event_handler_enabled,..,plugin_output
>
> but is readed with the order:
>
> host_name,..,checks_enabled,event_handler_enabled,accept_passive_checks,..,plugin_output
>
> [root@gdlx03 /root]# diff -u3 nagios-1.1/xdata/xrddefault.c
> nagios-1.1-patched/xdata/xrddefault.c
> --- nagios-1.1/xdata/xrddefault.c Fri Mar 15 04:01:48 2002
> +++ nagios-1.1-patched/xdata/xrddefault.c Thu Jul 3 15:52:34 2003
> @@ -547,12 +547,12 @@
> temp_ptr=strtok(NULL,";");
> if(temp_ptr==NULL)
> continue;
> - event_handler_enabled=atoi(temp_ptr);
> + accept_passive_checks=atoi(temp_ptr);
>
> temp_ptr=strtok(NULL,";");
> if(temp_ptr==NULL)
> continue;
> - accept_passive_checks=atoi(temp_ptr);
> + event_handler_enabled=atoi(temp_ptr);
>
> temp_ptr=strtok(NULL,";");
> if(temp_ptr==NULL)
> [root@gdlx03 /root]#
>
> regards
>
> Dietmar
>
>
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
> http://aspnet.click-url.com/go/psa00100 ... 1203_01/01
> _______________________________________________
> 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