Grafana dashboard: Cambio em tempo real
Description: Este painel foi feito para monitorar o valor do dólar americano, dólar canadense e euro em reais.
The graphics are populated by the free API: https://docs.awesomeapi.com.br/api-de-moedas

Dependencias: Zabbix e Grafana

Este painel foi feito para monitorar o valor do dólar americano, dólar canadense e euro em reais.

The graphics are populated by the free API: https://docs.awesomeapi.com.br/api-de-moedas

1º - Criar um HOST no Zabbix a partir da importação do arquivo currency_monitor_host.xml

2º - Importar o Dashboard para o Grafana a partir do arquivo currency_monitor_dashboard_grafana.json

Arquivos estão no seguinte endereço:

https://github.com/ffurlanetti/cambioemtemporeal

{
  "__inputs": [],
  "__requires": [
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "6.2.2"
    },
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph",
      "version": ""
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "type": "dashboard"
      }
    ]
  },
  "editable": true,
  "gnetId": 10340,
  "graphTooltip": 0,
  "id": null,
  "links": [],
  "panels": [
    {
      "aliasColors": {
        "CAD-BRL": "dark-red",
        "EUR-BRL": "blue",
        "USD-BRL": "dark-green"
      },
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "decimals": null,
      "fill": 1,
      "gridPos": {
        "h": 8,
        "w": 13,
        "x": 0,
        "y": 0
      },
      "id": 2,
      "legend": {
        "alignAsTable": true,
        "avg": false,
        "current": true,
        "max": true,
        "min": true,
        "rightSide": true,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 3,
      "links": [],
      "nullPointMode": "null",
      "options": {},
      "percentage": false,
      "pluginVersion": "6.1.3",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": true,
      "targets": [
        {
          "application": {
            "filter": "/.*/"
          },
          "functions": [],
          "group": {
            "filter": "/.*/"
          },
          "host": {
            "filter": "MONITOR DOLAR"
          },
          "item": {
            "filter": "CAD-BRL"
          },
          "mode": 0,
          "options": {
            "showDisabledItems": false,
            "skipEmptyValues": false
          },
          "refId": "A",
          "resultFormat": "time_series",
          "table": {
            "skipEmptyValues": false
          },
          "triggers": {
            "acknowledged": 2,
            "count": true,
            "minSeverity": 3
          }
        },
        {
          "application": {
            "filter": "/.*/"
          },
          "functions": [],
          "group": {
            "filter": "/.*/"
          },
          "host": {
            "filter": "MONITOR DOLAR"
          },
          "item": {
            "filter": "USD-BRL"
          },
          "mode": 0,
          "options": {
            "showDisabledItems": false,
            "skipEmptyValues": false
          },
          "refId": "B",
          "resultFormat": "time_series",
          "table": {
            "skipEmptyValues": false
          },
          "triggers": {
            "acknowledged": 2,
            "count": true,
            "minSeverity": 3
          }
        },
        {
          "application": {
            "filter": "/.*/"
          },
          "functions": [],
          "group": {
            "filter": "/.*/"
          },
          "host": {
            "filter": "MONITOR DOLAR"
          },
          "item": {
            "filter": "EUR-BRL"
          },
          "mode": 0,
          "options": {
            "showDisabledItems": false,
            "skipEmptyValues": false
          },
          "refId": "C",
          "resultFormat": "time_series",
          "table": {
            "skipEmptyValues": false
          },
          "triggers": {
            "acknowledged": 2,
            "count": true,
            "minSeverity": 3
          }
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Currency time line to R$ REAL",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "currencyBRL",
          "label": "R$",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    }
  ],
  "refresh": "1h",
  "schemaVersion": 18,
  "style": "dark",
  "tags": [
    "USD-BRL",
    "CAD-BRL",
    "EUR-BRL"
  ],
  "templating": {
    "list": []
  },
  "time": {
    "from": "now/w",
    "to": "now/w"
  },
  "timepicker": {
    "refresh_intervals": [
      "5s",
      "10s",
      "30s",
      "1m",
      "5m",
      "15m",
      "30m",
      "1h",
      "2h",
      "1d"
    ],
    "time_options": [
      "5m",
      "15m",
      "1h",
      "6h",
      "12h",
      "24h",
      "2d",
      "7d",
      "30d"
    ]
  },
  "timezone": "",
  "title": "Cambio em tempo real",
  "uid": "hi4r03MWk",
  "version": 15,
  "description": "Este painel foi feito para monitorar o valor do dólar americano, dólar canadense e euro em reais.\nThe graphics are populated by the free API: https://docs.awesomeapi.com.br/api-de-moedas"
}