Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-22422

GoLang External Plugin strconv.Atoi Error

XMLWordPrintable

    • Sprint 98 (Mar 2023), Sprint 99 (Apr 2023), Sprint 100 (May 2023), Sprint 101 (Jun 2023), Sprint 102 (Jul 2023), Sprint 103 (Aug 2023), Sprint 104 (Sep 2023), Sprint 105 (Oct 2023)
    • 0.5

      Steps to reproduce:

      1. Follow the How To Steps on link How To.md
      2. Run the command zabbix_agent2 -t myip
      3. Get strconv.Atoi parse Error

      Result:

      # 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​ 

      Expected:
      Get the external IP Address via the External Plugin

      Additional Information:

      I've tested several guides on how to create a Plugin in GoLang.
      All Guides resulted in the same error.
      Used Sites:

      Agent without the Plugin works just fine.
      Agent is installed via the rpm.

            esneiders Eriks Sneiders
            MvandeG Maurice van de Graaf
            Team INT
            Votes:
            5 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated:
              Resolved: