ZABBIX Forums  
  #1  
Old 24-02-2012, 14:41
joedson joedson is offline
Junior Member
 
Join Date: Jul 2011
Posts: 19
Default Sync problem

Hello,

I have a DM setup with one master and 4 children. Child's alerts never show up in the 'last 20 events' list. Even is I switch 'current node' to the child node, they don't show up either.

Even with all history been completely sync, I can't see any event sync at log.

Any idea how to solve it?

PS:
All Zabbix has the same version version:
Zabbix Server v1.8.9 (revision 23398) (22 November 2011)
Compilation time: Jan 18 2012 10:33:47

And all zabbix the file /etc/zabbix/zabbix_server has: "NodeNoEvents"
setup to 0.

Thanks!
Reply With Quote
  #2  
Old 28-02-2012, 13:54
RobertS RobertS is offline
Member
 
Join Date: Aug 2006
Location: Spittal, Austria
Posts: 57
Default Problem found!

Hello,

the log of the child node should have entries like:
Code:
5517:20120228:092218.376 NODE 1: Sending events of node 1 to node 999 datalen 510018
If this entry is followed by a
Code:
5517:20120228:092218.843 NOT OK
then event sync is not working anymore.

I posted this problem in already in 2009 (http://www.zabbix.com/forum/showthread.php?t=14292) but unfortunately never got an answer. But I found several other posts from people having similar problems.

So after years I tried to set up DM again and as it is still not working in my environment I tried to investigate the reason and thanks to DEBUG LEVEL 4 I hope I found it: There is simply the trigger missing for the event and then the whole process fails. You can investigate have an erroneous entry in executing the following query:
Code:
SELECT * FROM events LEFT JOIN triggers ON events.objectid = triggers.triggerid WHERE (((events.source)=0) AND ((events.object)=0) AND ((triggers.triggerid) Is Null));
You can delete the entry in the events table and replication will work.

I enclosed the debug log. Perhaps anybody can fix this long lasting bug!

Regards,
Robert
Attached Images
File Type: pdf Zabbix DM Event Problem.pdf (42.0 KB, 65 views)
Reply With Quote
  #3  
Old 29-02-2012, 17:06
RobertS RobertS is offline
Member
 
Join Date: Aug 2006
Location: Spittal, Austria
Posts: 57
Default

OK, if I had first a looked at the tracker I would not need to debug:
https://support.zabbix.com/browse/ZBX-3996
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 14:30.