Upon logging into the new CMDB UI, the Dashboard KPI & Data source utility are not running, despite being scheduled to run every day. This causes CMDB Health statistics not to be updated. |
This knowledge article may contain information that does not apply to version 21.05 or later which runs in a container environment. Please refer to Article Number 000385088 for more information about troubleshooting BMC products in containers.
1. CMDB:Dashboard_Utility_Run_History
Cause 2: Variable or hardcoded values in rundashboardutil.cmd or rundashboardutil.sh --For CMDB_VERSION= %ATRIUMCORE_HOME%\cmdb\utils\DashboardDataGenerator\dashboarddatagenerator-%CMDB_VERSION%-SNAPSHOT.jar
--For CMDBVERSION=%ATRIUMCORE_HOME%\cmdb\sdk\bin\cmdbapi%CMDBVERSION%.jar
--For AR_VERSION=%BMC_AR_SYSTEM_HOME%\Arserver\api\lib\arcmnapp%AR_VERSION%.jar
Cause 3: Specific pool number not defined for the escalation Solution 3: In Remedy Developer Studio, add a pool number for the escalation: CMDB:SHM:Schedule_RunSchedule if there is contention with other escalations i.e. you see a delay in when the escalation runs. See KA: 000318190 for how to add a pool number to any escalation. Cause 4: ERROR (5430): Invalid Run Process Command Solution 4: NOTE** This is only relevant to 21.03 patch 5 (21.03.05) and later. An error can occur in the API/FLTR/SQL pertaining to the whitelist process: An application command failed.ERROR (5430): Invalid Run Process Command. Running non-whitelisted commands via Run Process action is not supported.; "/opt/bmc/AtriumCore/cmdb/utils/DashboardDataGenerator/rundashboardutil.sh" KPI To check the Run-Process-Command-Whitelist parameter: 1.) Click on the Home Page Flyout menu : Applications > AR System Administration Console > System > General > Centralized Configuration 2.) To see the Select Run-Process-Command-Whitelist parameter, choose Component Type: com.bmc.arsys.server.shared > * In one use-case, the Run-Process-Command-Whitelist parameter was set to: ./AtriumCore/cmdb/utils/DashboardDataGenerator/rundashboardutil.cmd|../AtriumCore/cmdb/utils/DashboardDataGenerator/rundashboardutil.sh|"../artools/arexport.sh"|"./artools/arexport.bat"|"pdp.sh"|"./artools/pdp.bat"|"remoteaction/remoteaction.sh"|"remoteaction\remoteaction.bat"|"DMLDataImport.bat"|"DMLDataImport.sh"|"/opt/bmc/ARSystem/db/mkdir.sh" However, the first command is rundashboardutil.cmd and it doesn't have double-quotes. All other values in the whitelist parameter contain double-quotes. The string has to be corrected and then the whitelist will accept and run the rundashboardutil.cmd. In the solution for the test use-case, the issue is in a container, the following change was made to the Run-Process-Command-Whitelist parameter: "/opt/bmc/AtriumCore/cmdb/utils/DashboardDataGenerator/rundashboardutil.sh"|"../artools/arexport.sh"|"./artools/arexport.bat"|"pdp.sh"|"./artools/pdp.bat"|"remoteaction/remoteaction.sh"|"remoteaction\remoteaction.bat"|"DMLDataImport.bat"|"DMLDataImport.sh"|"/opt/bmc/ARSystem/db/mkdir.sh" Note that after applying Solution 4, it was found that Solution 3 above was also necessary. Once Solutions 3 and 4 were performed, the Dashboard utility would run daily as expected. If the above steps do not resolve the issue then as an additional Step you can run the rundashboardutil.cmd utility from the Command prompt and check if it gets triggered. In one of the use case we could see the below Error: In order to resolve this Error extract the dashboarddatagenerator-9.1.10-SNAPSHOT jar and check if DashboardDataGenerator file is present under com/bmc/cmdb/ui/dashboard folder. If it is missing replace it from the other working environment. Cause 5: Escalation is not enabled Solution 5: 1. Check the AR System Server Group Operation Ranking form 2. Check the Operation for "Escalation" 3. Verify that the Rank1 is the same like Current Operation Owner
Cause 8: Dashboard shows running on CMDB UI as the pod restarts in between the util run Solution 8:
This will set the CMDB util run to Aborted and on CMDB dashboard the previous date's successful run will be shown. Next run should work fine if no restart of pods during the util run. Cause 9: Deprecation plugin not initialized. The following error is seen in the Dashboard Data Generator log. Solution 9: Restart the Atrium Plugin pods which will restart the Deprecation plugin and help to initialize it correctly. |