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

Uninformative error message about agent 2 and plugin protocol version mismatch

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 6.0.27, 6.4.12, 7.0.0alpha9
    • None

      When Zabbix agent 2 and a loadable plugin have different protocol versions, the error message does not specify which particular plugin caused the problem. The error message is not informative enough when multiple loadable plugins are used.

      Steps to reproduce:

      1. Confugure Zabbix agent version 6.4 or 7.0.
      2. Configure a loadable plugin version 6.0. In my case, MongoDB caused an issue and PostgreSQL had the compatible protocol version.
      3. Try to start Zabbix agent 2.

      Result:
      The error message does not specify the particular plugin.

      2024/03/20 11:40:07.138397 cannot register plugins: plugin cannot be loaded by agent using protocol version 6.0.13, the supported version is 6.4.0
      zabbix_agent2 [142624]: ERROR: cannot register plugins: plugin cannot be loaded by the agent using protocol version 6.0.13, the supported version is 6.4.0
      

       
      Expected:
      The error message should specify the particular plugin. For example, it may specify the plugin name or path to the plugin executable.

            esneiders Eriks Sneiders
            mprihodko Mihails Prihodko
            Team INT
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: