I have hundreds of systems that I want to add as hosts, but do not want to go in and add them one by one under the infrastructure setting as that would take a long time. I was wondering if there was a way to import all hosts using a delimited text file or other source. If this is not available I think it would be a good feature enhancement. The only other "automated" way of hosts being added is if they have the agent installed and connected to a collector which connects to a server. I will not be putting agents on these hosts, but I need to add them as hosts regardless because there are other metrics I want to get from them
Answer by Derek A. · Aug 04, 2011 at 10:14 PM
It looks like the host information is stored in the cmdb.config.xml file on the dynaTrace server? Is it possible to manually edit this file and restart the dynaTrace server to "import" a bunch of hosts at once? I tried it out, but it did not work. Just asking because when opening the file, there is a disclaimer indicating "Apply manual changes only if you have received explicit instructions from dynaTrace Support". which makes me believe editing the file is possible.
Answer by Derek A. · Aug 05, 2011 at 12:15 AM
I was able to edit the xml file successfully and import all my hosts instantly. When I was doing it earlier, I was just restarting the dynaTrace service after making the changes and it would not stick. I then stopped the service first, made the changes, then started it back up and the changes stuck.
Answer by Laurent I. · Mar 14, 2016 at 05:32 PM