Greetings,
I'm trying to write out a Zabbix Agent2 Plugin in GoLang, therefore I've been looking up some tutorials and tried out some like:
Howto: https://git.zabbix.com/projects/WEB/...gins/how_to.md
Zabbix Fora: https://www.zabbix.com/forum/zabbix-...able-go-plugin
Zabbix Git: https://git.zabbix.com/projects/ZBX/.../external/test
Running above resulted in the following error:
What am I doing wrong or is there something wrong with the (int)conversion in the agent?
What Am I using:
I'm trying to write out a Zabbix Agent2 Plugin in GoLang, therefore I've been looking up some tutorials and tried out some like:
Howto: https://git.zabbix.com/projects/WEB/...gins/how_to.md
Zabbix Fora: https://www.zabbix.com/forum/zabbix-...able-go-plugin
Zabbix Git: https://git.zabbix.com/projects/ZBX/.../external/test
Running above resulted in the following error:
Code:
# zabbix_agent2 -t myip 2023/02/23 15:06:15.335351 cannot register plugins: failed to parse agent version strconv.Atoi: parsing "6.2.7": invalid syntax zabbix_agent2 [50069]: ERROR: cannot register plugins: failed to parse agent version strconv.Atoi: parsing "6.2.7": invalid syntax
What Am I using:
- Zabbix Agent2 6.2.7 (via rpm)
- CentOS Stream 9
- GoLang go1.19.4 linux/amd64
Comment