Troubleshooting the dashboard graphs and KPI Indicators issues
Symptoms
- The dashboard and social timeline in Smart IT load slowly.
- The dashboard graphs show incorrect data.
- The Smart IT screen displays an error message while loading the data.
Scope
- One or more users experience these problems.
- In a server group environment, these issues could affect one or more servers.
Diagnosing and reporting an issue
Perform the following tasks to troubleshoot the issues:
Step | Task | Description |
---|---|---|
1 | Review the configuration. | Verify that Smart IT is correctly installed and is pointing to an Action Request System load balancer. Pointing Smart IT to a single AR System server is also possible, but it may impact performance on busy environments. Also, check if Smart IT is connected to the user-facing AR System load balancer or to a server with enough resources. For more information, see KB Article 000219036. To learn how to change AR System server references, see Changing Action Request System server references. |
2 | Determine the scope of the issue. |
Check if you face these issues even when you log in as a non admin user. RLS (Row level security) may cause a delay while retrieving the data. Therefore, log in as a non admin user and verify. Enable the F12 Network Capture logging, which provides information about delayed responses or incorrect data. For information about how to monitor network response times in Smart IT, see KB Article 000219900. |
3 | For performance related issues, enable Filter, API, and SQL logging as well as smartit.log. | If users are experiencing slow load times while loading the dashboard, it could be due to association with several support groups, which in turn could cause RLS-related queries to be time consuming. To find out the affected users and the reason for slow load time of the dashboard, first log in as an admin user. Admin users have more dependence on RLS as opposed to regular users. If you do not experience any issues when you are logged in as an admin user, it indicates that there might be an API or SQL related performance problem. However, if the dashboard takes some time to load even when you are logged in as an admin user, there might be issues with either the database or the Tomcat web server due to the following reasons:
For load balanced environments, enable API and SQL logging from all user facing servers in the group. For more information, see Enabling server-side AR System logs. To enable debug searcher logging from indexing server:
Starting with version 18.05, you can enable logs across servers and server groups. For information about how to enable logs across server groups, see Managing logs for server groups To enable the Smart IT logs in DEBUG mode for 18.05 and later versions, see How to enable Smart IT debug logs. For versions 20.08 and later, you can enable them via the log.level Centralized Configuration setting. Change the default value from WARN to DEBUG. |
4 | Reproduce the issue and note down the search-related information. Enable logs and reproduce the problem. If you are unable to reproduce the issue, wait until the problem occurs on its own. | Collect the following information to provide to BMC Support:
|
5 | Disable logging. | Disable the Action Request System Server Log. For more information, see Enabling server-side AR System logs |
6 | Performance-related errors: Collect the logs and run them through the log analyzer to disregard database performance-related issues. | If the issue is mainly related to performance, analyze the logs with theAction Request System Server Log Analyzer. Copy the logs to another location where you can review them so that they do not get overwritten. For more information, see AR Log Analyzer - Recorded Session By default, Smart IT uses a combined likes algorithm to provide RLS security. Starting with version19.08, on Action Request System Server and Developer Studio, the subquery algorithm has been introduced. The following snippet is an example of regular RLS algorithm being used: SELECT * FROM (SELECT AR_SQL_Alias$1.*, rownum as AR_RowNumber_Alias$1 FROM (SELECT T2310.C1000000161, T2310.C1000000018, T2310.C1000000019, T2310.C1000000000, T2310.C303497300, T2310.C1000000164, T2310.C7, T2310.C1000000217, T2310.C1000000218, T2310.C1000005261, T2310.C1000003009, T2310.C1 FROM T2310 WHERE ((T2310.C1000000161 LIKE 'INC0000%') AND (((T2310.C2 = '21001-Test') OR (T2310.C4 = '21001-Test')) OR exists ( select /*+ NO_EXPAND */ 1 from dual where ((T2310.C112 LIKE '%;'21001-Test';%') OR (T2310.C112 LIKE '%;0;%') OR (T2310.C112 LIKE '%;-20042;%') OR (T2310.C112 LIKE '%;-20032;%') OR (T2310.C112 LIKE '%;-20003;%') OR (T2310.C112 LIKE '%;-20000;%') OR (T2310.C112 LIKE '%;-1099;%') OR (T2310.C112 LIKE '%;-1098;%') OR (T2310.C112 LIKE '%;440;%') OR (T2310.C112 LIKE '%;803;%') OR (T2310.C112 LIKE.... You can observe OR statements being compared against column C112. The following snippet is an example of the subquery algorithm being used: SELECT * FROM (SELECT AR_SQL_Alias$1.*, rownum as AR_RowNumber_Alias$1 FROM (SELECT T2310.C1000000161, T2310.C1000000018, T2310.C1000000019, T2310.C1000000000, T2310.C303497300, T2310.C1000000164, T2310.C7, T2310.C1000000217, T2310.C1000000218, T2310.C1000005261, T2310.C1000003009, T2310.C1 FROM T2310 WHERE ((T2310.C1000000161 LIKE 'INC0000%') AND (EXISTS (SELECT 1 FROM S2310 WHERE (S2310.entryId = T2310.C1) AND (((S2310.labelId IN (2, 4)) AND (S2310.labelValue IN ('21001-Test'))) OR ((S2310.labelId IN (112, 60900, 60901, 60989)) AND (S2310.labelValue IN ('''21001-Test''', '0', '-20042', '-20032', '-20003', '-20000', '-1099', '-1098', '440', '803', '804', '1057', '1058', '7113', '13005', '13006', '13007', '13008', '13009', '13010', '20000', '20003', '20007', '20012', '20013', '20032', '20042', '20043', '20055', '20077', '20078', The tables get converted to a new 'S' table that handles RLS in a better manner, which is very effective for large environments. In order to enable the subquery algorithm, see KB Article 000366961: How To Enable Subquery In Smart IT To Improve Overall Performance. |
7 | Check for AR exception or data-related issues such as KPI data is not updated, is incorrect, or is not displayed at all. | Acquire a copy of the Filter, SQL, API, Escalation logs as well as smartit.log in DEBUG mode and note the user who is performing the action.
|
8 | Create a BMC Support case. | When creating a case with BMC Support, collect and send logs and detailed information:
|
Resolutions for common issues
After you have determined a specific symptom or error message, use the following table for solutions:
Symptom | Where | Action | Reference |
---|---|---|---|
The dashboard takes a very long time to load (endless spinning wheel). | Dashboard |
| |
Search takes long time to retrieve results. | Global search |
| |
The KPI:DataCollection is | arerror.log |
| |
Data backlog shows incorrect data. | Dashboard |
| |
Log in to Smart IT. The dashboard is not loaded, instead, users are redirected to the Ticket Console. | arerror.log arsql.log |
| |
Dashboard graphs are blank. | Dashboard |
|