[ZBXNEXT-2072] Add host interfaces to Host Prototype Created: 2013 Dec 15 Updated: 2024 Apr 10 Resolved: 2020 Nov 01 |
|
Status: | Closed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | API (A), Frontend (F), Server (S) |
Affects Version/s: | 2.2.1 |
Fix Version/s: | 5.2.0beta2, 5.2 (plan) |
Type: | New Feature Request | Priority: | Major |
Reporter: | Grzegorz Grabowski | Assignee: | Ivo Kurzemnieks |
Resolution: | Fixed | Votes: | 63 |
Labels: | agent, hostprototypes, server | ||
Σ Remaining Estimate: | Not Specified | Remaining Estimate: | Not Specified |
Σ Time Spent: | Not Specified | Time Spent: | Not Specified |
Σ Original Estimate: | Not Specified | Original Estimate: | Not Specified |
Environment: |
CentoOS 6 |
Attachments: |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
||||||||||||||||||||||||||||
Issue Links: |
|
||||||||||||||||||||||||||||
Sub-Tasks: |
|
||||||||||||||||||||||||||||
Team: | |||||||||||||||||||||||||||||
Sprint: | Sprint 66 (Jul 2020), Sprint 67 (Aug 2020), Sprint 68 (Sep 2020), Sprint 69 (Oct 2020), Sprint 70 (Nov 2020) | ||||||||||||||||||||||||||||
Story Points: | 2 |
Description |
It will be very useful to add "Host interfaces" in Host Prototype (screen 1) definition. Workaround is to add more Host Interfaces to vSphere host, and then manually change it on every Item created from OS Linux Template... but .. thus is not "auto-discovery" |
Comments |
Comment by Tomasz Cholewa [ 2015 Jun 25 ] |
I agree - it would be great to be able to define host interface, because now Host prototype is useful for VMware integration only. |
Comment by Oleg Ivanivskyi [ 2015 Aug 28 ] |
It would be great to be able to change some other properties for the hosts created by an LLD rule also (e.g. host group, IPMI, inventory, etc). |
Comment by Ross Williams [ 2017 Oct 30 ] |
Would be brilliant to be able to easily set up a heterogenous group of monitored VMs without manually entering each machine’s host information or having to Clone the prototype-created host. |
Comment by whosgonna [ 2018 Jul 28 ] |
I'd go so far as to argue that if this feature is only useful with VMware monitoring, that it should be renamed. I was attempting to sync hosts from one zabbix server to another, wrote a small script that generates data like this for use with an LLD: { "data": [{ { ... }] } With the idea that the LLD could then handle adding and removing the hosts dynamically. Unfortunately, this can't work, because I'm not able to set the interface in the host prototype. Perhaps this would be better named "guest prototype" or "VM prototype"?
|
Comment by damien dye [ 2019 Jan 10 ] |
we would also like this feature as having 2 hosts one a prototype and one just for the IPMI is just a waste |
Comment by Stephan Weinberger [ 2019 Sep 18 ] |
Creating full featured hosts (especially having their own IP/IPMI/SNMP/... adresses) via LLD would be awesome! I'm running a Warewulf/Slurm HPC cluster with >100 nodes in different partitions for development and production (with slightly different requirements for monitoring - office hours vs. 24x7). Sometimes nodes are moved between those two - it would be really really nice to just fetch the node list from WW and create/update/remove hosts automatically. |
Comment by Michael Mol [ 2019 Sep 18 ] |
It's not strictly useful for VMWare. For example, I've used host prototypes to use LLDs to define hosts for APs and WiFi clients hanging off of wifi controllers, monitoring wifi performance and reliability on a per-client basis, although I wasn't able to automatically correlate that data with my Zabbix agents that were already on some of these clients. That said, if I had the ability to automatically and programmatically define additional agents for host prototypes, I might be able to extend that to monitoring the SNMP or Zabbix-agent interface on a device discovered hanging off a wifi controller, or off a switch's ARP table, or off a DHCP server's client list, etc. Though it may be that using normal discovery (not LLD) would work better for these cases, I don't know. Disadvantage of using normal discovery for these purposes is that I can't export the discovery rules and behaviors as a template for sharing with others. |
Comment by Stephan Weinberger [ 2019 Sep 23 ] |
@Michael Mol |
Comment by Marco Hofmann [ 2020 Jul 21 ] |
Are we allowed to see the specs, once they are finished, so we can give feedback? |
Comment by Alexander Vladishev [ 2020 Aug 07 ] |
Related issue: ZBXNEXT-6121 |
Comment by Valdis Murzins [ 2020 Oct 06 ] |
Implemented in development branch feature/ZBXNEXT-2072-5.1 |
Comment by Valdis Murzins [ 2020 Oct 08 ] |
Implemented in:
|
Comment by Marco Hofmann [ 2020 Oct 13 ] |
vmurzins I have a question regarding this feature: This sounds like the solution to the issue, that currently the combination of native Zabbix VMware monitoring via LLD Host Prototypes and classic Zabbix agent based monitoring, results in each VM being monitored twice. This is a "problem" that Zabbix has since 2.2 afaik -> I took a look at the 5.2 docs,and understand, that I have to perform an (JSON-) LLD that retrieve:
That would mean, if I understand that correctly, that this feature here could potentiality solve the "double Hosts" problem with VMware & Agent monitoring, but the native Zabbix-VMware-LLD won't retrieve the interface parameters for me. So I might have to drop the native Zabbix-VMware-LLD and might for example use VMware PowerCLI to retrieves the VMs incl. their interface IPs. Please share you opinion. Thank you! |
Comment by Michael Veksler [ 2020 Oct 14 ] |
In general, this cannot be solved. We have vcenter api limitations and the information available to us depends on the behavior of the guest VM. This means that we cannot guarantee that the IP address will always be present in "vmware.vm.discovery", but we can try to get it. Additional question: which fields from the "guest information" are more valuable for you, besides the ip address |
Comment by Dimitri Bellini [ 2020 Oct 15 ] |
Hi Michael, As i well remember one of the most blocking issue for monitoring (Zabbix Active Agent) the VM was the VM.UUID because Zabbix used that as a Hostname on the hostprototype. With the new implementation we still need the VM.UUID as a Hostname? Thanks so much |
Comment by Valdis Murzins [ 2020 Oct 16 ] |
Updated documentation:
Updated API documentation: |
Comment by Michael Veksler [ 2020 Oct 22 ] |
I hope |