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

Zabbix Agent 2 crashes when using ember.get key with / path

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 6.0.43rc1, 7.0.22rc1, 7.2.15rc1, 7.4.6rc1, 8.0.0alpha2 (master)

      Zabbix Agent 2 crashes when using ember.get key with / path.

      Steps to reproduce:
      1. Install Zabbix Agent 2 with EmberPlus plugin enabled.

      Browse Zabbix Agent 2 Plugins / Ember Plus - ZABBIX GIT

      2. On the Zabbix frontend, create an item of type “Zabbix agent” or “Zabbix agent (active)” with key with /, f.e.: ember.get[127.0.0.1:9998,/]

      3. Start Agent2.

      4. Observe the agent log.

      Result:

      The Agent2 crashes with:

      * panic: Plugin exited unexpectedly: exit status 2.
      * 
      * goroutine 69 [running]:
      * golang.zabbix.com/agent2/plugins/external.(*Plugin).Configure.func1()
      *     C:/Users/ZABBIX/build-agents-dev-windows-amd64/zabbix-8.0.0alpha2/src/go/plugins/external/plugin.go:332 +0x48
      * created by golang.zabbix.com/agent2/plugins/external.(*Plugin).Configure in goroutine 40
      *     C:/Users/ZABBIX/build-agents-dev-windows-amd64/zabbix-8.0.0alpha2/src/go/plugins/external/plugin.go:326 +0x78
      

      Expected:
      The item should be marked as unsupported, but without crashing the agent process.

            zabbix.dev Zabbix Development Team
            jiljina Juliana Iljina
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: