
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
uCMDB to Atrium Integration (atrium:query.py)
Hello,
I try to integrate Atrium 9.x to ucmdb 2019.11
When attrium_query.py is invoked, I receive this error:
jvm 1 | <2021-01-12 16:18:47,776> 6188506 [WARN ] [JobExecuterWorker-0:DS_atrium2rtsm_Import data from Atrium] (NativeMethodAccessorImpl.java:?) - [atrium_query.py:getMapping] Exception: <Traceback (most recent call last):
jvm 1 | File "atrium_query", line 349, in getMapping
jvm 1 | TypeError: 'NoneType' object is not callable
jvm 1 | >
Below a portion of the code
def getMapping(mappingFileName, bmcNamespace):
try:
objectTypeList = []
relationshipList = []
#Ip = CollectorsParameters.getValue(CollectorsParameters.KEY_PROBE_GW_IP)
Ip = CollectorsParameters.getValue(CollectorsParameters.KEY_SERVER_NAME)
#integrationAPI = IntegrationAPI("16.89.27.69", SCRIPT_NAME)
integrationAPI = IntegrationAPI(probeGateWayIp, SCRIPT_NAME)
integrationObjectList = integrationAPI.getMapping(mappingFileName)
I tried to use both the probe and ucmdb server addresses, but I always get the same error.
Kind regards.
Fat

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi team,
Many thanks for your question, can you please let us know the Content Pack version that you are using?
Thank you.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
the integration is between Atrium and RTSM (OBM 2020.10).
I'm trying to import data from Atrium, but when the script invokes the IntegrationAPI, I always receive the same error. I tried to invoke the API with a wrong IP, same error. I suppose that the API is buged.
jvm 1 | <2021-02-02 15:55:12,847> 692332959 [INFO ] [JobExecuterWorker-0:DS_atrium2rtsm_Import data from Atrium] (?:?) - Start to invoke IntegrationAPI with the paramenters ucmdbServerIp: 100.100.100.100 and SCRIPT_NAME: atrium_query.py
jvm 1 | <2021-02-02 15:55:12,848> 692332960 [WARN ] [JobExecuterWorker-0:DS_atrium2rtsm_Import data from Atrium] (?:?) - [atrium_query.py:getMapping] Exception: <Traceback (most recent call last):
jvm 1 | File "atrium_query", line 348, in getMapping
jvm 1 | TypeError: 'NoneType' object is not callable
jvm 1 | >
jvm 1 | <2021-02-02 15:55:12,848> 692332960 [ERROR] [JobExecuterWorker-0:DS_atrium2rtsm_Import data from Atrium] (ExecutionEngineImpl.java:398) - Discovery Error: Traceback (most recent call last):
jvm 1 | File "<string>", line 2, in <module>
jvm 1 | File "atrium_query", line 554, in DiscoveryMain
jvm 1 | TypeError: 'NoneType' object is not iterable
jvm 1 |
jvm 1 | <2021-02-02 15:55:12,849> 692332961 [INFO ] [JobExecuterWorker-0:DS_atrium2rtsm_Import data from Atrium] (ObjectsRedundantSta
below the line 348 of atrium_query.py script
integrationAPI = IntegrationAPI(server, SCRIPT_NAME)
Any experience regarding this error?
Regards,
Fat