In quickstart, initialise repo #165
-
Expected BehaviorFollowing https://github.com/retigra/ZabbixCI/blob/main/docs/tutorials/quickstart.md, Possible SolutionWe need to use git init after creation of config.yaml. Steps to ReproduceFollow quickstart guide. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
|
Hi, thanks for your report. This manual step of using git init or even creating a directory should not be required. What directory and repository and you initialising manually? |
Beta Was this translation helpful? Give feedback.
-
|
Hi @mugnier102, What OS are you using ZabbixCi on? Thanks! |
Beta Was this translation helpful? Give feedback.
-
|
Here is a new attempt (WSL2 subsystem on windows 11). Then, adding more option for master branch instead of main for our gitlab instance: |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the additional information. from your post in the discussion section I presume you are using Zabbix 7.4? However this is not reflected by your provided output as that would require the Could you upgrade the zabbix-utils package to
The |
Beta Was this translation helpful? Give feedback.
-
|
Oh ! That seems to be zabbix API that don't send result on search. How can I get further ? I did update to 2.0.3 my zabbix-utils: Requirement already satisfied: zabbix_utils==2.0.3 |
Beta Was this translation helpful? Give feedback.
-
|
Hi there, thank you for the additional log output. Everything seems to be communicating correctly, but as you spotted allready the Zabbix server returns 0 templates on the I suspect that the user that your API token is bound to does not have permissions for the template group User:
After which I added the "Templates" template group to the template permissions on the "Guest" group, which made the templates available for the user to read-write. Could you take a look at the user bound to your API token, and add the "Templates" template group to the template permissions of the User group used by your API user? |
Beta Was this translation helpful? Give feedback.
Hi there, thank you for the additional log output. Everything seems to be communicating correctly, but as you spotted allready the Zabbix server returns 0 templates on the
templategroup.getAPI call.I suspect that the user that your API token is bound to does not have permissions for the template group
Templates. I was able to replicate your issue using a user with the following permissions:User:
After which I added the "Templates" template group to the template permissions on the "Guest" group, which made the templates available for…