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=3D24535)=20
May 15 11:38:44 tempserver nagios: Finished daemonizing... (New
PID=3D24536)=20
May 15 11:38:44 tempserver nagios: Error: Could not insert/update status
record=20
for service 'DISK - C:\' on host 'net_server' in table 'servicestatus'
of databa
se 'nagios'=20
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
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: gadams@promisant.com