SUSE zabbix-agent2-plugin (v7.0) packages ship with wrong configuration

XMLWordPrintable

    • Type: Incident report
    • Resolution: Fixed
    • Priority: Trivial
    • None
    • Affects Version/s: 7.0.27
    • Component/s: Agent2 plugin (G)
    • None
    • Environment:
      openSUSE Leap 15.6

      The plugins ship with configuration that expects the plugins to live under

       

      /usr/sbin/zabbix-agent2-plugin/zabbix-agent2-plugin-mongodb
      /usr/sbin/zabbix-agent2-plugin/zabbix-agent2-plugin-postgresql

       

      But they are installed under 

      /usr/lib/zabbix/zabbix-agent2-plugin-mongodb
      /usr/lib/zabbix/zabbix-agent2-plugin-postgresql

       

      Steps to reproduce:

      1. zypper install zabbix-agent2 zabbix-agent2-plugins-mongodb zabbix-agent2-plugins-postgresql
      2. systemctl restart zabbix-agent2

      Result:

      zabbix_agent2 [1325]: ERROR: Cannot register plugins: failed to register metrics of plugin "MongoDB": failed to start plugin: failed to start plugin process "/usr/sbin/zabbix-agent2-plugin/zabbix-agent2-plugin-mongodb"

      zabbix_agent2[2062]: zabbix_agent2 [2062]: ERROR: Cannot register plugins: failed to register metrics of plugin "PostgreSQL": failed to start plugin: failed to start plugin process "/usr/sbin/zabbix-agent2-plugin/zabbix-agent2-plugin-postgresql"

      Expected:
      systemd[1]: Started Zabbix Agent 2

            Assignee:
            Zabbix Support Team
            Reporter:
            Erik Berg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: