[ZBX-13535] SNMP Interface Templates have bad default macro {$IF_ERRORS_WARN} Created: 2018 Feb 25  Updated: 2024 Apr 10  Resolved: 2018 Apr 19

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Templates (T)
Affects Version/s: 3.4.7
Fix Version/s: 3.4.9rc1, 4.0.0alpha6, 4.0 (plan)

Type: Problem report Priority: Trivial
Reporter: Ivo Burkart Assignee: Vitaly Zhuravlev
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by ZBX-13128 Template Module Interfaces: High erro... Closed
Team: Team A
Sprint: Sprint 30, Sprint 31, Sprint 32
Story Points: 0.25

 Description   

Steps to reproduce:

  • Use the Template "Template Module Interfaces Simple SNMPv2"
  • Have the Trigger "Network Interfaces Discovery: Interface wifi0: High error rate" triggered
  • Resolve Trigger source (Error rate = 0)

Result:

  • Trigger will not resolve

Expected:

  • Trigger should resolve

Analysis:
{$IF_ERRORS_WARN} is set to 2, which results in the resolve expression "errors<0" which never happens



 Comments   
Comment by Vitaly Zhuravlev [ 2018 Apr 11 ]

Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-13535:
Changed recovery expression to:

{Template Module Interfaces Windows SNMPv2:net.if.in.errors[ifInErrors.{#SNMPINDEX}].avg(5m)}<{$IF_ERRORS_WARN:"{#IFNAME}"}*0.8
and {Template Module Interfaces Windows SNMPv2:net.if.out.errors[ifOutErrors.{#SNMPINDEX}].avg(5m)}<{$IF_ERRORS_WARN:"{#IFNAME}"}*0.8
Comment by Alexander Vladishev [ 2018 Apr 19 ]

Fixed in:

  • 3.4.9rc1 r79870
  • 4.0.0alpha6 r79881
Generated at Sun Jun 29 06:13:52 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.