Cannot see UIM metrics in APM after apmgtw integration
search cancel

Cannot see UIM metrics in APM after apmgtw integration

book

Article ID: 218435

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

Validate connection is working in apmgtw probe but cannot see UIM metrics in APM 

Can see below messages in apmgtw logs 

May 06 15:03:31:581 [main, apmgtw] ***Entering discoverProbeAndQoSDef
May 06 15:03:31:583 [main, apmgtw] No of probes found from probes.txt file: 1
May 06 15:03:31:583 [main, apmgtw] No of Probes: 1
May 06 15:03:31:583 [main, apmgtw] ***Start getConfiguredQoSFromDatabase
May 06 15:03:31:583 [main, apmgtw] ***Obtained qosdefintions for probe: cdm
May 06 15:03:31:583 [main, apmgtw] ***End getConfiguredQoSFromDatabase
May 06 15:03:31:583 [main, apmgtw] ***Exisitng discoverProbeAndQoSDef
May 06 15:03:31:583 [main, apmgtw] Existing discoverProbeAndQoSDef()
May 06 15:03:31:583 [main, apmgtw] Included hosts are : 
May 06 15:03:31:583 [main, apmgtw] Entering getIncludedHostsfromDB()
May 06 15:03:31:584 [main, apmgtw] dbAddress is: xx.xx.xx.xx
May 06 15:03:31:584 [main, apmgtw] Looking up data_engine on /test_domain/test_Hub/abcd/data_engine
May 06 15:03:31:587 [main, apmgtw] Failed to parse connection string as : Received status (4) on response (for sendRcv) for cmd = 'nametoip' name = '/test_domain/test_Hub/abcd/data_engine'
May 06 15:03:31:587 [main, apmgtw] Exception while getting dataengine address from iptoname response
May 06 15:03:31:587 [main, apmgtw] data_engine may not have started. Wait for 10 seconds before doing another call
May 06 15:03:41:589 [main, apmgtw] Failed to parse connection string as : Received status (4) on response (for sendRcv) for cmd = 'nametoip' name = /test_domain/test_Hub/abcd/data_engine'
May 06 15:03:41:589 [main, apmgtw] Exception while getting dataengine address from iptoname response
May 06 15:03:41:589 [main, apmgtw] data_engine may not have started. Wait for 10 seconds before doing another call
May 06 15:03:51:591 [main, apmgtw] Failed to parse connection string as : Received status (4) on response (for sendRcv) for cmd = 'nametoip' name = /test_domain/test_Hub/abcd/data_engine

Environment

Release : UIM 9.2.0

Component : UIM - APMGTW 3.23

APM 10.7

Resolution

1. Below parameters configured in apmgtw probe 
   configure_host_db = true
   configure_qos_nisapi = false

If you set this key value as True:On probe configuration, the probe retrieves database connection information from the primary hub and loads the host data details into memory by querying the database.

If you set this key value as False:The probe uses NIS API calls.

2. Can verify with nametoip or iptoname callbacks to confirm if this is working correctly via controller or hub probe to verify the address 

Note: the address is case sensitive 

3. In this use case needed to change the robot address in apmgtw config from lowercase to uppercase as robotname is uppercase in this environment 

Example 

 

robot_address = abcd

to 

robot_address = ABCD

 

4.After setting this the nametoip resolution works correctly for apmgtw connection to the UIM database and metrics are seen under the APM agent in APM