[ZBX-24245] Uninformative error message about agent 2 and plugin protocol version mismatch Created: 2024 Mar 20  Updated: 2024 Nov 19  Resolved: 2024 Sep 07

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Agent (G), Agent2 plugin (G)
Affects Version/s: 6.0.27, 6.4.12, 7.0.0alpha9
Fix Version/s: 6.0.34rc1, 7.0.4rc1, 7.2.0alpha1

Type: Problem report Priority: Trivial
Reporter: Mihails Prihodko Assignee: Eriks Sneiders
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
Team: Team INT
Story Points: 1

 Description   

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.



 Comments   
Comment by Eriks Sneiders [ 2024 Sep 05 ]

Fixed in

Generated at Wed Apr 23 13:12:34 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.