[ZBX-12848] Problem with string 'name' in trigger searching Created: 2017 Oct 09 Updated: 2024 Apr 10 Resolved: 2017 Oct 17 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 3.2.8 |
Fix Version/s: | 4.0.0alpha1, 4.0 (plan) |
Type: | Incident report | Priority: | Major |
Reporter: | Lukas S | Assignee: | Valdis Murzins |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: |
![]() ![]() ![]() |
Team: | |
Sprint: | Sprint 19 |
Story Points: | 0 |
Description |
When i try to find all triggers with name: 'name' in Monitorng -> Triggers, I get mismatched results. Same situation when I try to set string 'name' in Actions: Trigger name like: 'name' It does not work. Seems like name is reserved string or something. |
Comments |
Comment by Ingus Vilnis [ 2017 Oct 09 ] |
Please double check the configuration of triggers whether they are not using *.NAME macros. In such case the results are indeed misleading and displaying all contents matching the name criteria. |
Comment by Lukas S [ 2017 Oct 09 ] |
I have triggers like: and I have noticed problem with Actions, where i try to set: Trigger name like "DNS name" - it does not work Is there any possibility to make that string working? Where I can find an information in zabbix documentation that 'name' should not be included in trigger searching? |
Comment by Aleksejs Petrovs [ 2017 Oct 09 ] |
Hello Lukas, Could you please clarify - the condition with Trigger name like name doesn't work at all or working not as expected ? For example, Zabbix sends the notifications about the trigger which doesn't contains "name" string directly in the trigger name, but contains macro like {HOST.NAME}? Regards, |
Comment by Lukas S [ 2017 Oct 09 ] |
Hello Aleksejs, apologize for providing incomplete Information. When I set "DNS name" in the condition (Trigger name not like "DNS name"), zabbix still send me notifications about my triggers 'DNS name was changed for {HOST.NAME}'. So I checked if searching is properly in Monitoring -> Triggers. I put "DNS name" in Name and nothing happened. When I put only "DNS", strange but it worked. Please check attachment, I took screenshots. Regards, Lukasz |
Comment by Valdis Murzins [ 2017 Oct 11 ] |
lukas.sz, normally searching for trigger with name 'DNS name', when you have a trigger with name that contains 'DNS name', you should be able to find it. |
Comment by Lukas S [ 2017 Oct 17 ] |
Hi Valdis, Yeap, there was additional whitespace character, so after deleting them, searching is working now properly. I apologize for any inconvenience with this ticket, we can close it now. Thanks and regards, Lukasz |
Comment by Valdis Murzins [ 2017 Oct 18 ] |
aleksejs.petrovs, about searching within entries with unexpanded macros, we agree, that it may be more continent to search within expanded trigger name. |