[ZBX-17971] Link down trigger description problem Created: 2020 Jun 25  Updated: 2020 Jun 28

Status: Open
Project: ZABBIX BUGS AND ISSUES
Component/s: Templates (T)
Affects Version/s: 5.0.0
Fix Version/s: None

Type: Incident report Priority: Trivial
Reporter: Evren Yurtesen Assignee: Eduards Matuls (Inactive)
Resolution: Unresolved Votes: 0
Labels: description, macro, template,
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File trigger_ifcontrol actual.png     PNG File trigger_ifcontrol.png    

 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...

Generated at Fri Apr 04 17:03:51 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.