Code: Select all
[1467361331.389468] [002.0] [pid=10649] DELETE FROM nagios_timedeventqueue WHERE instance_id='1' AND event_type='12' AND scheduled_time=FROM_UNIXTIME(1467361331) AND recurring_event='0' AND object_id='398'
[1467361335.403985] [002.0] [pid=10649] DELETE FROM nagios_timedeventqueue WHERE instance_id='1' AND event_type='0' AND scheduled_time=FROM_UNIXTIME(1467361335) AND recurring_event='0' AND object_id='428'
[1467361335.404330] [002.0] [pid=10649] DELETE FROM nagios_timedeventqueue WHERE instance_id='1' AND scheduled_time<FROM_UNIXTIME(1467361335)
[1467361335.404529] [002.0] [pid=10649] DELETE FROM nagios_timedeventqueue WHERE instance_id='1' AND event_type='0' AND scheduled_time=FROM_UNIXTIME(1467361335) AND recurring_event='0' AND object_id='428'
[1467361335.404758] [002.0] [pid=10649] INSERT INTO nagios_programstatus SET instance_id='1', status_update_time=FROM_UNIXTIME(1467361335), program_start_time=FROM_UNIXTIME(1467282948), is_currently_running='1', process_id='10640', daemon_mode='1', last_command_check=FROM_UNIXTIME(0), last_log_rotation=FROM_UNIXTIME(1467323999), notifications_enabled='1', active_service_checks_enabled='1', passive_service_checks_enabled='1', active_host_checks_enabled='1', passive_host_checks_enabled='1', event_handlers_enabled='1', flap_detection_enabled='1', failure_prediction_enabled='0', process_performance_data='1', obsess_over_hosts='0', obsess_over_services='0', modified_host_attributes='0', modified_service_attributes='0', global_host_event_handler='', global_service_event_handler='' ON DUPLICATE KEY UPDATE instance_id='1', status_update_time=FROM_UNIXTIME(1467361335), program_start_time=FROM_UNIXTIME(1467282948), is_currently_running='1', process_id='10640', daemon_mode='1', last_command_check=FROM_UNIXTIME(0), last_log_rotation=FROM_UNIXTIME(1467323999), notifications_enabled='1', active_service_checks_enabled='1', passive_service_checks_enabled='1', active_host_checks_enabled='1', passive_host_checks_enabled='1', event_handlers_enabled='1', flap_detection_enabled='1', failure_prediction_enabled='0', process_performance_data='1', obsess_over_hosts='0', obsess_over_services='0', modified_host_attributes='0', modified_service_attributes='0', global_host_event_handler='', global_service_event_handler=''
[1467361337.976287] [002.0] [pid=10649] DELETE FROM nagios_timedeventqueue WHERE instance_id='1' AND event_type='99' AND scheduled_time=FROM_UNIXTIME(1467361338) AND recurring_event='1' AND object_id='0'
[1467361337.976852] [002.0] [pid=10649] INSERT INTO nagios_systemcommands SET instance_id='1', start_time=FROM_UNIXTIME(1467361337), start_time_usec='976182', end_time=FROM_UNIXTIME(0), end_time_usec='0', command_line='/bin/mv /usr/local/pnp4nagios/var/service-perfdata /usr/local/pnp4nagios/var/spool/service-perfdata\.1467361337', timeout='5', early_timeout='0', execution_time='0.000000', return_code='0', output='', long_output='' ON DUPLICATE KEY UPDATE instance_id='1', start_time=FROM_UNIXTIME(1467361337), start_time_usec='976182', end_time=FROM_UNIXTIME(0), end_time_usec='0', command_line='/bin/mv /usr/local/pnp4nagios/var/service-perfdata /usr/local/pnp4nagios/var/spool/service-perfdata\.1467361337', timeout='5', early_timeout='0', execution_time='0.000000', return_code='0', output='', long_output=''
[1467361337.990155] [002.0] [pid=10649] INSERT INTO nagios_systemcommands SET instance_id='1', start_time=FROM_UNIXTIME(1467361337), start_time_usec='976182', end_time=FROM_UNIXTIME(1467361337), end_time_usec='989896', command_line='/bin/mv /usr/local/pnp4nagios/var/service-perfdata /usr/local/pnp4nagios/var/spool/service-perfdata\.1467361337', timeout='5', early_timeout='0', execution_time='0.013000', return_code='0', output='', long_output='' ON DUPLICATE KEY UPDATE instance_id='1', start_time=FROM_UNIXTIME(1467361337), start_time_usec='976182', end_time=FROM_UNIXTIME(1467361337), end_time_usec='989896', command_line='/bin/mv /usr/local/pnp4nagios/var/service-perfdata /usr/local/pnp4nagios/var/spool/service-perfdata\.1467361337', timeout='5', early_timeout='0', execution_time='0.013000', return_code='0', output='', long_output=''
[1467361337.990651] [002.0] [pid=10649] DELETE FROM nagios_timedeventqueue WHERE instance_id='1' AND event_type='99' AND scheduled_time=FROM_UNIXTIME(1467361338) AND recurring_event='1' AND object_id='0'
[1467361337.990871] [002.0] [pid=10649] DELETE FROM nagios_timedeventqueue WHERE instance_id='1' AND event_type='99' AND scheduled_time=FROM_UNIXTIME(1467361338) AND recurring_event='1' AND object_id='0'
[1467361337.991078] [002.0] [pid=10649] INSERT INTO nagios_systemcommands SET instance_id='1', start_time=FROM_UNIXTIME(1467361337), start_time_usec='990446', end_time=FROM_UNIXTIME(0), end_time_usec='0', command_line='/bin/mv /usr/local/pnp4nagios/var/host-perfdata /usr/local/pnp4nagios/var/spool/host-perfdata\.1467361337', timeout='5', early_timeout='0', execution_time='0.000000', return_code='0', output='', long_output='' ON DUPLICATE KEY UPDATE instance_id='1', start_time=FROM_UNIXTIME(1467361337), start_time_usec='990446', end_time=FROM_UNIXTIME(0), end_time_usec='0', command_line='/bin/mv /usr/local/pnp4nagios/var/host-perfdata /usr/local/pnp4nagios/var/spool/host-perfdata\.1467361337', timeout='5', early_timeout='0', execution_time='0.000000', return_code='0', output='', long_output=''
[1467361338.004438] [002.0] [pid=10649] INSERT INTO nagios_systemcommands SET instance_id='1', start_time=FROM_UNIXTIME(1467361337), start_time_usec='990446', end_time=FROM_UNIXTIME(1467361338), end_time_usec='3', command_line='/bin/mv /usr/local/pnp4nagios/var/host-perfdata /usr/local/pnp4nagios/var/spool/host-perfdata\.1467361337', timeout='5', early_timeout='0', execution_time='0.014000', return_code='0', output='', long_output='' ON DUPLICATE KEY UPDATE instance_id='1', start_time=FROM_UNIXTIME(1467361337), start_time_usec='990446', end_time=FROM_UNIXTIME(1467361338), end_time_usec='3', command_line='/bin/mv /usr/local/pnp4nagios/var/host-perfdata /usr/local/pnp4nagios/var/spool/host-perfdata\.1467361337', timeout='5', early_timeout='0', execution_time='0.014000', return_code='0', output='', long_output=''
[1467361338.008017] [002.0] [pid=10649] DELETE FROM nagios_timedeventqueue WHERE instance_id='1' AND event_type='99' AND scheduled_time=FROM_UNIXTIME(1467361338) AND recurring_event='1' AND object_id='0'
[1467361338.008422] [002.0] [pid=10649] DELETE FROM nagios_timedeventqueue WHERE instance_id='1' AND event_type='8' AND scheduled_time=FROM_UNIXTIME(1467361338) AND recurring_event='1' AND object_id='0'
[1467361338.010277] [002.0] [pid=10649] DELETE FROM nagios_timedeventqueue WHERE instance_id='1' AND event_type='8' AND scheduled_time=FROM_UNIXTIME(1467361338) AND recurring_event='1' AND object_id='0'
[1467361338.010531] [002.0] [pid=10649] DELETE FROM nagios_timedeventqueue WHERE instance_id='1' AND event_type='5' AND scheduled_time=FROM_UNIXTIME(1467361338) AND recurring_event='1' AND object_id='0'
[1467361338.010855] [002.0] [pid=10649] DELETE FROM nagios_timedeventqueue WHERE instance_id='1' AND event_type='5' AND scheduled_time=FROM_UNIXTIME(1467361338) AND recurring_event='1' AND object_id='0'
mysqld do not appear there but it is running. I can query to the bbdd without problem, and it runs fast.
EDIT: I used to fix the issue just restarting nagios... so I guess that problem is not with ndo2db...