[ZBXNEXT-425] Macros to return number of acknowledged events Created: 2010 Jun 22  Updated: 2010 Jul 05  Resolved: 2010 Jun 29

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: Frontend (F)
Affects Version/s: 1.8.3
Fix Version/s: 1.8.3

Type: Change Request Priority: Major
Reporter: Alexei Vladishev Assignee: richlv
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Currently we have macros that return number of unacknowledged events:

{TRIGGER.EVENTS.UNACK} {TRIGGER.EVENTS.PROBLEM.UNACK} {TRIGGER.PROBLEM.EVENTS.PROBLEM.UNACK} {TRIGGERS.UNACK} {TRIGGERS.PROBLEM.UNACK}

We should extend it so that number of acknowledged events can be returned as well:

{TRIGGER.EVENTS.ACK} {TRIGGER.EVENTS.PROBLEM.ACK} {TRIGGER.PROBLEM.EVENTS.PROBLEM.ACK} {TRIGGERS.ACK} {TRIGGERS.PROBLEM.ACK}

 Comments   
Comment by Alexey Fukalov [ 2010 Jun 28 ]

ZBXNEXT-425

!! only for map labels !!

Comment by richlv [ 2010 Jun 28 ]

1. these should be documented in http://www.zabbix.com/documentation/1.8/manual/config/macros

2. maybe an issue with missing documentation, but it looks like at least two of them do not operate correctly :

{TRIGGERS.ACK}

seems to return count of acknowledged events

{TRIGGERS.PROBLEM.ACK}

seems to return 0 even when there are acknowledged triggers in problem state.

Comment by Alexey Fukalov [ 2010 Jun 29 ]

fixed

Comment by richlv [ 2010 Jun 29 ]

macros in frontend considered working as expected in rev 13106.
for notifications serverside two new macros should be implemented :

{TRIGGER.EVENTS.ACK} {TRIGGER.EVENTS.PROBLEM.ACK}
Comment by richlv [ 2010 Jul 05 ]

confirming the server implementation in dev branch rev 13163

Comment by richlv [ 2010 Jul 05 ]

yes

Comment by Alexey Fukalov [ 2010 Jul 05 ]

branches/1.8 13187

Generated at Thu Apr 25 01:18:37 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.