-
Notifications
You must be signed in to change notification settings - Fork 458
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Triggers: acknowledged filter doesn't work #985
Comments
My guess is that it incorrectly queries Zabbix. For unacknowledged alerts, the query should include "Acknowledged=0", for acknowledged -- "Acknowledged=1", and for all triggers - nothing. You can see this at the demo dashboard https://play.grafana-zabbix.org/d/000000024/problems?orgId=2 |
HI! Can you check this issue in latest plugin version? |
Hello @alexanderzobnin! There is no difference. Software versions
|
Yes, confirmed: this bug still present. In this mode filters work as expected. |
Something I noticed recently: I was considering the filled chat bubble as an acknowledged problem and the clear one as unacknowledged. Turns out the filled/unfilled only tells you the problem has COMMENTS in it, not necessarily the "Acknowledge" checkbox was checked. This assumptions came from the fact in previous version there were not such checkbox. A comment was an acknowledge. But today we have the option to just add a comment without acknowledging it and even change problem severity. Maybe there is room for UI improvement here (with different icons for ack/comments and ack checkbox defaults to checked) but I can confirm the filter is working properly for ack'ed/unack'ed problems. |
Hi, For Grafana 8.3.7 and plugin 4.2.5 I haved the same issue. After looking in the code, I edited line 351 in query.editor.html And added line acknowledged?: '1' | '0'; in interface ZBXTrigger in type.ts file After rebuild plugin, filter works again. Regards |
Hi @alexanderzobnin, can you put into next release correction on query.editor.html file --> replace ng-model="ctrl.target.options.acknowledged" by ng-model="ctrl.target.triggers.acknowledged" and add line acknowledged?: '1' | '0'; in interface ZBXTrigger in type.ts file? Thanks in advance! |
any help or suggest for this case ? |
I think I fixed it during the refactoring, so let's check how it works after release. |
Describe the bug
In the query editor (Triggers mode), Acknowledged filter doesn't change anything(I know that 20 from 23 problems are acknowleged).
Expected behavior
Only acknowledged or unacknowledged triggers.
Screenshots
Software versions
The text was updated successfully, but these errors were encountered: