[ZBX-5713] Multiple triggers generation with LLD Created: 2012 Oct 19 Updated: 2017 May 30 Resolved: 2013 Jan 05 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Templates (T) |
Affects Version/s: | 2.0.2 |
Fix Version/s: | None |
Type: | Incident report | Priority: | Major |
Reporter: | Maxim Tyukov | Assignee: | Unassigned |
Resolution: | Duplicate | Votes: | 1 |
Labels: | dm, duplicates, lld, triggers | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | HostTriggers_161.JPG TemplateTriggerPrototype.JPG lld_bug.png lld_bug1.png zbx_c_Template_OS_Windows.xml zbx_export_hosts (1).xml | ||||||||
Issue Links: |
|
Description |
I have template for WIN hosts with simple low level discovery rule from Zdocs, no actions, I just link this template to host manually. Lets say I have Template_WIN_old with no LLD and items like "Free space on C:" and new Template_WIN_new with LLD for Disks stats : 1. Lets unlink "Template_WIN_old" from WIN host, just unlink becouse we want to save data. |
Comments |
Comment by Oleksii Zagorskyi [ 2012 Oct 20 ] |
I tried to reproduce it with current trunk and 2.0.2 release. I'm not sure my was scenario identical to Maxim's so I'll describe it in short: 1. I have a windows host (with discs C and D) with configured just one regular item key "vfs.fs.size[C:,pfree]" which is working. An error status of the discovery rule is always "Cannot create item [vfs.fs.size[C:,pfree]]: item already exists" Maxim, make sure that you are really using 2.0.2 and your case in not like a Or where is my error in my attempt to reproduce it ? Added: When I try to open such trigger by just click (these is a link already as for regular trigger) I receive an error: Luckily it's possible delete such incorrect triggers using checkboxes and a drop-down delete action. zalex_ua the bug observed here moved to |
Comment by Maxim Tyukov [ 2012 Oct 22 ] |
Ok, it seems my scenario to reproduce bug is wrong, also I believe it is not connected to |
Comment by Maxim Tyukov [ 2012 Oct 22 ] |
As you can see here there are many identical triggers for for each item. All these items are static in Template (also I have the same items in LLD) |
Comment by Maxim Tyukov [ 2012 Oct 22 ] |
See lld_bug1 picture to see my items, also here there are discovered items for disk E because I have no such items in WIN template. |
Comment by Oleksii Zagorskyi [ 2012 Oct 24 ] |
Maxim, it's hard to imagine what is going on there. I'm afraid we need a clean scenario how to reproduce this issue. Maybe you could try setup a new clean DB and try to reproduce it on your side as you know all details ? Just FYI - there was a change (from 2.0.0 to 2.0.1) on agent side, maybe it somehow related, see Btw, thank you for good speech on zabconf2012 |
Comment by Maxim Tyukov [ 2012 Oct 25 ] |
On this host there was agent 1.8.2 and then I upgrade it to 2.0.2 $ zabbix_agentd.exe -V Unfortunatelly I didn't have time to work on reproducing this bug this week, please hold on. |
Comment by richlv [ 2012 Oct 25 ] |
is that cygwin ? zalex_ua it's even more strange - cygdrive + .exe |
Comment by Maxim Tyukov [ 2012 Oct 25 ] |
I just show you agent version in ssh cygwin session, i believe issue not connected to cygwin. |
Comment by Oleksii Zagorskyi [ 2012 Oct 25 ] |
Cool ! |
Comment by Maxim Tyukov [ 2012 Oct 26 ] |
I have success in reproducing the bug. Server version
On windows: 3. Now create template and in this template: Discovery period - 120 sec |
Comment by Oleksii Zagorskyi [ 2012 Oct 26 ] |
I'll retest right now. |
Comment by Maxim Tyukov [ 2012 Oct 26 ] |
One important thing I miss, this host should be monitored by proxy. Zabbix proxy v2.0.2 (revision 29214) (31 July 2012) |
Comment by Oleksii Zagorskyi [ 2012 Oct 26 ] |
I cannot reproduce it following updated scenario with or without a proxy (active mode, btw). Just in case, the proxy is active or passive ? Also try please it once again on fresh, just created 2.0 database. |
Comment by Maxim Tyukov [ 2012 Oct 31 ] |
Zabbix proxy - active |
Comment by Oleksii Zagorskyi [ 2012 Oct 31 ] |
I don't think the DM (nodes) can be related here. We are waiting your reproduction for now. |
Comment by Christopher Ferraro [ 2013 Jan 05 ] |
I am also seeing this issue of duplicate LLD triggers for Windows file system LLD discovery. Here are my details and steps that created issue: Upgraded server to 2.0.4 from 1.8.12. Just enabled LLD after upgrading all clients to 2.0.4 Zabbix server v2.0.4 (revision 31984) (08 December 2012) c_Template_OS_Windows template has non-LLD item for vfs.fs.size[c:,pfree] Added LLD item prototypes to c_Template_OS_Windows template for: vfs.fs.size[{#FSNAME} ,total] vfs.fs.size[{#FSNAME} ,used] LLD items populated to hosts where discovered multiple drives. Got expected "Cannot create item [vfs.fs.size[C:,pfree]]: item already exists" for existing non-LLD item. Added LLD trigger prototype to c_Template_OS_Windows template for: Disabled trigger on template for vfs.fs.size[c:,pfree] (may have disabled before creating trigger prototype, but forget exact step order) Started seeing multiple triggers assigned to vfs.fs.size[c:,pfree] item Changed LLD trigger to {c_Template_OS_Windows:vfs.fs.size[{#FSNAME} ,pused] and now see all the 'pfree' triggers plus the 'pused' triggers. Majority of LLD triggers show as 'Disabled' with 'Trigger just added. No status update so far' in error. All the duplicate triggers are associated with the non-LLD item for vfs.fs.size[c:,pfree] Attached screenshot of example host triggers (HostTriggers_161.jpg), template trigger prototype (TemplateTriggerPrototype.jpg), and template XML (zbx_c_Template_OS_Windows.xml). Please let me know if more information is necessary to troubleshoot. Thanks |
Comment by Christopher Ferraro [ 2013 Jan 05 ] |
Added attachment. Example host export linked to trouble template. |
Comment by Oleksii Zagorskyi [ 2013 Jan 05 ] |
Christopher, this is a known problem and reproduced already, reported in There is one important thing - uppercase or lowercase drive letter for existing non-lld items. Disregarding that this issue has been created earlier than the |
Comment by Oleksii Zagorskyi [ 2013 Jan 05 ] |
I'm closing it as duplicate of |