Hi
Can anyone help me with what the table name is for Host Visible Name:
For a report that we need to do my query looks as follow:
select
g.name as 'Client',
SUBSTRING_INDEX(h.host,'.domain.com',1) as 'Server name'
from
hosts h,
hosts_groups hg,
groups g
where
g.groupid=hg.groupid
and
h.status = 0
and
hg.hostid=h.hostid
order by g.name
My problem is my ESX LLD places UUID in hostname and for the report for that I then need to use the Visible name.
Any help would be greatly appreciated
Thanks
Can anyone help me with what the table name is for Host Visible Name:
For a report that we need to do my query looks as follow:
select
g.name as 'Client',
SUBSTRING_INDEX(h.host,'.domain.com',1) as 'Server name'
from
hosts h,
hosts_groups hg,
groups g
where
g.groupid=hg.groupid
and
h.status = 0
and
hg.hostid=h.hostid
order by g.name
My problem is my ESX LLD places UUID in hostname and for the report for that I then need to use the Visible name.
Any help would be greatly appreciated
Thanks
Comment