[ZBXNEXT-9494] Zabbix agent 2 ember plugin does not recognize matrixes Created: 2024 Sep 04  Updated: 2025 Mar 12

Status: Reopened
Project: ZABBIX FEATURE REQUESTS
Component/s: Agent2 plugin (G)
Affects Version/s: 6.0.34rc1, 7.0.4rc1, 7.2.0alpha1
Fix Version/s: None

Type: New Feature Request Priority: Trivial
Reporter: Eriks Sneiders Assignee: Eriks Sneiders
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Ember+_1.png     PNG File Ember+_2.png     PNG File Ember+_3.png    
Team: Team INT
Sprint: Prev.Sprint, S24-W36/37
Story Points: 2

 Description   

Steps to reproduce:

  1. Set up Zabbix agent 2
  2. Set up ember plus plugin
  3. Set up ember device with matrix data
  4. Execute any get request that returns matrix data

Result:
Invalid type error
Expected:
See result.



 Comments   
Comment by Cristobal [ 2024 Oct 18 ]

Hi.
I have the same problem with the BlackMagic Multiview 4 device. It only returns the main tree.

Comment by Cristobal [ 2024 Oct 18 ]

his record also appears in the log file of the zabbix agent2:

2024/10/08 11:51:13.988232 [EmberPlus] dropping message in the middle of a multipacket read 60806b80a0806980a0080d06040116876866a1803180a205090380055b000000000000000000000000

Comment by Cristobal [ 2024 Oct 18 ]

Return:

ember.get[X.X.X.X:9000,1]               [m|ZBX_NOTSUPPORTED] [timeout occurred]

Comment by Cristobal [ 2024 Oct 21 ]

The problem may be in the format of the JSON file that is returned.

ember.get[X.X.X.X:9000]                 s

ember.get[X.X.X.X:9000,6]               [m|ZBX_NOTSUPPORTED] [Failed to execute handler: handler failed: failed to handle request: failed to find element, err Failed to read Ember+ response: failed to read from connection: EOF.: element not found.]

SEE IMAGE UP

Comment by Cristobal [ 2024 Oct 24 ]

I think the source code for element.go needs to be modified. If I can help, please let me know.

Comment by Cristobal [ 2024 Dec 03 ]

This plugin only works with PowerCore machines. With machines that have a different tree structure and different variable types, this plugin fails.

Comment by Cristobal [ 2025 Jan 07 ]

Hi, I've tried the new modifications, but I still can't see the whole tree.   Thank you.

Comment by Cristobal [ 2025 Jan 08 ]

Response from zabbix front-end when I run ember.get:

Failed to execute handler: handler failed: failed to handle request: failed to find element, err Failed to read Ember+ response: failed to read from connection: EOF.: element not found.

ember.get[X.X.X.X:9000,7.3]

Comment by Cristobal [ 2025 Jan 29 ]

Hi, I've tried the new modifications, but I still can't see the whole tree.   Thank you.

Comment by Cristobal [ 2025 Mar 12 ]

I think that until the structure is modified, it will only work on PowerCore machines.

Generated at Wed Apr 23 17:28:11 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.