Dashboards in dashboard designer keep returning after being deleted
search cancel

Dashboards in dashboard designer keep returning after being deleted

book

Article ID: 234145

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

I have tried to clean up dashboards in operator console-> settings-> dashboard designer, but they keep returning.

 

Legacy Dashboards created in UIM 7.x/8.x and migrated to html5 dashboards are getting recreated after deletion from dashboard designer.

Environment

Release : 20.3 or any version post 8.31

Component : UIM OPERATOR CONSOLE - DASHBOARDS/DESIGNER

Cause

The migrator job upon wasp restart is inserting the legacy dashboards to the umpdashboard table. Unfortunately, the status of the migration is not maintained anywhere. Due to this reason, when the legacy dashboard is first migrated and then deleted, the migration is going to trigger again and inserts the dashboard entry back to the umpdashboard table. Since the dashboard definition is persisted in the tbnDashboard table, the definition of the dashboard is getting copied to the umpDashboard table.

Resolution

If the legacy dashboards are already migrated, the below tables can be dropped in the sequence mentioned below. These tables are void from UIM 9.x.

  • DROP table tbnPanelContent;
  • DROP table tbnPanelLinkSource;
  • DROP table tbnPanelElement;
  • DROP table tbnPanel;
  • DROP table tbnAcl;
  • DROP table tbnPanelAlarmSource;
  • DROP table tbnPanelDataSource;
  • DROP table tbnDashboard;