[ZBX-15608] Widget Graph - showing trigger/problem disabled Created: 2019 Feb 06  Updated: 2024 Apr 10  Resolved: 2019 Mar 16

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 4.0.4
Fix Version/s: 4.0.6rc1, 4.2.0rc1, 4.2 (plan)

Type: Problem report Priority: Minor
Reporter: Cesar Inacio Martins Assignee: Vasily Goncharenko (Inactive)
Resolution: Fixed Votes: 0
Labels: graphwidget, widget
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File 1-create-trigger-fire-up-problem-event-disable-trigger.png     PNG File 2-modern-graph-configuration-data-set.png     PNG File 3-modern-graph-configuration-show-problems.png     PNG File 4-problem-represented-on-graph.png     JPEG File zabbix.1.JPG     JPEG File zabbix.2.JPG     JPEG File zabbix.2a.jpg     JPEG File zabbix.2b.jpg     JPEG File zabbix.3.JPG     JPEG File zabbix.3b.jpg    
Team: Team D
Sprint: Sprint 49 (Feb 2019), Sprint 50 (Mar 2019)
Story Points: 0.5

 Description   

Steps to reproduce:

  1. Create a trigger where they will get in PROBLEM state.
  2. Wait the trigger get into PROBLEM state
  3. Disable the trigger.
  4. At dashboard, add a Graph Widget , add any item and host
  5. Enable "show problem" and select the host with the trigger disabled.

Observation: the trigger origins from a template

Result:

The widget graph keep showing the trigger disabled.
See screenshot... zabbix.1.jpg : trigger disabled in PROBLEM state
See screenshot... zabbix.2.jpg : show problem enabled
See screenshot... zabbix.3.jpg : graph showing the disabled trigger
**

Expected:
Graph not show disabled triggers

 



 Comments   
Comment by Aigars Kadikis [ 2019 Feb 07 ]

Hello Cesar Inacio Martins,

Please also add a screen how you configured "add any item and host" inside the graph configuration section.

Comment by Cesar Inacio Martins [ 2019 Feb 07 ]

Hi, 

I'm attaching the screen requested. 

  • zabbix.2a.jpg : graph configuration
  • zabbix.2b.jpg : graph items configuration
  • zabbix.3b.jpg : showing the defect when "only selected items" is unchecked (in my environment).

But I would like to comment :

  • The option "Only selected items" doesn't affect directly the behave of this defect.
    I have it selected on my screen print because suits for my situation. 
  • The problem, have no relation between the host/item selected to show the graph and the host selected at the "problem" tab. 
    I tested here, even if I set Host A + items to show at the graph and Host B to show the problem, they still showing the disabled triggers from Host B (since the option "only selected items" is unchecked.
Comment by Aigars Kadikis [ 2019 Feb 08 ]

This is a bug. Let's recap the story. To reproduce the problem on Zabbix server create Zabbix trapper item "trap" with trigger:

{Zabbix server:trap.last()}>0

Reload configuration cache:

 zabbix_server -R config_cache_reload

Send trap:

zabbix_sender -z 127.0.0.1 -s "Zabbix server" -k trap -o 3

The trigger is on fire. Let's disable it:

Reload configuration to pick up latest changes:

zabbix_server -R config_cache_reload

Create a new modern graph and select a single item on host Zabbix server:

Enable Show problems option:

It shows the problem in the graph:

Comment by Vasily Goncharenko (Inactive) [ 2019 Feb 22 ]

Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-15608

Comment by Vasily Goncharenko (Inactive) [ 2019 Mar 11 ]

Fixed in:

  • 4.0.6rc1 r90861
  • 4.2.0rc1 (trunk) r90863
Generated at Wed Apr 24 00:36:08 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.