# Device Diagnostic Dashboard

## Introduction

Grafana is an open source visualization and analysis software that allows you to query and visualize database data as a device diagnostic tool.

This topic describes how to import and export your Grafana dashboards to be able to show these. In this demo we take AIM-58/68, IPS420S, UTC-115H, and USM-260F to export and import the Grafana Dashboard JSON files that according to the product features, present the design of WiFi and battery diagnostic panel template.

Please check below, we have attached some JSON files for general system, multiple devices monitors, tablet, and battery on GitHub. However, you also can use Grafana to design your personal dashboard.

Grafana Dashboard JSON file, please visit the following link:

<https://github.com/Advantech-EdgeX/edgex-templates/tree/master/grafana>

<div align="left"><img src="/files/TR5ovO2shCs1ErlMv0fA" alt=""></div>

## Export Grafana Dashboard

1. Click Share dashboard or panel tab.

![](/files/w4Y2oJIsZJfoxaiMTaiV)

2\. Click Export > Save the file to default save location.

![](/files/YOEyW6TLDrR3RXhKgOqv)

## Import Grafana Dashboard

1. Click Create option allows Import to import the JSON file.

![](/files/RuBbRlQzULPyoZy2NCe9)

2\. Click Upload JSON file > choose the JSON file and then click Open.

![](/files/2ZOxjivWWX0wJhum3Oxd)

3\. After choose the JSON file, click Import.

![](/files/o92eicdwFldUv8DfctIy)

4\. Click Relative time ranges option to select your need, and then click Apply time range.

![](/files/w7mUZqeWWDIflLiXPASw)

5\. The Grafana dashboard has been successfully imported.

## System&#x20;

System information dashboard:

Here is focused on dashboard design which measure the system information with basic data. Two scenarios of system information dashboard, one for single PC and another one for configure multiple device monitors.

* Scenarios #1: System information dashboard (System information.json):&#x20;

  It shows basic information about user computer like CPU, BIOS, and operation system...

![](/files/VxdaEO8cbuxheQV67pvp)

![](/files/MkZUVge2o5Z3cJDl3I5A)

* Scenarios #2: Multiple devices monitors dashboard (Advantech Client PC Monitoring.json):&#x20;

  Host PC can monitor itself and multiple client PC for system information on Grafana dashboard through the Smart Device UI setting. Advantech Client PC Monitoring dashboard that allows the user to choose one PC from the Hostname drop-down list.

1. Smart Device UI setting of client PC, fill in the Ethernet IP of host PC and 8086 port.

![](/files/eBSvsRrsCpRD3hA1FfJ6)

2\. User can choose any PC to monitor its system information status.

![](/files/CQFbpxWep23dJrxtrW4S)

3\. Advantech Client PC Monitoring dashboard.

![](/files/k5cVxF3F0sdcOF1K44ye)

![](/files/hP2c4DRidsf5SKyP4Bgc)

![](/files/K36N4DHCwvVezd89IBpJ)

## Tablet

AIM-58/68 dashboard (WiFi\_Battery.json):

Here is focused on dashboard design which measure the battery RSOC using its and displays basic battery's information, and WiFi template identifies the current connection signal strength.

![](/files/XaXyM9tc7FrfRVEyQR4v)

![](/files/utR9lRh9AUzjr2gbbNkj)

## Battery

IPS-420S dashboard (IPS-420S Battery.json):&#x20;

Here is focused on dashboard design which the battery panel displays its detail information.

![](/files/XvRjqllHFQMUGO5jUvSZ)

![](/files/mXIxQVgmBrK6yETjBg7N)

![](/files/lDiRJrHW6bovDD9iFLgy)

## Alarm Analysis&#x20;

&#x20;(1) Please reference chapter **Alarm** Setup to enable alarm condition.

(2) Setup RulesEngine Event template on Grafana Dashboard

* Setup three Query
* Setup two Transform

![](/files/wStOdym5jHVT8Er1VPij)

![](/files/fCOkvlXxXII7mssQmHkE)

![](/files/8F9v5HWEqEf0E08gIXU4)

![](/files/H3sVZUR1x3ECvMv5Xfy8)

(3) Record RualesEngine Event as below list

<div align="left"><img src="/files/PTQ5CGRe7Z2hUXqKOmRC" alt=""></div>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://edgex-api-advantech.gitbook.io/edgex-api-doc/smart-device-services/device-diagnostic-dashboard.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
