[ZBX-17971] Link down trigger description problem Created: 2020 Jun 25  Updated: 2026 Apr 27  Resolved: 2026 Apr 27

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Templates (T)
Affects Version/s: 5.0.0
Fix Version/s: 7.0.26rc1, 7.4.10rc1, 8.0.0beta1 (master)

Type: Problem report Priority: Trivial
Reporter: Evren Yurtesen Assignee: Aleksejs Abrosimovs
Resolution: Fixed Votes: 0
Labels: description, macro, template,
Remaining Estimate: Not Specified
Time Spent: 40.5h
Original Estimate: Not Specified

Attachments: PNG File trigger_ifcontrol actual.png     PNG File trigger_ifcontrol.png    
Sprint: Support backlog
Story Points: 1

 Description   

Steps to reproduce:

  1. Change state of the link of an SNMP monitored switch to down. `Template Module Interfaces Simple SNMPv2` should be applied.

Result:

The trigger description (amongst other info):

 1=1 - user can redefine Context macro to value - 0. That marks this interface as not important. No new trigger will be fired if this interface is down.

Expected:
I expected to see something else than 1=1. Perhaps the name of the macro to be defined! Eg.

{$IFCONTROL:"{#IFNAME}"}=1 - user can redefine Context macro to value - 0. That marks this interface as not important. No new trigger will be fired if this interface is down.

 

It is somewhat a cosmetic error but I was confused to see 1=1 in the error when I saw this message first time.  Is it not possible to escape variables in description so Zabbix won't evaluate them?



 Comments   
Comment by Eduards Matuls (Inactive) [ 2020 Jun 26 ]

Hello!

Thank you for reporting the issue!

Can you please attach a screenshot of trigger configuration?

Regards,
Eduards

Comment by Evren Yurtesen [ 2020 Jun 28 ]

@Eduards Matuls sure, it is the default trigger prototype which ships with zabbix. I am attaching both the trigger prototype screenshot and also what it prints when there is a problem...

Comment by Aleksejs Abrosimovs [ 2026 Apr 24 ]

Fixed in:

Generated at Sun May 10 18:24:33 EEST 2026 using Jira 10.3.18#10030018-sha1:5642e4ad348b6c2a83ebdba689d04763a2393cab.