Active Dashboard - How can I create a control on a dashboard that shows the count of the alerts in a dataview?
Dashboards are most effective when they are used to display summary information, rather than the detail that is coming from the Gateways. An example can be seen below wherein we are just displaying the counts of alerts (Warning and critical’s) rather than add all the TREP data directly to the dashboard. Geneos - Active Dashboard - How can I create a control on a dashboard that shows the count of the alerts in a dataview? trep Dark Version.adb In this example, both the central value, and the colored tabs contain a summary of the number of alerts in a given Dataview or area, rather than the alerts themselves. The dashboard then has a link that when pressed goes to the underlying Dataview for further investigation. But how do you create the controls that show summaries of the number of alerts, the following FAQ aims to show you that.
For the purpose of this article, we will consider the following dataview: Geneos - Active Dashboard - How can I create a control on a dashboard that shows the count of the alerts in a dataview? We need to supplement it with some computed cells into which we will add the count of warning and critical cells, as well as the overall count of the highest alert level. This is completed via the Advanced tab in the sampler configuration, and adding the headlines under the Dataviews > Additions > headlines. Attached is the sample DISK sampler XML. Once applied, the dataview will have extra headlines: Geneos - Active Dashboard - How can I create a control on a dashboard that shows the count of the alerts in a dataview? To add values into these cells, we need to use rules. The attached rule xml will populate the above cells assuming the headlines are the same as set using the DISK sampler xml above.
The headlines will then be populated such that:
- The warning headline contains the count of warnings in that column. - The critical headline contains the count of critical cells in that column. - The summary shows the number of alerts at the highest alert level. For example, if there are any critical’s it will show the count of critical’s, if not it will show the warnings, otherwise it will show 0 and be OK.
To add this summary to the dashboard, you just need to create a new rectangle on the dashboard and then drag the summary cell over it, and select the ‘Link Severity to background and Link label to value’ modifiers.