Should be fixed in CVS now.
On 15 May 2002 at 12:55, Adams, Gavin wrote:
> Hi,
>
> Using Nagios 1.0b1 compiled with MySQL support for all data files.
>
> I created a service with the following attributes:
>
> define service {
> host_name nt_server
> service_description DISK - C:\
> check_command check_nt_disk!C!80!90
> name Disk Usage
> .
> .
> }
>
> and saw the follow error in my log file:
>
> May 15 11:38:44 tempserver nagios: Nagios 1.0b1 starting... (PID=24535)
> May 15 11:38:44 tempserver nagios: Finished daemonizing... (New
> PID=24536)
> May 15 11:38:44 tempserver nagios: Error: Could not insert/update status
> record
> for service 'DISK - C:\' on host 'net_server' in table 'servicestatus'
> of databa
> se 'nagios'
> May 15 11:39:29 tempserver last message repeated 3 times
> May 15 11:40:14 tempserver last message repeated 3 times
>
> It appears that the backslash character is not getting escaped during
> the SQL calls, or I missed something on reserved characters that can be
> used in the .cfg files.
>
> Should the string after "service_description" and any white space be
> escaped out?
>
> Regards,
>
>
> --- Gavin Adams
> Promisant (USA) Inc.
> O: +1.404.262.7321 M: +1.404.213.5539
>
>
> _______________________________________________________________
>
> Have big pipes? SourceForge.net is looking for download mirrors. We supply
> the hardware. You get the recognition. Email Us: bandwidth@sourceforge.net
> _______________________________________________
> Nagios-devel mailing list
> Nagios-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/lis ... gios-devel
>
Ethan Galstad,
Nagios Developer
---
Email: nagios@nagios.org
Website: http://www.nagios.org
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: nagios@nagios.org