[ZBX-6154] Events and Alerts not replicated properly in a Distributed Monitoring setup Created: 2013 Jan 19 Updated: 2017 May 30 Resolved: 2015 Feb 02 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 2.0.4 |
Fix Version/s: | None |
Type: | Incident report | Priority: | Major |
Reporter: | Yaroslav Zhavoronkov | Assignee: | Unassigned |
Resolution: | Won't fix | Votes: | 0 |
Labels: | dm, events, patch | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: |
![]() |
Description |
In a Distributed Monitoring setup of several nodes, where Node 1 is a master and Node 2 is a child of Node 1: When a Trigger for an Item located at Node 2 is created via the web interface at Node 1, an "unknown event" for that Trigger is created in the `events' table of the database at Node 1. eventid of this "unknown_event" is set according to the local & remote node IDs and is (for Node 1 id=1 and Node 2 id=2) in the range of 200100xxxxxxxxxxx. So, after creating a new Trigger and appearing the "unknown event" of its creation in the database of Node 1, the replication of all events occurring at Node 2 to Node 1 STOPS completely. Steps to reproduce: <1) Possible solution: change send_history_last_id() function to select only node-local IDs (up to NNN00099999999999 instead of NNN99999999999999) for specified node ID (see patch attached). The same issue is addressed in the ticket https://support.zabbix.com/browse/ZBX-5929. |
Comments |
Comment by richlv [ 2015 Feb 02 ] |
with nodes being removed since 2.4, this issue is unlikely to be looked in |