[ZBXNEXT-6797] hostmetadataitem more than 255 characters Created: 2021 Jul 23  Updated: 2024 Apr 10  Resolved: 2022 Sep 13

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: Agent (G), Server (S)
Affects Version/s: 5.4.3
Fix Version/s: 6.4.0alpha1, 6.4 (plan)

Type: Change Request Priority: Trivial
Reporter: Dimitri Bellini Assignee: Mihails Prihodko
Resolution: Fixed Votes: 0
Labels: agent, metadata
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File screenshot-1.png    
Issue Links:
Duplicate
duplicates ZBXNEXT-6222 Increase length for HostMetadata Closed
Team: Team B
Sprint: Sprint 90 (Jul 2022), Sprint 91 (Aug 2022), Sprint 92 (Sep 2022)
Story Points: 2

 Description   

The agent parameter "hostmetadataitem" could be useful to detect installed software during the "auto-Registration" process.
At the moment is limited to only 255 characters, could be nice to extend to 4096 or more.
Thanks



 Comments   
Comment by Alexei Vladishev [ 2022 Jul 10 ]

It is very similar to ZBXNEXT-6222

 

<mprihodko> ZBXNEXT-6222 was closed as a duplicate.

Comment by Alexander Vladishev [ 2022 Jul 22 ]

dimitri.bellini, Could you please describe a use case for this functionality? Do we need to expand the field in the action conditions or leave it as it is - 255 characters?

Comment by Dimitri Bellini [ 2022 Jul 22 ]

Hi Alexander,
thanks for the question!
I real use case is coming from one of our customer.
VMWare environment with 3k Vms using the latest VMWare integration on Zabbix 6.0 (and above) we can have a single Host that reppresent a VM with some Items coming from the VMWare monitoring and some other from the Zabbix Agent (better with Agent2) in Active mode (WMVare FQDN Template).
Now how we can link the right Application template to all VMs? If we can use a Processes Discovery or if we can use something like "system.sw.packages" or a dedicated wmi.get we can forward this information on hostmetadataitem and during the Auto-registration link the right Software/Application template (MySQL/Oracle/Apache/Etc..).
Maybe is not the "cleanest" solution to achieve this purpose but is what we can have for now with a small "change"
Best regards and thanks for your work

PS: Is something similar to the Zabbix 7.0 roadmap topic "Next-generation discovery of services and applications"

Comment by Alexander Vladishev [ 2022 Jul 26 ]

Then I see no reason to increase the size of the condition field in the auto-registration action. Most likely, the "contains" operator will be used here.

Comment by Dimitri Bellini [ 2022 Jul 26 ]

@alexander I do not know if there is no need to extend the "condition field" in auto-registration form, How much it is bigger now?

From Agent side there is a limit of 255 characters? If yes, could be useful to extend it

Thanks so much

Comment by Alexander Vladishev [ 2022 Aug 09 ]

The condition field is currently limited to 255 characters. I think this will be enough.

Comment by Mihails Prihodko [ 2022 Sep 12 ]

Available in

Comment by Martins Valkovskis [ 2022 Sep 13 ]

Updated documentation:

Generated at Fri Apr 18 08:06:01 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.