Hi,
I am currently working on creating some custom reports and was wondering how I can create a report containing subnets as well as the dhcp-server where these subnets are configured.
I have different sites, some subnets are in one site while the corresponding dhcp server is located somewhere else - if someone searches for a subnet and then wants to make some changes at the dhcp server, the person needs to know which dhcp-server he needs to alter.
My reports look e.g. something like this:
select * from IPAM_Group g
join IPAM_GroupAttrData d on g.GroupId = d.GroupId
where g.GroupType='8' and d.Category='Client'
order by g.Location, d.Site;
Is there maybe already a attribute in this tables that contain the name of the dhcp server, or can i join this information into my query somehow??