[ZBX-3754] Undefined variable in triggers.inc.php:3833, Undefined index in tr_testexpr.php:82 Created: 2011 Apr 26  Updated: 2017 May 30  Resolved: 2012 Dec 09

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 1.8.5
Fix Version/s: 1.8.16rc1, 2.0.5rc1, 2.1.0

Type: Incident report Priority: Minor
Reporter: Stefan Sabolowitsch Assignee: Unassigned
Resolution: Fixed Votes: 4
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

OS = FreeBSD8.2 on VMWare ESXi 4.1


Issue Links:
Duplicate
is duplicated by ZBX-3822 Undefined index in tr_testexpr.php Closed
is duplicated by ZBX-3866 Test trigger Closed
is duplicated by ZBX-4180 Undefined index in trigger test page Closed

 Description   

get with this trigger the following error message if i "Toggle input method".

Trigger:
(

{TRIGGER.VALUE}=0 & ({Template_Windows_German_2003:icmppingsec.avg(900)}>0.500) | ({Template_Windows_German_2003:icmppingsec.avg(300)}>0.800)) | ({TRIGGER.VALUE}

=1 & (

{Template_Windows_German_2003:icmppingsec.avg(900)}

>0.250) | (

{Template_Windows_German_2003:icmppingsec.avg(300)}

>0.350))

Error Message:
Undefined variable: result[/usr/local/www/zabbix/include/triggers.inc.php:3833]

and with option "test variables".

Error Message:
Undefined variable: result[/usr/local/www/zabbix/include/triggers.inc.php:3833]
Undefined index: c5137e17a9d80c4e26a13f0fa6e518d2[/usr/local/www/zabbix/tr_testexpr.php:82]

Reference on Forumthread:
http://www.zabbix.com/forum/showthread.php?t=21737

thx for bugfixing
Stefan



 Comments   
Comment by richlv [ 2011 Sep 29 ]

another expression that results in undefined index in the testing screen :

{Server 8:zabbix[proxy,"Proxy 9",lastaccess].fuzzytime(3m)}

=0

Comment by Alexander Vladishev [ 2012 Dec 07 ]

Fixed with ZBX-5884 in version pre-1.8.16 r31955, pre-2.0.5 r31993 and pre-2.1.0 (trunk) r31994

Generated at Fri Mar 29 00:44:45 EET 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.