Hi there,
I'm migrating a zabbix server to a new hardware setup. Not to complicated, since the setup was already behind a loadbalancer VIP. So basically:
1. Dumped all mysql data on old server.
2. Moved and imported the mysql data on the new server.
3. New server running fine, everything seems to work (we accept the fact that we lost a couple of hours worth of data because of the migration)
4. Point the LB VIP to the new internal address.
At this point the new server started to complain about the proxies, on the server side (debug level 4):
---
13319:20110804:115006.628 History data from active proxy on [192.168.231.105] failed: proxy [zXXX3] not found
13319:20110804:115006.628 In zbx_send_response()
13319:20110804:115006.628 zbx_send_response() '{
"response":"failed",
"info":"<F1>"}'
13319:20110804:115006.628 End of zbx_send_response():SUCCEED
13319:20110804:115006.628 End of recv_proxyhistory()
13299:20110804:115006.645 Discovery data from active proxy on [10.31.3.250] failed: proxy [zXXX1] not found
13299:20110804:115006.645 In zbx_send_response()
13299:20110804:115006.645 zbx_send_response() '{
"response":"failed"}'
13299:20110804:115006.645 End of zbx_send_response():SUCCEED
13299:20110804:115006.645 End of recv_discovery_data():FAIL
---
On the proxy side:
---
19007:20110804:114654.961 In zbx_recv_response()
19007:20110804:114654.969 zbx_recv_response() '{
"response":"failed",
"info":"<F1>"}'
19007:20110804:114654.969 End of zbx_recv_response():FAIL
19007:20110804:114654.969 End of put_data_to_server():FAIL
28483:20110804:132328.610 proxy_get_history_data() lastid:4
28483:20110804:132328.611 End of proxy_get_history_data():4
28483:20110804:132328.611 In connect_to_server() [192.168.XXX.XXX]:10051 [timeout:600]
28483:20110804:132328.614 In put_data_to_server() datalen:301
28483:20110804:132328.614 In send_data_to_server() [{
"request":"auto registration",
"host":"XXX1",
"data":[
{
"clock":1312456834,
"host":"XXX-speech"},
{
"clock":1312456859,
"host":"XXX1"},
{
"clock":1312456954,
"host":"master-speech"},
{
"clock":1312456980,
"host":"XXX3"}],
"clock":1312457008}]
28483:20110804:132328.614 In zbx_recv_response()
28483:20110804:132328.620 zbx_recv_response() '{
"response":"failed"}'
28483:20110804:132328.620 End of zbx_recv_response():FAIL
28483:20110804:132328.620 End of put_data_to_server():FAIL
28483:20110804:132328.620 End of autoreg_host_sender()
28483:20110804:132328.620 Datasender spent 0.014011 seconds while processing 0 values.
---
Ugh! So this is strange since the DB is exactly the same, proxy config did not change - and are configured the right way on the server (which also didn't change).
I even tried to configure a new proxy, but this seems to give the same issue's.
The only strange thing was when I tried to disable the hosts under a proxy, the frontend gave:
• Error in query [INSERT INTO events (eventid, source, object, objectid, clock, value, acknowledged) VALUES (19882996,0,0,25201,1312457520,2,0)] [Duplicate entry '19882996' for key 'PRIMARY']
• Updated status of host "blabla1.intra.ZZZ.YYY"
• Error in query [INSERT INTO events (eventid, source, object, objectid, clock, value, acknowledged) VALUES (19882997,0,0,26262,1312457520,2,0)] [Duplicate entry '19882997' for key 'PRIMARY']
• Updated status of host "blabla2.intra.ZZZ.YYY"
Not sure if this last error is directly related though...
Both server and proxies are running 1.8.5, of course I checked the network/firewalls etc... It really seems to be a application (in mysql?) issue.
Running out of options atm, anyone a clue?
I'm migrating a zabbix server to a new hardware setup. Not to complicated, since the setup was already behind a loadbalancer VIP. So basically:
1. Dumped all mysql data on old server.
2. Moved and imported the mysql data on the new server.
3. New server running fine, everything seems to work (we accept the fact that we lost a couple of hours worth of data because of the migration)
4. Point the LB VIP to the new internal address.
At this point the new server started to complain about the proxies, on the server side (debug level 4):
---
13319:20110804:115006.628 History data from active proxy on [192.168.231.105] failed: proxy [zXXX3] not found
13319:20110804:115006.628 In zbx_send_response()
13319:20110804:115006.628 zbx_send_response() '{
"response":"failed",
"info":"<F1>"}'
13319:20110804:115006.628 End of zbx_send_response():SUCCEED
13319:20110804:115006.628 End of recv_proxyhistory()
13299:20110804:115006.645 Discovery data from active proxy on [10.31.3.250] failed: proxy [zXXX1] not found
13299:20110804:115006.645 In zbx_send_response()
13299:20110804:115006.645 zbx_send_response() '{
"response":"failed"}'
13299:20110804:115006.645 End of zbx_send_response():SUCCEED
13299:20110804:115006.645 End of recv_discovery_data():FAIL
---
On the proxy side:
---
19007:20110804:114654.961 In zbx_recv_response()
19007:20110804:114654.969 zbx_recv_response() '{
"response":"failed",
"info":"<F1>"}'
19007:20110804:114654.969 End of zbx_recv_response():FAIL
19007:20110804:114654.969 End of put_data_to_server():FAIL
28483:20110804:132328.610 proxy_get_history_data() lastid:4
28483:20110804:132328.611 End of proxy_get_history_data():4
28483:20110804:132328.611 In connect_to_server() [192.168.XXX.XXX]:10051 [timeout:600]
28483:20110804:132328.614 In put_data_to_server() datalen:301
28483:20110804:132328.614 In send_data_to_server() [{
"request":"auto registration",
"host":"XXX1",
"data":[
{
"clock":1312456834,
"host":"XXX-speech"},
{
"clock":1312456859,
"host":"XXX1"},
{
"clock":1312456954,
"host":"master-speech"},
{
"clock":1312456980,
"host":"XXX3"}],
"clock":1312457008}]
28483:20110804:132328.614 In zbx_recv_response()
28483:20110804:132328.620 zbx_recv_response() '{
"response":"failed"}'
28483:20110804:132328.620 End of zbx_recv_response():FAIL
28483:20110804:132328.620 End of put_data_to_server():FAIL
28483:20110804:132328.620 End of autoreg_host_sender()
28483:20110804:132328.620 Datasender spent 0.014011 seconds while processing 0 values.
---
Ugh! So this is strange since the DB is exactly the same, proxy config did not change - and are configured the right way on the server (which also didn't change).
I even tried to configure a new proxy, but this seems to give the same issue's.
The only strange thing was when I tried to disable the hosts under a proxy, the frontend gave:
• Error in query [INSERT INTO events (eventid, source, object, objectid, clock, value, acknowledged) VALUES (19882996,0,0,25201,1312457520,2,0)] [Duplicate entry '19882996' for key 'PRIMARY']
• Updated status of host "blabla1.intra.ZZZ.YYY"
• Error in query [INSERT INTO events (eventid, source, object, objectid, clock, value, acknowledged) VALUES (19882997,0,0,26262,1312457520,2,0)] [Duplicate entry '19882997' for key 'PRIMARY']
• Updated status of host "blabla2.intra.ZZZ.YYY"
Not sure if this last error is directly related though...
Both server and proxies are running 1.8.5, of course I checked the network/firewalls etc... It really seems to be a application (in mysql?) issue.
Running out of options atm, anyone a clue?
Comment