[ZBXNEXT-5229] Report tags regarding VMs for vmware.vm.discovery item key Created: 2019 May 16  Updated: 2024 Apr 10  Resolved: 2022 Jul 28

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: Proxy (P), Server (S)
Affects Version/s: None
Fix Version/s: 6.2.1rc1, 6.4.0alpha1, 6.4 (plan)

Type: Change Request Priority: Trivial
Reporter: Aigars Kadikis Assignee: Michael Veksler
Resolution: Fixed Votes: 7
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Causes
causes ZBXNEXT-7953 Add a possibility to obtain tag data ... Closed
causes ZBX-21553 Currently tags can be obtained only f... Closed
Duplicate
Sub-task
part of ZBXNEXT-2043 Add functions for VMWare monitoring Closed
Team: Team B
Team: Team B
Sprint: Sprint 90 (Jul 2022)
Story Points: 5

 Description   

Please include in VMware machine discovery (discovery key: vmware.vm.discovery) the information about how hosts are marked (with tags) in vCenter.



 Comments   
Comment by Dimitri Bellini [ 2021 Oct 28 ]

Please think about this feature because could simplify a lot the template automation on VMWare environment.
Thanks

Comment by Michael Veksler [ 2022 Mar 04 ]

This proposal is included in the plan for 6.2

Comment by Michael Veksler [ 2022 Mar 28 ]

Hi dimitri.bellini ,

What info about Tags would be convenient(sufficient), for example:

1.

[
  "category_name":"tag_name1",
  "category_name":"tag_name2"
]

2.

[
  {
    "tag":"MyTag"
    "category":"MyCategory",
  },
  {
    "tag":"MyTag2"
    "category":"MyCategory",
  },
]

3.

[
  {
    "tag":"MyTag"
    "tag_description":"My Tag"
    "category":"MyCategory",
  },
  {
    "tag":"MyTag2"
    "tag_description":"My Tag 2"
    "category":"MyCategory",
  },
]

4.

[
  {
    "tag":"MyTag"
    "tag_description":"My Tag"
    "category":"MyCategory",
    "category_description":"My Category",
  },
  {
    "tag":"MyTag2"
    "tag_description":"My Tag 2"
    "category":"MyCategory",
    "category_description":"My Category",
  },
]
Comment by Dimitri Bellini [ 2022 Mar 28 ]

Hi Michael,
thanks for the development, i think could be the option number 3.
Because we can have a specific "Tag Category" for Zabbix and we can use it to filter the output inside an LLD.
Thanks so much

Comment by Michael Veksler [ 2022 Mar 28 ]

What is the usage scenario of tag_description ? (Why not 1 -  category:tag ?)

Comment by Dimitri Bellini [ 2022 Mar 29 ]

tag_description could be not so important but maybe in some scenario is still useful.
As I can understand the scenario n.1 could not be easily filtered by the LLD filter but maybe i'm wrong.
Also how you can add a tag array on a host prototype? Maybe we need something like ZBXNEXT-7581?
Thanks so much

Comment by Dimitri Bellini [ 2022 May 02 ]

Hi Michael,
do you think this feature will be released on Zabbix 6.2?
Thanks so much

Comment by Michael Veksler [ 2022 May 02 ]

I think yes, but this is most difficult feature.

Comment by Dimitri Bellini [ 2022 May 02 ]

@Michael - Thanks so much! I know is not so easy, we also have try to achieve it but without success.
I still hope to see it on 6.2

Comment by Alexei Vladishev [ 2022 May 11 ]

dimitri.bellini, we are still aiming for 6.2, stay tuned.

Comment by Dimitri Bellini [ 2022 May 11 ]

@Alexei Very good thanks so much!

Comment by Michael Veksler [ 2022 Jun 09 ]

dimitri.bellini, question about a json array with tags for some object, witch  variant is more preferable or do need more/other info ?

  1. [
      {
        "tag":"MyTag",
        "tag_description":"My Tag",
        "category":"MyCategory"
      },{
        "tag":"MyTag2",
        "tag_description":"My Tag 2",
        "category":"MyCategory"
      },
    ]
    

    or

  2. [
      {
        "tag":"MyTag",
        "category":"MyCategory"
      },{
        "tag":"MyTag2",
        "category":"MyCategory"
      },
    ]
    
Comment by Dimitri Bellini [ 2022 Jun 09 ]

Hi Michael,
I prefer option "1" seems good enough for already seen cases.
Thanks so much

Comment by Dimitri Bellini [ 2022 Jun 10 ]

Hi Michael,
do you think the TAG feature will be released on Zabbix 6.2?
Thanks so much

Comment by Alexei Vladishev [ 2022 Jun 13 ]

dimitri.bellini, the functionality will not be implemented in Zabbix 6.2, it may appear in future releases. 

Comment by Dimitri Bellini [ 2022 Jun 13 ]

@Alexei, thanks so much for the reply.
I hope to see soon because is very useful on VMWare environments when we need to "automate" some customer behaviour.
Thanks!

Comment by Alexei Vladishev [ 2022 Jun 16 ]

Just a small correction to what I already said. There is a great chance that it will be part of Zabbix 6.2.1 or even 6.2.0, it is already in development.

Comment by Dimitri Bellini [ 2022 Jun 16 ]

@Alexei,
Fantastic very good news!!!
Thanks so much for your support!

Comment by Michael Veksler [ 2022 Jul 12 ]

Available in:

Comment by Dimitri Bellini [ 2022 Aug 31 ]

Dear Michael,
as tested with your support team at the moment the Zabbix version 6.2.1 is able to fetch the VMWare Tags only starting vSphere version 7U2 (7.0.2). It seems Zabbix is not able to read the deprecated VMware REST API version.
Do you think is possible to enhance this feature also for the "old" api?
Thanks so much

Comment by Michael Veksler [ 2022 Sep 02 ]

Dear dimitri.bellini,

Technically it is not that difficult now, but I can't promise anything.

Comment by Dimitri Bellini [ 2022 Sep 05 ]

Hi Michael,
thanks so much for your feedback, we will wait
Thanks so much

Generated at Sat Apr 20 01:30:30 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.