I have to build a Dashboard, which will look something like below.
Group Name | Node Name | App / Component Name | Status |
---|---|---|---|
Group 1 | Node 1 | IIS | Down |
Group 1 | Node 1 | SQL Server | Critical |
Group 1 | Node 1 | CPU | Critical |
Group 1 | Node 1 | Memory | Critical |
Group 1 | Node 1 | Disk Volume | Critical |
Group 2 | Node 2 | IIS | Down |
Group 2 | Node 2 | SQL Server | Down |
For this, I can write a SQL statement. But I am having 2 challenges here. First of all, I am not sure, if any (or more) table(s) will give the appropriate info. Even in the NodesData table, I don't see the relation between Node and Application. It has mainly CPU and Memory. I need to show data in the above format. Unfortunately, there seems to be no table which shows issues in applications and that too related to nodes. I need to show data only when the status of that application is Down or Critical. Is this possible? If so, please help with steps.