Highlighted
Frequent Contributor.. Frequent Contributor..
Frequent Contributor..
744 views

uCMDB 10.20 CUP 1 to AM 9.51 AMPushAdapter issue

We are having an issue populating 1 field in AM with the OOB AMPushAdapter.

 

We were able to validate that the "Name" field is going across empty...we get the following error is we make an adjustment to the "Name" field in the amComputer table within Asset Manager in the uCMDB Integration job…

 

Caused by: Error (12,007): Field 'Name (Name)' in table 'IT equipment (amComputer)' cannot be empty.

 

There is by default in Asset Manager in the 'Name" field within the amComputer table a piece of script that runs when the "Name" field is empty.  We removed that default code in Asset Manager and that is how we got the error.

 

You will also see by that code that all of our names with the current integration job start with “CPU” and then a sequential number.  If you look at the piece of code…you will see why are names are getting the “CPU” and the sequential number…see second screen shot.

 

So, we now know that OOB uCMDB to AM integration using the AMPushAdapter is somehow missing the population of the "Name" field.

 

Any assistance would be greatly appreciated.

 

Thanks!!!


Tim

Tags (3)
0 Likes
4 Replies
Highlighted
Frequent Contributor.. Frequent Contributor..
Frequent Contributor..

Re: uCMDB 10.20 CUP 1 to AM 9.51 AMPushAdapter issue

Sorry everyone...we are integrating with AM version 9.50 P1...not AM version 9.51.

0 Likes
Highlighted
Outstanding Contributor.. Outstanding Contributor..
Outstanding Contributor..

Re: uCMDB 10.20 CUP 1 to AM 9.51 AMPushAdapter issue

OOTB there is no mapping for "Name", not sure why this wasnt include. 

 

But you can add the following mapping to the pushMappingAmComputer.xml

 

<target_mapping name="Name" datatype="STRING" value="vComputerName"/>

 

And this should push the host name into the Name field of the.

 

 

 

0 Likes
Highlighted
Frequent Contributor.. Frequent Contributor..
Frequent Contributor..

Re: uCMDB 10.20 CUP 1 to AM 9.51 AMPushAdapter issue

Thanks...we were able to figure that out...but I have another question you might know...

 

How can we change the reconcilliation from AssetTag to Name?

0 Likes
Highlighted
Outstanding Contributor.. Outstanding Contributor..
Outstanding Contributor..

Re: uCMDB 10.20 CUP 1 to AM 9.51 AMPushAdapter issue

Before I answer that question...have you made any modification to the push-mapping.xml?

 

If not, take a look at the "reconciliation-advanced" tag inside push-mapping.xml for  [am-mapping ci-type="amComputer"]

 

These tag are use to specifty the attribute/condition for reconciliation while pushing to AM and it is executed from top to bottom. If none of the condition are met, the push will perform a insert instead of a update.

 

OOTB reconciliation order as as follow:

 

1) GlobalID

2) ModelName + NatureCode +Serial#

3) AssetTag

4) TcpIpHostName + WorkGroup + seComputerType = 3 + iIsComputerAVM==true

5) etc

6) etc

 

To do what you ask you can simply change the replace the AssetTag with Name in the 3rd rule set.

 

I do not recommend using such simply reconciliation rule for large amount of data push as this can affect data integrity and data quality.  This would work for specify adhoc push.

 

 

effectualsystems.com

0 Likes
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.