We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug I can't find any documentation on how to set up authentication to zabbix using the api token in the yaml datasource.
Expected behavior Set api token and authenticate as with username/password.
Software versions
Description From version [4.4.0] - 2023-08-17 is implemented this feature: Able to use API tokens for authentication, #1513
grafana-zabbix/CHANGELOG.md
Line 124 in 0355f40
So Im able to set it via the grafana web ui. But Im failing to do it via datasource yaml file. I cannot find any documentation about this, in official one https://grafana.com/docs/plugins/alexanderzobnin-zabbix-app/latest/configuration/provisioning/ is descried only basic one username/password. So only thing I found is this commit: ab528e2 and there I found in src/datasource/type.ts value apitoken:
Please do you have some advice?
This is not working:
apiVersion: 1 datasources: - name: Zabbix type: alexanderzobnin-zabbix-datasource url: https://myzabbix.url/api_jsonrpc.php access: proxy jsonData: apitoken: 123456789abcdefghij secureJsonData: apitoken: 123456789abcdefghij
But this works well on the same server:
apiVersion: 1 datasources: - name: Zabbix type: alexanderzobnin-zabbix-datasource url: https://myzabbix.url/api_jsonrpc.php access: proxy jsonData: username: myuser secureJsonData: password: mypassword
The text was updated successfully, but these errors were encountered:
it is in the secureJsonData with a capital T apiToken.
apiToken
Sorry, something went wrong.
Is authType: token also necessary?
authType: token
it is, yes.
No branches or pull requests
Describe the bug
I can't find any documentation on how to set up authentication to zabbix using the api token in the yaml datasource.
Expected behavior
Set api token and authenticate as with username/password.
Software versions
Description
From version [4.4.0] - 2023-08-17 is implemented this feature:
Able to use API tokens for authentication, #1513
grafana-zabbix/CHANGELOG.md
Line 124 in 0355f40
So Im able to set it via the grafana web ui. But Im failing to do it via datasource yaml file. I cannot find any documentation about this, in official one https://grafana.com/docs/plugins/alexanderzobnin-zabbix-app/latest/configuration/provisioning/ is descried only basic one username/password.
So only thing I found is this commit: ab528e2 and there I found in src/datasource/type.ts value apitoken:
Please do you have some advice?
This is not working:
But this works well on the same server:
The text was updated successfully, but these errors were encountered: