Absent Member.. Absent Member..
Absent Member..

Read a text file to add attributes to a CI

We are using uCMDB v10.11 and was hoping you could share some of your  experiences with adapter developement to read a flat text file. As part of our internal environments process a structured text file would be created on every new server build containing information like Environment, Release, Project etc... The relevant support and environments team would like to populate this information into the CMDB.

To capture this info could you advise of the best way or a sample of an adpater that achieves a similar outcome.

Many Thanks for your help in advance.


1 Reply
Trusted Contributor.
Trusted Contributor.

Re: Read a text file to add attributes to a CI

Hello Craig,


Depending on the file content/format, the following solutions could be used :


1 - Integration points :


This is what will require the less time, and this is only availlable if you can decide yourself of the file format.


The adapters to use for this is :


import topology from CSV



2 - discovery solution :


If you don't have the choice of the file format, a customer adapter could be created for universal discovery.

It is advised to refer to the development guide :


C:\HP\UCMDB\UCMDBServer\deploy\ucmdb-docs\docs\eng\pdfs\DeveloperReference.pdf and to read existing jobs.


From the jython job, you can either connect to a remote machine, get a text file, parse it, and then map the properties to the ucmdb. It require more time, and developper skills are needed. (python + discovery api).


Hope that helps.



The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.