Grafana dashboard: Linux Servers - Banco
Description: Linux Servers - Banco

Dashboard para instâncias linux de banco de dados.

{
  "__inputs": [
    {
      "name": "DS_ZABBIX_- TJDFT",
      "label": "Zabbix ",
      "description": "",
      "type": "datasource",
      "pluginId": "alexanderzobnin-zabbix-datasource",
      "pluginName": "Zabbix"
    }
  ],
  "__requires": [
    {
      "type": "datasource",
      "id": "alexanderzobnin-zabbix-datasource",
      "name": "Zabbix",
      "version": "1.0.0"
    },
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "4.6.3"
    },
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph",
      "version": ""
    },
    {
      "type": "panel",
      "id": "singlestat",
      "name": "Singlestat",
      "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": 6045,
  "graphTooltip": 0,
  "hideControls": false,
  "id": null,
  "links": [],
  "refresh": false,
  "rows": [
    {
      "collapse": false,
      "height": 454,
      "panels": [
        {
          "aliasColors": {
            "CPU Usage": "#e24d42"
          },
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${DS_ZABBIX_- TJDFT}",
          "fill": 1,
          "id": 1,
          "legend": {
            "alignAsTable": false,
            "avg": false,
            "current": true,
            "max": false,
            "min": false,
            "rightSide": false,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 1,
          "links": [],
          "nullPointMode": "null",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [
            {
              "alias": "CPU Usage",
              "fill": 0,
              "yaxis": 2
            },
            {
              "alias": "mem",
              "fill": 0
            }
          ],
          "spaceLength": 10,
          "span": 6,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "application": {
                "filter": "Memory"
              },
              "functions": [
                {
                  "def": {
                    "category": "Alias",
                    "defaultParams": [],
                    "name": "setAliasByRegex",
                    "params": [
                      {
                        "name": "aliasByRegex",
                        "type": "string"
                      }
                    ]
                  },
                  "params": [
                    "mem"
                  ],
                  "text": "setAliasByRegex(mem)"
                }
              ],
              "group": {
                "filter": "Linux servers"
              },
              "host": {
                "filter": "$Hosts"
              },
              "item": {
                "filter": "Used memory"
              },
              "mode": 0,
              "options": {
                "showDisabledItems": false
              },
              "refId": "A",
              "triggers": {
                "acknowledged": 2,
                "count": true,
                "minSeverity": 3
              }
            },
            {
              "application": {
                "filter": "CPU"
              },
              "functions": [],
              "group": {
                "filter": "Linux servers"
              },
              "host": {
                "filter": "$Hosts"
              },
              "item": {
                "filter": "CPU Usage"
              },
              "mode": 0,
              "options": {
                "showDisabledItems": false
              },
              "refId": "B",
              "triggers": {
                "acknowledged": 2,
                "count": true,
                "minSeverity": 3
              }
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeShift": null,
          "title": "$Hosts - Used memory  / CPU Usage",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "decbytes",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "percent",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ]
        },
        {
          "cacheTimeout": null,
          "colorBackground": false,
          "colorValue": false,
          "colors": [
            "#3f6833",
            "#ef843c",
            "#d44a3a"
          ],
          "datasource": "${DS_ZABBIX_- TJDFT}",
          "decimals": null,
          "format": "percent",
          "gauge": {
            "maxValue": 100,
            "minValue": 0,
            "show": true,
            "thresholdLabels": false,
            "thresholdMarkers": true
          },
          "id": 5,
          "interval": null,
          "links": [],
          "mappingType": 1,
          "mappingTypes": [
            {
              "name": "value to text",
              "value": 1
            },
            {
              "name": "range to text",
              "value": 2
            }
          ],
          "maxDataPoints": 100,
          "nullPointMode": "connected",
          "nullText": null,
          "postfix": "",
          "postfixFontSize": "50%",
          "prefix": "",
          "prefixFontSize": "50%",
          "rangeMaps": [
            {
              "from": "null",
              "text": "N/A",
              "to": "null"
            }
          ],
          "span": 3,
          "sparkline": {
            "fillColor": "rgba(31, 118, 189, 0.18)",
            "full": false,
            "lineColor": "rgb(31, 120, 193)",
            "show": false
          },
          "tableColumn": "",
          "targets": [
            {
              "application": {
                "filter": "CPU"
              },
              "functions": [],
              "group": {
                "filter": "Linux servers"
              },
              "host": {
                "filter": "$Hosts"
              },
              "item": {
                "filter": "CPU Usage"
              },
              "mode": 0,
              "options": {
                "showDisabledItems": false
              },
              "refId": "A",
              "triggers": {
                "acknowledged": 2,
                "count": true,
                "minSeverity": 3
              }
            }
          ],
          "thresholds": "85, 95",
          "title": "$Hosts - CPU Usage",
          "type": "singlestat",
          "valueFontSize": "80%",
          "valueMaps": [
            {
              "op": "=",
              "text": "N/A",
              "value": "null"
            }
          ],
          "valueName": "current"
        },
        {
          "aliasColors": {
            "CPU iowait time": "#e5ac0e"
          },
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${DS_ZABBIX_- TJDFT}",
          "fill": 1,
          "id": 4,
          "legend": {
            "alignAsTable": true,
            "avg": true,
            "current": true,
            "max": false,
            "min": true,
            "show": true,
            "sortDesc": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 1,
          "links": [],
          "nullPointMode": "null",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [
            {
              "alias": "cpu",
              "color": "#cca300",
              "fill": 3
            }
          ],
          "spaceLength": 10,
          "span": 3,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "application": {
                "filter": "CPU"
              },
              "functions": [
                {
                  "added": false,
                  "def": {
                    "category": "Alias",
                    "defaultParams": [],
                    "name": "setAlias",
                    "params": [
                      {
                        "name": "alias",
                        "type": "string"
                      }
                    ]
                  },
                  "params": [
                    "cpu"
                  ],
                  "text": "setAlias(cpu)"
                }
              ],
              "group": {
                "filter": "Linux servers"
              },
              "host": {
                "filter": "$Hosts"
              },
              "item": {
                "filter": "$CPU"
              },
              "mode": 0,
              "options": {
                "showDisabledItems": false
              },
              "refId": "A",
              "triggers": {
                "acknowledged": 2,
                "count": true,
                "minSeverity": 3
              }
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeShift": null,
          "title": "$Hosts - $CPU",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "percent",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": false
            }
          ]
        }
      ],
      "repeat": null,
      "repeatIteration": null,
      "repeatRowId": null,
      "showTitle": false,
      "title": "Dashboard Row",
      "titleSize": "h6"
    },
    {
      "collapse": false,
      "height": 436,
      "panels": [
        {
          "aliasColors": {
            "Used memory": "#9ac48a",
            "mem": "#7eb26d"
          },
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${DS_ZABBIX_- TJDFT}",
          "fill": 1,
          "id": 3,
          "legend": {
            "alignAsTable": true,
            "avg": true,
            "current": false,
            "max": false,
            "min": true,
            "rightSide": false,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 1,
          "links": [],
          "nullPointMode": "null",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [
            {
              "alias": "mem",
              "fill": 3
            }
          ],
          "spaceLength": 10,
          "span": 6,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "application": {
                "filter": "Memory"
              },
              "functions": [
                {
                  "added": false,
                  "def": {
                    "category": "Alias",
                    "defaultParams": [],
                    "name": "setAliasByRegex",
                    "params": [
                      {
                        "name": "aliasByRegex",
                        "type": "string"
                      }
                    ]
                  },
                  "params": [
                    "mem"
                  ],
                  "text": "setAliasByRegex(mem)"
                }
              ],
              "group": {
                "filter": "Linux servers"
              },
              "host": {
                "filter": "$Hosts"
              },
              "item": {
                "filter": "$Memory"
              },
              "mode": 0,
              "options": {
                "showDisabledItems": false
              },
              "refId": "A",
              "triggers": {
                "acknowledged": 2,
                "count": true,
                "minSeverity": 3
              }
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeShift": null,
          "title": "$Hosts - $Memory",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "decimals": 0,
              "format": "decbytes",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ]
        },
        {
          "aliasColors": {
            "CPU Usage": "#e24d42",
            "space": "#7eb26d"
          },
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${DS_ZABBIX_- TJDFT}",
          "fill": 1,
          "id": 2,
          "legend": {
            "alignAsTable": true,
            "avg": true,
            "current": true,
            "max": false,
            "min": false,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 1,
          "links": [],
          "nullPointMode": "connected",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [
            {
              "alias": "space",
              "fill": 3,
              "fillBelowTo": "space"
            }
          ],
          "spaceLength": 10,
          "span": 6,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "application": {
                "filter": "Filesystems"
              },
              "functions": [
                {
                  "def": {
                    "category": "Alias",
                    "defaultParams": [],
                    "name": "setAliasByRegex",
                    "params": [
                      {
                        "name": "aliasByRegex",
                        "type": "string"
                      }
                    ]
                  },
                  "params": [
                    "space"
                  ],
                  "text": "setAliasByRegex(space)"
                }
              ],
              "group": {
                "filter": "Linux servers"
              },
              "host": {
                "filter": "$Hosts"
              },
              "item": {
                "filter": "$Filesystems"
              },
              "mode": 0,
              "options": {
                "showDisabledItems": false
              },
              "refId": "A",
              "triggers": {
                "acknowledged": 2,
                "count": true,
                "minSeverity": 3
              }
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeShift": null,
          "title": "$Hosts - $Filesystems",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "decimals": 2,
              "format": "percent",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": false
            }
          ]
        }
      ],
      "repeat": null,
      "repeatIteration": null,
      "repeatRowId": null,
      "showTitle": false,
      "title": "Dashboard Row",
      "titleSize": "h6"
    },
    {
      "collapse": false,
      "height": 364,
      "panels": [
        {
          "aliasColors": {},
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${DS_ZABBIX_- TJDFT}",
          "fill": 1,
          "id": 7,
          "legend": {
            "avg": false,
            "current": false,
            "max": false,
            "min": false,
            "show": true,
            "total": false,
            "values": false
          },
          "lines": true,
          "linewidth": 1,
          "links": [],
          "nullPointMode": "null",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [
            {
              "alias": "banco",
              "fill": 3
            }
          ],
          "spaceLength": 10,
          "span": 6,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "application": {
                "filter": "Banco de Dados"
              },
              "functions": [
                {
                  "added": false,
                  "def": {
                    "category": "Alias",
                    "defaultParams": [],
                    "name": "setAlias",
                    "params": [
                      {
                        "name": "alias",
                        "type": "string"
                      }
                    ]
                  },
                  "params": [
                    "banco"
                  ],
                  "text": "setAlias(banco)"
                }
              ],
              "group": {
                "filter": "Linux servers"
              },
              "host": {
                "filter": "$Hosts"
              },
              "item": {
                "filter": "$Banco"
              },
              "mode": 0,
              "options": {
                "showDisabledItems": false
              },
              "refId": "A",
              "triggers": {
                "acknowledged": 2,
                "count": true,
                "minSeverity": 3
              }
            },
            {
              "application": {
                "filter": "Banco de Dados"
              },
              "functions": [],
              "group": {
                "filter": "Linux servers"
              },
              "hide": true,
              "host": {
                "filter": "$Hosts"
              },
              "item": {
                "filter": "Postgres Bouncer 6432"
              },
              "mode": 0,
              "options": {
                "showDisabledItems": false
              },
              "refId": "B",
              "triggers": {
                "acknowledged": 2,
                "count": true,
                "minSeverity": 3
              }
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeShift": null,
          "title": "$Hosts - $Banco",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "ms",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            }
          ]
        },
        {
          "aliasColors": {
            "Outcoming network traffic on eno16780032": "#6ed0e0",
            "interface": "#7eb26d"
          },
          "bars": false,
          "dashLength": 10,
          "dashes": false,
          "datasource": "${DS_ZABBIX_- TJDFT}",
          "fill": 1,
          "id": 8,
          "legend": {
            "alignAsTable": true,
            "avg": true,
            "current": true,
            "max": false,
            "min": false,
            "show": true,
            "total": false,
            "values": true
          },
          "lines": true,
          "linewidth": 1,
          "links": [],
          "nullPointMode": "null",
          "percentage": false,
          "pointradius": 5,
          "points": false,
          "renderer": "flot",
          "seriesOverrides": [
            {
              "alias": "interface",
              "fill": 3
            }
          ],
          "spaceLength": 10,
          "span": 6,
          "stack": false,
          "steppedLine": false,
          "targets": [
            {
              "application": {
                "filter": "Network Interfaces"
              },
              "functions": [
                {
                  "def": {
                    "category": "Alias",
                    "defaultParams": [],
                    "name": "setAlias",
                    "params": [
                      {
                        "name": "alias",
                        "type": "string"
                      }
                    ]
                  },
                  "params": [
                    "interface"
                  ],
                  "text": "setAlias(interface)"
                },
                {
                  "def": {
                    "category": "Alias",
                    "defaultParams": [],
                    "name": "setAliasByRegex",
                    "params": [
                      {
                        "name": "aliasByRegex",
                        "type": "string"
                      }
                    ]
                  },
                  "params": [
                    "interface"
                  ],
                  "text": "setAliasByRegex(interface)"
                }
              ],
              "group": {
                "filter": "Linux servers"
              },
              "host": {
                "filter": "$Hosts"
              },
              "item": {
                "filter": "$Interfaces"
              },
              "mode": 0,
              "options": {
                "showDisabledItems": false
              },
              "refId": "A",
              "triggers": {
                "acknowledged": 2,
                "count": true,
                "minSeverity": 3
              }
            }
          ],
          "thresholds": [],
          "timeFrom": null,
          "timeShift": null,
          "title": "$Hosts - $Interfaces",
          "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
          },
          "type": "graph",
          "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": []
          },
          "yaxes": [
            {
              "format": "Bps",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": true
            },
            {
              "format": "short",
              "label": null,
              "logBase": 1,
              "max": null,
              "min": null,
              "show": false
            }
          ]
        }
      ],
      "repeat": null,
      "repeatIteration": null,
      "repeatRowId": null,
      "showTitle": false,
      "title": "Dashboard Row",
      "titleSize": "h6"
    }
  ],
  "schemaVersion": 14,
  "style": "dark",
  "tags": [
    "Linux",
    "banco",
    "tjdft"
  ],
  "templating": {
    "list": [
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_ZABBIX_- TJDFT}",
        "hide": 0,
        "includeAll": false,
        "label": null,
        "multi": false,
        "name": "Hosts",
        "options": [],
        "query": "{Linux servers}{*}",
        "refresh": 1,
        "regex": "bdu11.tribunal.tjdft.jus.br|bdu15.tribunal.tjdft.jus.br|bdu16.tribunal.tjdft.jus.br|bdu20.tribunal.tjdft.jus.br|bdu28.tribunal.tjdft.jus.br|bdu30.tribunal.tjdft.jus.br|bdu31.tribunal.tjdft.jus.br",
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_ZABBIX_- TJDFT}",
        "hide": 0,
        "includeAll": false,
        "label": null,
        "multi": false,
        "name": "CPU",
        "options": [],
        "query": "{Linux servers}{$Hosts}{CPU}{*}",
        "refresh": 1,
        "regex": "",
        "sort": 1,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_ZABBIX_- TJDFT}",
        "hide": 0,
        "includeAll": false,
        "label": null,
        "multi": false,
        "name": "Memory",
        "options": [],
        "query": "{Linux servers}{$Hosts}{Memory}{*}",
        "refresh": 1,
        "regex": "",
        "sort": 1,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_ZABBIX_- TJDFT}",
        "hide": 0,
        "includeAll": false,
        "label": null,
        "multi": false,
        "name": "Interfaces",
        "options": [],
        "query": "{Linux servers}{$Hosts}{Network Interfaces}{*}",
        "refresh": 1,
        "regex": "",
        "sort": 1,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_ZABBIX_- TJDFT}",
        "hide": 0,
        "includeAll": false,
        "label": null,
        "multi": false,
        "name": "Filesystems",
        "options": [],
        "query": "{Linux servers}{$Hosts}{Filesystems}{*}",
        "refresh": 1,
        "regex": "Free.*",
        "sort": 1,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_ZABBIX_- TJDFT}",
        "hide": 0,
        "includeAll": false,
        "label": null,
        "multi": false,
        "name": "Banco",
        "options": [],
        "query": "{Linux servers}{$Hosts}{Banco de Dados}{*}",
        "refresh": 1,
        "regex": "",
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      }
    ]
  },
  "time": {
    "from": "now-3h",
    "to": "now"
  },
  "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": "browser",
  "title": "Linux Servers - Banco",
  "version": 11,
  "description": "Linux Servers - Banco"
}