[ZBX-11359] Cannot acknowledge problem: event is not in PROBLEM state. Created: 2016 Oct 14  Updated: 2017 May 30  Resolved: 2016 Nov 30

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 3.2.1
Fix Version/s: 3.2.2rc1, 3.4.0alpha1

Type: Incident report Priority: Trivial
Reporter: Vitaly Yarnov Assignee: Unassigned
Resolution: Fixed Votes: 1
Labels: acknowledgements
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu


Attachments: JPEG File 1.jpg     JPEG File 2.jpg     JPEG File 3.jpg     JPEG File 4.jpg     JPEG File 5.jpg    

 Description   

Hello.

There is an issue in attachment.

The issue has status PROBLEM.

I want to set in acknowledgement form a comment and click a button Acknowledge but get error.

Help me please.



 Comments   
Comment by Aleksandrs Saveljevs [ 2016 Oct 17 ]

Do you get this for all PROBLEM events? If not, is there anything special about those PROBLEM events? For instance, could it be that trigger already became OK while you were acknowledging it?

Comment by Vitaly Yarnov [ 2016 Oct 18 ]

Hello. No I had only 3 problems several days ago . Two problems I closed. I changed settings devices and problems were true in real. Then I fixed settings and events disappeared.

Only one problem is true now.

Comment by Aleksandrs Saveljevs [ 2016 Oct 18 ]

So you have one trigger in PROBLEM state right now? If you try to acknowledge it, does it complain about event not being in the PROBLEM state as in "2.jpg"? If so, could you please post a screenshot of that trigger in "Monitoring" -> "Triggers" with "Events" = "Show all (7 days)" and "Show details" checked?

Comment by Vitaly Yarnov [ 2016 Oct 18 ]

So you have one trigger in PROBLEM state right now? YES
If you try to acknowledge it, does it complain about event not being in the PROBLEM state as in "2.jpg"? YES

4.jpg

Comment by Aleksandrs Saveljevs [ 2016 Oct 18 ]

It seems that your trigger is in PROBLEM state, but has no PROBLEM events - only OK events.

Thus, the error message is correct and expected, but there is now a different question - how can a PROBLEM trigger have only OK events?

Comment by richlv [ 2016 Oct 18 ]

maybe if the problem event is old enough for the housekeeper to have removed it ?

Comment by Aleksandrs Saveljevs [ 2016 Oct 18 ]

But then OK events should be even older, shouldn't they?

Comment by richlv [ 2016 Oct 18 ]

yes, unless they were generated in one of those weird/wrong ways out of sequence (ZBX-9432 etc)

Comment by Aleksandrs Saveljevs [ 2016 Oct 18 ]

Vitaly, do you often get such out of sequence events in your installation?

Comment by Vitaly Yarnov [ 2016 Oct 18 ]

I'm not sure that I undestand you.

There were two problems.
This is first problem. How can you see this problem lives 12 days.There are lastest data's values on picture 5.jpg

Comment by Natalja Romancaka [ 2016 Oct 18 ]

Can helps for solving issue. Scenario how to get message as in 2.jpg, if trigger is in PROBLEM state
1. Create trigger, set "PROBLEM event generation mode" to Multiple
2. Make trigger in problem state and generate 3 problem events
3. Change trigger "PROBLEM event generation mode" to Single
4. Manual close 2 last problem events
5. Go to Monitoring->Triggers
6. Open acknowledgement form of the required trigger, enter comment and submit
Result: trigger in problem state, but message "Cannot acknowledge problem: event is not in PROBLEM state. "

Comment by Vitaly Yarnov [ 2016 Oct 20 ]

Hello.

Yesterday I turned off that trigger and changed trigger to Multiple and I enabled that trigger

Then I turned off that trigger and changed trigger to Single and I enabled that trigger.

Now trigger is working OK.

Comment by Gunars Pujats (Inactive) [ 2016 Oct 31 ]

(1) No translation strings changed

iivs CLOSED

Comment by Gunars Pujats (Inactive) [ 2016 Oct 31 ]

RESOLVED in development branch svn://svn.zabbix.com/branches/dev/ZBX-11359

Comment by Ivo Kurzemnieks [ 2016 Nov 11 ]

(2) Please, return the checkbox and link to acknowledgements in trigger list, like we discussed.

gunarspujats RESOLVED in r63914

iivs CLOSED

Comment by Ivo Kurzemnieks [ 2016 Nov 24 ]

(3) In order for main checkbox in list views to work, we use automatic form detection using $form->getName(). This is intentional, so we don't have to keep track of the name when we decide to change it. Now the name in tr_status.php is hardcoded. That's not good. I would suggest to rever the main code refactoring for the form and keep it as a simple bug fix.

gunarspujats RESOLVED in r63977

iivs CLOSED

Comment by Ivo Kurzemnieks [ 2016 Nov 24 ]

(4) Annoying naming in variables:

$ack_checkbox
$ackColumn

gunarspujats RESOLVED in r63976

iivs CLOSED

Comment by Ivo Kurzemnieks [ 2016 Nov 24 ]

TESTED

Comment by Gunars Pujats (Inactive) [ 2016 Nov 24 ]

Fixed in:

  • pre-3.2.2rc1 r63998
  • pre-3.3.0 (trunk) r63998
Comment by Alexander Vladishev [ 2016 Nov 24 ]

(5) "Undefined index" error on Monitoring->Triggers page with selected "Show details"

Undefined index: recovery_expression [ in tr_status.php:285]

gunarspujats RESOLVED in r63998

iivs CLOSED

Comment by Natalja Romancaka [ 2016 Nov 24 ]

(6) The same message "Cannot acknowledge problem: event is not in PROBLEM state. " on page Monitoring->Overview

gunarspujats RESOLVED in r64023

natalja.zabbix still left in Monitoring→Screens (with Host group issues, Host issues, System status and Triggers overview elements) and Monitoring→Dashboard (Last 20 issues and System status widgets)

gunarspujats RESOLVED in r64091

natalja.zabbix ui tested

gunarspujats Discussed with sasha, moved to ZBX-11538

CLOSED

Generated at Thu Apr 18 05:49:44 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.