[ZBX-4647] create trigger prototypes: "Cannot implode expression" Created: 2012 Feb 13  Updated: 2017 May 30  Resolved: 2012 Mar 05

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 1.9.9 (beta)
Fix Version/s: 2.0.0rc1

Type: Incident report Priority: Blocker
Reporter: Robert Jerzak Assignee: Unassigned
Resolution: Fixed Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screen shot 2012-02-13 at 16.39.54 .png     PNG File Screen shot 2012-02-13 at 16.41.44 .png    
Issue Links:
Duplicate
is duplicated by ZBX-4517 Items in discovery are not created on... Closed
is duplicated by ZBX-4731 Problem adding trigger prototype Closed

 Description   

Creating trigger prototypes cause:

ERROR: Cannot add trigger

Created: Trigger prototype "test" on "Template H".
Cannot implode expression "

{12128}

<10".

Item and trigger configuration in attachment.



 Comments   
Comment by Oleksii Zagorskyi [ 2012 Feb 14 ]

Confirmed for latest trunk revision 25374

Comment by Pavels Jelisejevs (Inactive) [ 2012 Feb 20 ]

For the record, it only happens if the trigger prototype is created on a template linked to a host.

Comment by Pavels Jelisejevs (Inactive) [ 2012 Feb 21 ]

(1) It also turns out, that trigger prototypes also suffer from ZBX-4558 and new prototypes are not inherited. Fortunately, given we've recently solved similar issues for plain triggers, the fix should be easy.

<pavels> RESOLVED.

<Vedmak> CLOSED

Comment by Pavels Jelisejevs (Inactive) [ 2012 Feb 22 ]

(2) Even more problems with LLDs. Item prototypes are not inherited from templated discoveries.

<pavels> RESOLVED.

<Vedmak> CLOSED

Comment by Pavels Jelisejevs (Inactive) [ 2012 Feb 22 ]

(3) Graph prototypes are only inherited to the direct children, deeper inheritance does not work.

<pavels> I've encountered this bug a couple of times, but I can't reproduce it on purpose. Maybe it's some kind of side effect of me messing around with the database. Still, whoever is going to test this issue, please test that as well. RESOLVED.

Comment by Pavels Jelisejevs (Inactive) [ 2012 Feb 22 ]

(4) This one is a bit tricky:
1. Created a template A with a discovery rule;
2. Link it to some host;
3. Create a new template B with a different discovery rule and link it to A;
4. At this point both rules should be properly inherited, but if you unlink A from the host, the rule from B remains on the host.

<pavels> RESOLVED.

Comment by Simon Kowallik [ 2012 Mar 04 ]

Sorry to bother you,
Is this fix already in http://www.zabbix.com/downloads/nightly/pre-zabbix-1.9.10.x-25776.tar.gz ?

Comment by richlv [ 2012 Mar 04 ]

the fix has not been finished yet, thus it is no merged to trunk. you can follow it... um, in the corresponding development branch - hopefully somebody will post a link to that branch tomorrow

Comment by Simon Kowallik [ 2012 Mar 04 ]

Thank you richlv!
I will check during this week!

Comment by Pavels Jelisejevs (Inactive) [ 2012 Mar 05 ]

The development branch is available at svn://svn.zabbix.com/branches/dev/ZBX-4647/.

Comment by Alexey Fukalov [ 2012 Mar 05 ]

(5) [GUI]
When create trigger prototype, messages says that additional normal trigger is created.

Created: Trigger prototype "trigprot2" on "tpl disc".
Created: Trigger "trigprot2" on "tpl disc".

<pavels> RESOLVED.

<Vedmak> CLOSED.

Comment by Pavels Jelisejevs (Inactive) [ 2012 Mar 06 ]

Merged to trunk r25820.

CLOSED.

Comment by richlv [ 2012 Jun 01 ]

it seems that this made api methods case sensitive. assuming that was intentional, it has not been documented anywhere.

(if it's not intentional, it should be returned back to case insensitive, of course)

reported as ZBX-5115

Generated at Fri Apr 26 19:15:07 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.