[ZBX-10427] Undefined variable: hosts_with_unack_triggers Created: 2016 Feb 21  Updated: 2017 May 30  Resolved: 2016 Feb 22

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.2.11, 2.4.7, 3.0.0
Fix Version/s: 2.2.12rc1, 2.4.8rc1, 3.0.1rc2, 3.2.0alpha1

Type: Incident report Priority: Major
Reporter: Evgenii Terechkov Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: frontend, php, warning
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

zabbix-3.0.0, ALT Linux Sisyphus


Attachments: PNG File dashboard_filter.png     PNG File dashboard_warnings.png    
Issue Links:
Duplicate
is duplicated by ZBX-10430 Undefined variable: hosts_with_unack_... Closed

 Description   

After update 2.4.7->3.0.0 I see PHP warnings in dashboard (see attached screenshot).

I have dashboard filter enabled (see attached screenshot). Problem appear only when Problem display set to Unacknowledged only.

List of PHP/Zabbix-related packages:

evg@thinkpad ~ $rpm -qa|sort|egrep -i 'php|zabbix'
php5-5.6.16-alt1
php5-dom-5.6.16.20151125-alt1
php5-fpm-fcgi-5.6.16.20151125-alt1
php5-gd2-5.6.16.20151125-alt1
php5-libs-5.6.16-alt1
php5-mbstring-5.6.16.20151125-alt1
php5-mysql-5.6.16.20151125-alt1
php5-mysqli-5.6.16.20151125-alt1
php5-opcache-5.6.16.20151125-alt1.1
php5-sockets-5.6.16.20151125-alt1
php5-suhosin-0.9.38-alt5.6.16.20151125.alt1
php5-xmlrpc-5.6.16.20151125-alt1
php-base-2.7-alt3
python3-module-zabbix-api-0.3-alt2
python-module-zabbix-api-0.3-alt2
zabbix-agent-3.0.0-alt1
zabbix-agent-debuginfo-3.0.0-alt1
zabbix-agent-sudo-3.0.0-alt1
zabbix-common-3.0.0-alt1
zabbix-phpfrontend-engine-3.0.0-alt1
zabbix-server-common-3.0.0-alt1
zabbix-server-mysql-3.0.0-alt1
zabbix-server-mysql-debuginfo-3.0.0-alt1
zabbix_tool-0.1-alt4



 Comments   
Comment by Alexander Vladishev [ 2016 Feb 22 ]

This bug was introduced in ZBX-9938.

Comment by Alexander Vladishev [ 2016 Feb 22 ]

It can happen if all triggers are acknowledged and dashboard filter options "Separated" or "Unacknowledged only" are selected

Comment by Alexander Vladishev [ 2016 Feb 22 ]

(1) No translation strings changes.

iivs CLOSED

Comment by Ivo Kurzemnieks [ 2016 Feb 22 ]

TESTED

Comment by Alexander Vladishev [ 2016 Feb 22 ]

Fixed in:

  • pre-2.2.12rc1 r58628
  • pre-2.4.8rc1 r58629
  • pre-3.0.1rc1 r58630
  • pre-3.1.0 (trunk) r58631
Comment by Kazuo Ito [ 2016 Apr 21 ]

ZBX-10427 is not written to the release note of 2.2.12.
ChangeLog is also the same.

Generated at Wed Apr 24 13:33:32 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.