Hi all,
Think i've found a bug in distributed monitoring synchronization, below is the scenario + error.
Env:
Both zabbix servers are mostly identical
- Version 1.6.0 (not trunk)
- MySQL 5
- Server binary is identical, copy of the same build.
- Ubuntu 8 tls
I've just set up a new 'master' node, to eventually link several stand alone zabbix nodes.
This masternode will not get any hosts of its own, just combine all child node information for viewing and alerting.
After setting up the new master node, and emptying everything (hosts/templates/triggers,actions, etc, etc), i configured it to have 1 child node. This child node is an existing zabbix node, with around 600 hosts.
Then i configured the child node, restarted both zabbix_server daemons (without restart, nothing really happens, sync-wise).
After some time, configuration updates start (tailing the logfile).
So far, the following updates on the master side:
- 1 successfull
- 1 timeout
- 3 query errors
Query errors are all the same:
Think i've found a bug in distributed monitoring synchronization, below is the scenario + error.
Env:
Both zabbix servers are mostly identical
- Version 1.6.0 (not trunk)
- MySQL 5
- Server binary is identical, copy of the same build.
- Ubuntu 8 tls
I've just set up a new 'master' node, to eventually link several stand alone zabbix nodes.
This masternode will not get any hosts of its own, just combine all child node information for viewing and alerting.
After setting up the new master node, and emptying everything (hosts/templates/triggers,actions, etc, etc), i configured it to have 1 child node. This child node is an existing zabbix node, with around 600 hosts.
Then i configured the child node, restarted both zabbix_server daemons (without restart, nothing really happens, sync-wise).
After some time, configuration updates start (tailing the logfile).
So far, the following updates on the master side:
- 1 successfull
- 1 timeout
- 3 query errors
Query errors are all the same:
7502:20080929:152555 NODE 10: Received data from slave node 1 for node 1 datalen 28130879
7502:20080929:153055 Timeout while answering request
7502:20080929:154426 Query failed: [insert into hosts_profiles_ext (hostid,hostid,device_alias,device_type,device_cha ssis,device_os,device_os_short,device_hw_arch,devi ce_serial,device_model,device_tag,device_vendor,de vice_contract,device_who,device_status,device_app_ 01,device_app_02,device_app_03,device_app_04,devic e_app_05,device_url_1,device_url_2,device_url_3,de vice_networks,device_notes,device_hardware,device_ software,ip_subnet_mask,ip_router,ip_macaddress,oo b_ip,oob_subnet_mask,oob_router,date_hw_buy,date_h w_install,date_hw_expiry,date_hw_decomm,site_stree t_1,site_street_2,site_street_3,site_city,site_sta te,site_country,site_zip,site_rack,site_notes,poc_ 1_name,poc_1_email,poc_1_phone_1,poc_1_phone_2,poc _1_cell,poc_1_screen,poc_1_notes,poc_2_name,poc_2_ email,poc_2_phone_1,poc_2_phone_2,poc_2_cell,poc_2 _screen,poc_2_notes) values(100100000010741,100100000010741,'','','','' ,'','','','','','','','','','','','','','','','',' ','','','','','','','','','','','','','','','','', '','','','','','','','','','','','','','','','','' ,'','','','')] Column 'hostid' specified twice [1110]
7502:20080929:154426 Query failed: [insert into hosts_profiles_ext (hostid,hostid,device_alias,device_type,device_cha ssis,device_os,device_os_short,device_hw_arch,devi ce_serial,device_model,device_tag,device_vendor,de vice_contract,device_who,device_status,device_app_ 01,device_app_02,device_app_03,device_app_04,devic e_app_05,device_url_1,device_url_2,device_url_3,de vice_networks,device_notes,device_hardware,device_ software,ip_subnet_mask,ip_router,ip_macaddress,oo b_ip,oob_subnet_mask,oob_router,date_hw_buy,date_h w_install,date_hw_expiry,date_hw_decomm,site_stree t_1,site_street_2,site_street_3,site_city,site_sta te,site_country,site_zip,site_rack,site_notes,poc_ 1_name,poc_1_email,poc_1_phone_1,poc_1_phone_2,poc _1_cell,poc_1_screen,poc_1_notes,poc_2_name,poc_2_ email,poc_2_phone_1,poc_2_phone_2,poc_2_cell,poc_2 _screen,poc_2_notes) values(100100000010767,100100000010767,'','','','' ,'','','','','','','','','','','','','','','','',' ','','','','','','','','','','','','','','','','', '','','','','','','','','','','','','','','','','' ,'','','','')] Column 'hostid' specified twice [1110]
7502:20080929:154426 Query failed: [insert into hosts_profiles_ext (hostid,hostid,device_alias,device_type,device_cha ssis,device_os,device_os_short,device_hw_arch,devi ce_serial,device_model,device_tag,device_vendor,de vice_contract,device_who,device_status,device_app_ 01,device_app_02,device_app_03,device_app_04,devic e_app_05,device_url_1,device_url_2,device_url_3,de vice_networks,device_notes,device_hardware,device_ software,ip_subnet_mask,ip_router,ip_macaddress,oo b_ip,oob_subnet_mask,oob_router,date_hw_buy,date_h w_install,date_hw_expiry,date_hw_decomm,site_stree t_1,site_street_2,site_street_3,site_city,site_sta te,site_country,site_zip,site_rack,site_notes,poc_ 1_name,poc_1_email,poc_1_phone_1,poc_1_phone_2,poc _1_cell,poc_1_screen,poc_1_notes,poc_2_name,poc_2_ email,poc_2_phone_1,poc_2_phone_2,poc_2_cell,poc_2 _screen,poc_2_notes) values(100100000010768,100100000010768,'','','','' ,'','','','','','','','','','','','','','','','',' ','','','','','','','','','','','','','','','','', '','','','','','','','','','','','','','','','','' ,'','','','')] Column 'hostid' specified twice [1110]
7502:20080929:153055 Timeout while answering request
7502:20080929:154426 Query failed: [insert into hosts_profiles_ext (hostid,hostid,device_alias,device_type,device_cha ssis,device_os,device_os_short,device_hw_arch,devi ce_serial,device_model,device_tag,device_vendor,de vice_contract,device_who,device_status,device_app_ 01,device_app_02,device_app_03,device_app_04,devic e_app_05,device_url_1,device_url_2,device_url_3,de vice_networks,device_notes,device_hardware,device_ software,ip_subnet_mask,ip_router,ip_macaddress,oo b_ip,oob_subnet_mask,oob_router,date_hw_buy,date_h w_install,date_hw_expiry,date_hw_decomm,site_stree t_1,site_street_2,site_street_3,site_city,site_sta te,site_country,site_zip,site_rack,site_notes,poc_ 1_name,poc_1_email,poc_1_phone_1,poc_1_phone_2,poc _1_cell,poc_1_screen,poc_1_notes,poc_2_name,poc_2_ email,poc_2_phone_1,poc_2_phone_2,poc_2_cell,poc_2 _screen,poc_2_notes) values(100100000010741,100100000010741,'','','','' ,'','','','','','','','','','','','','','','','',' ','','','','','','','','','','','','','','','','', '','','','','','','','','','','','','','','','','' ,'','','','')] Column 'hostid' specified twice [1110]
7502:20080929:154426 Query failed: [insert into hosts_profiles_ext (hostid,hostid,device_alias,device_type,device_cha ssis,device_os,device_os_short,device_hw_arch,devi ce_serial,device_model,device_tag,device_vendor,de vice_contract,device_who,device_status,device_app_ 01,device_app_02,device_app_03,device_app_04,devic e_app_05,device_url_1,device_url_2,device_url_3,de vice_networks,device_notes,device_hardware,device_ software,ip_subnet_mask,ip_router,ip_macaddress,oo b_ip,oob_subnet_mask,oob_router,date_hw_buy,date_h w_install,date_hw_expiry,date_hw_decomm,site_stree t_1,site_street_2,site_street_3,site_city,site_sta te,site_country,site_zip,site_rack,site_notes,poc_ 1_name,poc_1_email,poc_1_phone_1,poc_1_phone_2,poc _1_cell,poc_1_screen,poc_1_notes,poc_2_name,poc_2_ email,poc_2_phone_1,poc_2_phone_2,poc_2_cell,poc_2 _screen,poc_2_notes) values(100100000010767,100100000010767,'','','','' ,'','','','','','','','','','','','','','','','',' ','','','','','','','','','','','','','','','','', '','','','','','','','','','','','','','','','','' ,'','','','')] Column 'hostid' specified twice [1110]
7502:20080929:154426 Query failed: [insert into hosts_profiles_ext (hostid,hostid,device_alias,device_type,device_cha ssis,device_os,device_os_short,device_hw_arch,devi ce_serial,device_model,device_tag,device_vendor,de vice_contract,device_who,device_status,device_app_ 01,device_app_02,device_app_03,device_app_04,devic e_app_05,device_url_1,device_url_2,device_url_3,de vice_networks,device_notes,device_hardware,device_ software,ip_subnet_mask,ip_router,ip_macaddress,oo b_ip,oob_subnet_mask,oob_router,date_hw_buy,date_h w_install,date_hw_expiry,date_hw_decomm,site_stree t_1,site_street_2,site_street_3,site_city,site_sta te,site_country,site_zip,site_rack,site_notes,poc_ 1_name,poc_1_email,poc_1_phone_1,poc_1_phone_2,poc _1_cell,poc_1_screen,poc_1_notes,poc_2_name,poc_2_ email,poc_2_phone_1,poc_2_phone_2,poc_2_cell,poc_2 _screen,poc_2_notes) values(100100000010768,100100000010768,'','','','' ,'','','','','','','','','','','','','','','','',' ','','','','','','','','','','','','','','','','', '','','','','','','','','','','','','','','','','' ,'','','','')] Column 'hostid' specified twice [1110]

Comment