Hi Team
I was looking at the eHealth Data Adapter XML file and i noticed something. The following query queries the eHealth DB to list the servers or "system" in eH terms.
SELECT z.name
FROM nh_element z
WHERE element_type IN
(
SELECT element_type FROM nh_base_elem_type WHERE base_elem_type = 'system'
)
When these items are discovered, eHealth appends -sh at the end of the host-name and then saves it as name in the DB hence when this query is executed, the host-names come as server01-sh. My question now is, if we edit the XML file and replace name with sys_name across the whole XML file to get the actual name without the -sh at the end, what effect will this have on the collection of data. See below for example of the edited query.
SELECT z.sys_name
FROM nh_element z
WHERE element_type IN
(
SELECT element_type FROM nh_base_elem_type WHERE base_elem_type = 'system'
)
Regards
David