[ZBXNEXT-1882] Zabbix trigger unacknowledge option Created: 2013 Aug 28  Updated: 2024 Apr 10  Resolved: 2020 Jun 30

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: Server (S)
Affects Version/s: None
Fix Version/s: 5.0.0rc1, 5.0 (plan)

Type: Change Request Priority: Trivial
Reporter: LEONARDO H. MACHADO Assignee: Andris Mednis
Resolution: Fixed Votes: 23
Labels: acknowledges, trigger
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: Not Specified Time Spent: Not Specified
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by ZBXNEXT-5129 Un-acknowledge problems (ack. by mist... Closed
is duplicated by ZBXNEXT-5737 Unacking an acknowledged alert Closed
is duplicated by ZBX-16305 Unacknowledge problem Closed
Sub-Tasks:
Key
Summary
Type
Status
Assignee
ZBXNEXT-5865 Frontend changes for zabbix trigger u... Specification change (Sub-task) Closed Mārtiņš Tālbergs  
Team: Team A
Sprint: Sprint 63 (Apr 2020)
Story Points: 2

 Description   

Please, every time I acknowledge an event by mistake I have to recreate the alarm. It would be so simple to be able to unack a event that I cannot imagine why it is not implemented so far.



 Comments   
Comment by Marc [ 2013 Aug 28 ]

Sounds reasonable to me.
Previous (un)acknowledges may not be affected.
Maybe it could makes sense not to allow this for everyone or every host (user type and/or group permissions?).

Comment by richlv [ 2013 Aug 28 ]

when looking into this, ability to notify on acks (a feature request) should be kept in mind. un-acking should result in some track record being kept anyway

Comment by Slash [ 2014 Aug 06 ]

I scratched my head on this, looking for a way to unack until Volker told me this was not implemented.

Ideally, users that can ack should be able to unack.

Comment by Aaron Smart [ 2015 Jan 21 ]

I think such a feature where you can un-acknowledge a trigger which will restart the action/escalation steps would be very useful. I often see users bulk acknowledge everything and erroneously ack unrelated events.

Comment by Alan Tang [ 2015 Nov 20 ]

I also looking for this function, human mistake is a issue, some event need time to solve, or wait for solution, but people may forget about the event, so if have function to remove the acknowledge and/or time out mechanism for acknowledge, it can help for these issue.

Comment by Roy Sigurd Karlsbakk [ 2019 Jun 27 ]

I've been looking for this as well. It's particularly interesting in large systems where there's a lot of sysadmins and not all agree on what's important or not. I've removed some acks from the db itself, but that's not really a clean solution. Please add this - I'd guess it shouldn't be too much work needed.

Comment by Andris Mednis [ 2020 Apr 20 ]

When testing notifications about problem update (acknowledge, unacknowledge, adding a message, changing problem severity, closing) note that the notifications are not sent to the author of update. I could not find this "business rule" in documentation.

So, to test notifications it is necessary to either create another user for receiving notifications or patch/recompile server by commenting out 2 lines like

--- a/src/zabbix_server/escalator/escalator.c
+++ b/src/zabbix_server/escalator/escalator.c
@@ -717,8 +717,8 @@ static void add_sentusers_ack_msg(ZBX_USER_MSG **user_msg, zbx_uint64_t actionid
                ZBX_DBROW2UINT64(userid, row[0]);
 
                /* exclude acknowledgement author from the recipient list */
-               if (ack->userid == userid)
-                       continue;
+//             if (ack->userid == userid)
+//                     continue;
 
                if (SUCCEED != check_perm2system(userid) || PERM_READ > get_trigger_permission(userid, event))
                        continue;
Comment by Andris Mednis [ 2020 Apr 20 ]

Available (server part) in development branch feature/ZBXNEXT-1882-4.5 (pull request).

Currently to test this feature the frontend and API changes must be taken from other development branch - feature/ZBXNEXT-5865-4.5.

Comment by Andris Mednis [ 2020 Apr 29 ]

Available in versions:

Documentation updated:

Comment by Gregory Chalenko [ 2020 Jun 29 ]

API documentation pages updated:

Generated at Thu May 02 00:45:39 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.