This page describes how to troubleshoot issue related to tile that does not display value on HD dashboard:
Release | Yes/No |
---|---|
8.3.x | |
8.2.x | |
8.1.x | |
8.0.x | |
7.3.x |
RDBMS | Yes/No |
---|---|
Oracle Server | |
Microsoft SQL Server | |
CSS3 | |
CSS2 |
- Synchronize some applications on your HD dashboard.
- Connect to the HD dashboard.
- A tile is rotating without displaying the value.
To troubleshoot this issue, you need the following Relevant input
Perform the below actions:
- Identify the URI associated to the tile
- First we need to identify the URI associated to the tile that is not returning the value. For this,refer "How to identify specific tile in HD using F12 developer tools" in the following page Application Analytics Dashboard - HD - Information - How to identify URI request of Simple REST Client related to a specific tile
- Run the URI on RestAPI interface to identify missing data. Once the URI is identified, open the RestAPI interface associated to the HD war deployed. For this:
- Once the URI is identified, open the RestAPI interface associated to the HD war deployed. For this:s
- Open a browser, connect to the HD dashboard (http://host:8080/HD_WAR) and add static/default.html (http://host:8080/HD_WAR/static/default.html)
- Connect with the credential you use to connect to the HD dashboard (by default Admin/CAST)
- Identify any missing data returned by RestAPI. Refer to the screenshot below for an example of missing data.
- If no data is missing, contact CAST Technical Support with the relevant input and the identified URI.
- If you identified some missing data as shown in the screenshot above, the issue is probably due to a synchronisation error that happens during the consolidation of the central.
- To recover from this synchronization error, you need first to clean up the measurement from the incomplete data before consolidating the central again.
- For this you need to get the central name and the application name from which data is missing and the metric_id from where the data is missing, then go to the next step.
If you have identified several missing data, you have to repeat the operations given below for every missing data identified.
Note that from 8.2, you will not have to cleanup the measurement from the incomplete data. You have only to rerun the consolidation of the central identified.
- Open a browser, connect to the HD dashboard (http://host:8080/HD_WAR) and add static/default.html (http://host:8080/HD_WAR/static/default.html)
- Once the URI is identified, open the RestAPI interface associated to the HD war deployed. For this:s
- Get the Site ID of the central from GUI HDSITE
- Once the central is identified in the RestAPI, we need to get the corresponding Site ID in the measurement base. For this, follow the steps:
- Open the GUI HDSITE (<CAST_flat>/GUI/HDSite-GUI.exe)
- Enter the information to connect to your measurement
- Select "List Site" and click on Run Application:
In the log, identify the row corresponding to your CB and get the corresponding Site_ID
Log extract exampleCentral_2.operator (1340725456)
We can see in the results above that the Site_id of the central_2 identified in the RestAPI in our example is 1340725456s
- Once the central is identified in the RestAPI, we need to get the corresponding Site ID in the measurement base. For this, follow the steps:
- Get the required data to cleanup the measurement from the incomplete data.Once you have identified some missing data in RestAPI results, you need to get all the required data to be able to cleanup the measurement from the incomplete data before relaunching the consolidation again.
For this, perform the following queries on the measurement base:First identify the application and snapshot on which data is missing.
select snapshot_id, application_id from dss_snapshots where snapshot_id not in (select snapshot_id from dss_metric_results where metric_id = <METRIC_ID>)
Replace the <METRIC_ID> with the one retrieved from the RestAPI
In the example provided here, the query will be the following
select snapshot_id, application_id from dss_snapshots where snapshot_id not in (select snapshot_id from dss_metric_results where metric_id = 67014)
Here is an example of the results
Query result example--2153;1671
--2262;1685
We can see from the results above, that for the metric identified, there are 2 snapshots (snapshot 2153, 2262) from 2 different applications (1671,1685)
After this, we need to find the ID of the application corresponding the one identified in the RestAPI. For this, we have to run the following query.
select * from dss_objects where object_id in (1671,1685) --To be replaced with the list application IDs from the results of previous query
It returns the following for our example
Query result example-- 1671;-102;"APP2";"";"APP2"
--1685; -103; "APP32"; "APP32"
We can see that the ID corresponding to APP2 which is the application identified in the RestAPI screenshot which is ID 1671
We then have to get the corresponding ID of the application in the central. For this, we need to run the following queries on the measurement base.
select site_object_id from dss_translation_table where site_id = 1340725456 --To be replaced by the Site_ID of the central get from GUI HDSITE and object_id = 1671 --To be replaced by the application ID get from previous query
It returns the following for our example
Query result example3
Which means that application App2 (ID1671) is having ID 3 in central Central_2 (1340725456 )
Same way, we have to get the corresponding ID of the snapshot in the central. For this, we need to run the following queries on the measurement base.
select -site_object_id from dss_translation_table where site_id = -1671 --To be replaced by MINUS the application ID get from previous query and object_id = -2153 --To be replaced by MINUS the snapshot ID get from previous query
It returns the following for our example
Query result example7
Which means that snapshot 2153 being part of application App2 (ID1671) is having ID 7 in the central Central_2
- Now we have all the informations to run the reset on the measurement base. In our example:
- Central site: Central_2
- Application_id: 3
- snapshot_id: 7
- Cleanup the measurement base from incomplete data. To cleanup the measurement base from incomplete data, we need to follow the steps:
- Launch the HDConsolidation-GUI, (<CAST_flat>/GUI/HDConsolidation-GUI.exe)
- Enter the connection information to the measurement base.
- Click on the reset button (please do not click on "Full Reset" as this will cleanup the whole measurement base)
- Click on the Reset tab and fill the information related to the snapshot to be cleanup.
- Once information is filled, click on "Run Application" to launch the cleanup.
For our example, values are the following:
- Relaunch the consolidation of the central that was reset Once the cleanup of the central is done, you have to relaunch the consolidation to consolidate back the snapshot that has been reset. For this, please perform the following
- Launch the HDConsolidation-GUI, (<CAST_flat>/GUI/HDConsolidation-GUI.exe)
- Enter the connection information to the measurement base.
- Click on the Consolidate button.
- Fill the information related to the central that need to be consolidated.
- Once information is filled, click on "Run Application" to launch the consolidation.
For our example, values are the following:
Once the consolidation is done, information should be available on the HD dashboard.
- If you are unable to find a solution for your problem then please contact CAST Technical Support, with the Relevant input
For CAST Technical Support only. Please refer to the page - Health Dashboard - Information - How to reproduce HD issues
Ticket 5344, 5345