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

Zabbix Agent 2 with MySQL plugin crashes after update from 5.0.3 to 5.0.4

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Trivial Trivial
    • None
    • 5.0.4
    • Agent2 plugin (N)
    • None
    • Sprint 68 (Sep 2020), Sprint 69 (Oct 2020), Sprint 70 (Nov 2020)

      Zabbix Agent 2 MySQL plugin configuration does not work anymore after upgrading from 5.0.3 to 5.0.4.

      Steps to reproduce:

      Zabbix Agent 2 configuration:

      /etc/zabbix/zabbix_agent2.d/additional.conf

      Plugins.Mysql.Uri=unix:/run/mysqld/mysqld.sock
      Plugins.Mysql.User=zabbix-agent
      Plugins.Mysql.Password=password
      

      Result:

      Zabbix Agent 2 fails with error:

      ERROR: cannot create scheduling manager: invalid plugin Mysql configuration: Cannot assign configuration: invalid parameter Plugins.Mysql.Uri at line 13: unknown parameter
      

      Expected:

      Before upgrading to Zabbix Agent 2 5.0.4 (and after downgrading back to 5.0.3) the configuration did work. It is unexpected that a bugfix release contains breaking changes.

      Full Log:

      2020/09/29 13:41:32.421431 Starting Zabbix Agent 2 [hostname]. (5.0.4)
      2020/09/29 13:41:32.421951 OpenSSL library (OpenSSL 1.1.1f  31 Mar 2020) initialized
      2020/09/29 13:41:32.422111 using configuration file: /etc/zabbix/zabbix_agent2.conf
      2020/09/29 13:41:32.422528 using plugin 'Agent' providing following interfaces: exporter
      2020/09/29 13:41:32.422546 using plugin 'Cpu' providing following interfaces: exporter, collector, runner
      2020/09/29 13:41:32.422552 using plugin 'Docker' providing following interfaces: exporter, configurator
      2020/09/29 13:41:32.422561 using plugin 'File' providing following interfaces: exporter, configurator
      2020/09/29 13:41:32.422565 using plugin 'Kernel' providing following interfaces: exporter
      2020/09/29 13:41:32.422569 using plugin 'Log' providing following interfaces: exporter, configurator
      2020/09/29 13:41:32.422581 using plugin 'Memcached' providing following interfaces: exporter, runner, configurator
      2020/09/29 13:41:32.422594 using plugin 'Mysql' providing following interfaces: exporter, runner, configurator
      2020/09/29 13:41:32.422599 using plugin 'NetIf' providing following interfaces: exporter
      2020/09/29 13:41:32.422603 using plugin 'Oracle' providing following interfaces: exporter, runner, configurator
      2020/09/29 13:41:32.422623 using plugin 'Postgres' providing following interfaces: exporter, runner, configurator
      2020/09/29 13:41:32.422630 using plugin 'Proc' providing following interfaces: exporter, collector
      2020/09/29 13:41:32.422633 using plugin 'Redis' providing following interfaces: exporter, runner, configurator
      2020/09/29 13:41:32.422638 using plugin 'SystemRun' providing following interfaces: exporter, configurator
      2020/09/29 13:41:32.422642 using plugin 'Systemd' providing following interfaces: exporter
      2020/09/29 13:41:32.422647 using plugin 'TCP' providing following interfaces: exporter, configurator
      2020/09/29 13:41:32.422655 using plugin 'UDP' providing following interfaces: exporter, configurator
      2020/09/29 13:41:32.422659 using plugin 'Uname' providing following interfaces: exporter
      2020/09/29 13:41:32.422662 using plugin 'Uptime' providing following interfaces: exporter
      2020/09/29 13:41:32.422674 using plugin 'UserParameter' providing following interfaces: exporter
      2020/09/29 13:41:32.422681 using plugin 'VFSDev' providing following interfaces: exporter, collector
      2020/09/29 13:41:32.422691 using plugin 'VfsFs' providing following interfaces: exporter
      2020/09/29 13:41:32.422696 using plugin 'Web' providing following interfaces: exporter, configurator
      2020/09/29 13:41:32.422700 using plugin 'ZabbixAsync' providing following interfaces: exporter
      2020/09/29 13:41:32.422705 using plugin 'ZabbixStats' providing following interfaces: exporter, configurator
      2020/09/29 13:41:32.422712 using plugin 'ZabbixSync' providing following interfaces: exporter
      zabbix_agent2 [1121533]: ERROR: cannot create scheduling manager: invalid plugin Mysql configuration: Cannot assign configuration: invalid parameter Plugins.Mysql.Uri at line 13: unknown parameter
      

            vadimipatov Vadim Ipatov
            hans.baum Hans Baum
            Team INT
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: