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

Error when attempting to acknowledge problems in Zabbix 4.0 #629

Closed
1 of 3 tasks
rmudingay opened this issue Oct 8, 2018 · 20 comments
Closed
1 of 3 tasks

Error when attempting to acknowledge problems in Zabbix 4.0 #629

rmudingay opened this issue Oct 8, 2018 · 20 comments

Comments

@rmudingay
Copy link

rmudingay commented Oct 8, 2018

I'm submitting a ...

  • Bug report
  • Feature request
  • Question / Support request

If you don't send bug report, remove sections below

For bug report please include this information:

Software Versions

Grafana Zabbix Grafana-Zabbix Plugin
5.2.4 4.0.0 3.9.1

What did you do?

Upgrade Zabbix from version 3.4 to version 4.0.0. Previously able to acknowledge problems in Grafana. This is no longer the case. When attempting to acknowledge a problem, Grafana spews out

"Zabbix API Error
Incorrect arguments passed to function."

What was the expected result?

The expected result is for the acknowledgement text to be sent to Zabbix.

What happened instead?

Encountered rrror message
"Zabbix API Error
Incorrect arguments passed to function."

Javascript error console
screen shot 2018-10-08 at 19 38 35

Encountered the following error message
screen shot 2018-10-08 at 19 41 09

@alexanderzobnin alexanderzobnin changed the title Zabbix API Error Incorrect arguments passed to function when attempting to acknowledge problems. Error when attempting to acknowledge problems in Zabbix 4.0 Oct 15, 2018
@alexanderzobnin
Copy link
Collaborator

Yes, in Zabbix API 4.0 action became a required field, so I have to pass it in all cases.

@alexanderzobnin alexanderzobnin added this to the 3.10 milestone Oct 18, 2018
@glardz
Copy link

glardz commented Oct 19, 2018

hello Alexander,

i have the same problem, i have the error

Zabbix API Error
Incorrect arguments passed to function.

i tried to close

image

but i have this message

image

thanks for your answer

@alexanderzobnin
Copy link
Collaborator

Fixed. To get this working you have to update datasource config and set proper Zabbix version (plugin will try to autodetect it, so just ensure that set to your version and save datasource):

screenshot from 2018-10-21 12-15-13

@rmudingay
Copy link
Author

@alexanderzobnin thank you for the fix and your reactivity, much appreciated.

@glardz
Copy link

glardz commented Oct 22, 2018

hello Alexander,

thanks for reply, i don't have Zabbix version section for put the version.

image

image

@glardz
Copy link

glardz commented Oct 22, 2018

i have a problem too with the sharing dashboard :
image

@glardz
Copy link

glardz commented Oct 22, 2018

and this message when i put last 30 days in the sharing dashboard

image

@alexanderzobnin
Copy link
Collaborator

alexanderzobnin commented Oct 22, 2018

@glardz this change is not released yet. In order to try this, you should run plugin from master branch.
https://github.com/alexanderzobnin/grafana-zabbix/blob/master/docs/sources/installation/run_from_master.md

@glardz
Copy link

glardz commented Oct 22, 2018

thanks Alexander for reply, can you give me the instruction for install with yarn please.

@alexanderzobnin
Copy link
Collaborator

You can find instructions in the docs I linked for.

@glardz
Copy link

glardz commented Oct 23, 2018

yes i saw the instruction, but when i do yarn watch that freezing

image

@alexanderzobnin
Copy link
Collaborator

@glardz use yarn build instead. yarn watch is waiting for file changes.

@glardz
Copy link

glardz commented Oct 23, 2018

i have this message

image

@glardz
Copy link

glardz commented Oct 23, 2018

with command yarn test

image

@glardz
Copy link

glardz commented Oct 23, 2018

and with command yarn jest

image

@alexanderzobnin
Copy link
Collaborator

Plugin was successfully built, you don't need test and jest commands in this case.

@glardz
Copy link

glardz commented Oct 24, 2018

hello Alexander,
what command i need to run the plugin, thanks

@glardz
Copy link

glardz commented Oct 25, 2018

hello Alexander,

what command i need to implement the new version of grafana zabbix plugin, for now i am here

image

@glardz
Copy link

glardz commented Oct 26, 2018

i updated with command grafana-cli plugins update grafana-zabbix-c73078d1fbc524aa2773560e42b9e73d9302b3a7 and this command grafana-cli plugins install alexanderzobnin-zabbix-app after i restart but i see this

image

and not your window with zabbix version

image

@glardz
Copy link

glardz commented Oct 31, 2018

and direct DB connection don't work

image

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