Errno was 167; message was Out of range value for column
Posted: Wed Jan 08, 2025 6:25 am
Hello
We have found the following errors in the log file /usr/local/nagios/var/nagios.log and in several files within the directory: /usr/local/nagios/var/archives/
the complete error sequence would be:
[1736335060] NDO-3: Errno was 167; message was Out of range value for column 'servicecheck_id' at row 1
[1736335060] NDO-3: The following query failed while MySQL appears to be connected:
[1736335060] NDO-3: INSERT INTO nagios_servicechecks (instance_id, start_time, start_time_usec, end_time, end_time_usec, service_object_id, check_type, current_check_attempt, max_check_attempts, state, state_type, timeout, early_timeout, execution_time, latency, return_code, output, long_output, perfdata, command_object_id, command_args, command_line) VALUES (1,FROM_UNIXTIME(1736335058),347941,FROM_UNIXTIME(1736335060),93768,15541,0,1,5,0,1,60,0,1.745827,0.000273,0,'CHECK_NRPE: Invalid packet version received from server.','OK: Application Pool Started \"wcfdiferenciask2pro.dkvseguros.es\"','',0,'','') ON DUPLICATE KEY UPDATE instance_id = VALUES(instance_id), start_time = VALUES(start_time), start_time_usec = VALUES(start_time_usec), end_time = VALUES(end_time), end_time_usec = VALUES(end_time_usec), service_object_id = VALUES(service_object_id), check_type = VALUES(check_type), current_check_attempt = VALUES(current_check_attempt), max_check_attempts = VALUES(max_check_attempts), state = VALUES(state), state_type = VALUES(state_type), timeout = VALUES(timeout), early_timeout = VALUES(early_timeout), execution_time = VALUES(execution_time), latency = VALUES(latency), return_code = VALUES(return_code), output = VALUES(output), long_output = VALUES(long_output), perfdata = VALUES(perfdata), command_object_id = VALUES(command_object_id), command_args = VALUES(command_args), command_line = VALUES(command_line)
the error occurs very frequently, causing some files within the /usr/local/nagios/var/archives/ directory to occupy several gigabytes.
we have applied this note: https://answerhub.nagios.com/support/s/ ... n-3a012c2e but it has not solved the problem.
Version: Nagios XI 2024R1.2.1
OS: Red Hat Enterprise Linux release 8.9 (Ootpa)
Regards.
We have found the following errors in the log file /usr/local/nagios/var/nagios.log and in several files within the directory: /usr/local/nagios/var/archives/
the complete error sequence would be:
[1736335060] NDO-3: Errno was 167; message was Out of range value for column 'servicecheck_id' at row 1
[1736335060] NDO-3: The following query failed while MySQL appears to be connected:
[1736335060] NDO-3: INSERT INTO nagios_servicechecks (instance_id, start_time, start_time_usec, end_time, end_time_usec, service_object_id, check_type, current_check_attempt, max_check_attempts, state, state_type, timeout, early_timeout, execution_time, latency, return_code, output, long_output, perfdata, command_object_id, command_args, command_line) VALUES (1,FROM_UNIXTIME(1736335058),347941,FROM_UNIXTIME(1736335060),93768,15541,0,1,5,0,1,60,0,1.745827,0.000273,0,'CHECK_NRPE: Invalid packet version received from server.','OK: Application Pool Started \"wcfdiferenciask2pro.dkvseguros.es\"','',0,'','') ON DUPLICATE KEY UPDATE instance_id = VALUES(instance_id), start_time = VALUES(start_time), start_time_usec = VALUES(start_time_usec), end_time = VALUES(end_time), end_time_usec = VALUES(end_time_usec), service_object_id = VALUES(service_object_id), check_type = VALUES(check_type), current_check_attempt = VALUES(current_check_attempt), max_check_attempts = VALUES(max_check_attempts), state = VALUES(state), state_type = VALUES(state_type), timeout = VALUES(timeout), early_timeout = VALUES(early_timeout), execution_time = VALUES(execution_time), latency = VALUES(latency), return_code = VALUES(return_code), output = VALUES(output), long_output = VALUES(long_output), perfdata = VALUES(perfdata), command_object_id = VALUES(command_object_id), command_args = VALUES(command_args), command_line = VALUES(command_line)
the error occurs very frequently, causing some files within the /usr/local/nagios/var/archives/ directory to occupy several gigabytes.
we have applied this note: https://answerhub.nagios.com/support/s/ ... n-3a012c2e but it has not solved the problem.
Version: Nagios XI 2024R1.2.1
OS: Red Hat Enterprise Linux release 8.9 (Ootpa)
Regards.