Ad Widget

Collapse

Cluster hypervisors are added as IP not hostname as visible name

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mturin
    Junior Member
    • Aug 2016
    • 8

    #1

    Cluster hypervisors are added as IP not hostname as visible name

    When I apply VMWare template on vCenter, and hypervisor discovery are done it adds all hypervisor hosts into the Zabbix. Sadly, it adds each hypervisor with visible name set to its IP, not its hostname.

    Click image for larger version

Name:	image.png
Views:	214
Size:	9.7 KB
ID:	454197

    Bad for debug purpose, so to say.

    As I look into the template, I can see Host prototypes seems to be good, as it set hostname to "{#HV.UUID}", and visible name to "{#HV.NAME}" (that is, not any IP reference), moreover agent IP is set to "{#HV.IP}" (which is the IP of the ESXi host). But in real life both {#HV.IP} and {#HV.NAME} produces same result (host IP).

    Click image for larger version

Name:	image.png
Views:	227
Size:	41.7 KB
ID:	454196 ​ ​

    So the question is, why {#HV.NAME} results in IP not hostname, and how to fix it?
    Attached Files
    Last edited by mturin; 10-11-2022, 16:12. Reason: Images added
Working...