Skip to content
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

Can't acknowledge resolved problem #942

Closed
diogogarbinsouza opened this issue May 12, 2020 · 11 comments
Closed

Can't acknowledge resolved problem #942

diogogarbinsouza opened this issue May 12, 2020 · 11 comments

Comments

@diogogarbinsouza
Copy link

Permission Error when attempt to send acknowledge in a resolved problem
When I try to send an acknowledge to resolved problem the trigger panel show me a permission error msg:

"zabbix apI Error: Application error. No permissions to referred object or it does not exist!"

there is any troubleshooting to do ?

Expected behavior
Send Ackowledge to a resolved problem

Software versions

Grafana Zabbix Grafana-Zabbix Plugin
6.6.2 4.4.1 3.10.5
@alexanderzobnin
Copy link
Collaborator

Yes, confirmed. The most likely reason is a hardcoded API request flags - I use acknowledge event and add message. Looks like acknowledge event is not allowed for resolved problems. So I need to add options to the acknowledge dialog, like in recent Zabbix versions:

Screenshot from 2020-05-13 15-55-14

@alexanderzobnin alexanderzobnin changed the title Acknowledge on resolved Problem Can't acknowledge resolved Problem May 13, 2020
@alexanderzobnin alexanderzobnin changed the title Can't acknowledge resolved Problem Can't acknowledge resolved problem May 13, 2020
@alexanderzobnin alexanderzobnin added this to the 3.12 milestone May 13, 2020
@diogogarbinsouza
Copy link
Author

Thank you so much for your reply, in this case there is nothing that I can do, correct ? Sad cause I've been work on a monitoring project that must force an human action to any problem even if it was resolved.

Once again thank you, if you have any suggestion please contact me

@alexanderzobnin
Copy link
Collaborator

@diogogarbinsouza yes, that's a bug in the plugin, so just wait for the next version, it should be fixed.

@alexanderzobnin
Copy link
Collaborator

Acknowledge dialog was updadted. Now it's possible to select ask actions:

Screenshot from 2020-05-18 19-48-19

@diogogarbinsouza
Copy link
Author

thank you so much

@diogogarbinsouza
Copy link
Author

Sorry but I am begginer with github, I just need to copy these files and change in my local server ?

@diogogarbinsouza
Copy link
Author

I reinstalled the API and even can't reproduce the window above, can you help me ?

@alexanderzobnin
Copy link
Collaborator

This update wasn't released yet. So just wait few days for the plugin relase (3.12) and then update with grafana-cli.

@diogogarbinsouza
Copy link
Author

so sorry, thank you

@Vitaliy155
Copy link

@alexanderzobnin I use version 4.2.2 but still have error.
I checked this bug on your demo zabbix and got error as well
https://play.grafana-zabbix.org/d/000000024/problems?orgId=2

Screenshot 2021-09-10 170939

@alexanderzobnin
Copy link
Collaborator

It's because I use read-only user for API connection. So it does not have permissions to close problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants