1.仪表盘插件的下载地址Grafa-na dashboards | Grafana Labs2.选择显示node-explorter的仪表盘点击进入发现两种方式可以导入仪表盘第一种,在联网的状态下,可以直接复制仪表盘的Id进行导入在Grafana界面(http:192.168.40.180:3000)中点击最后看到这些数据就说明成功了第二种方式下载JSON文件导入在Grafana界面(http:192.168.40.180:3000)中点击同样看到下面的内容就表示成功了mysql和nginx使用相同的方式添加仪表盘即可注意:这里发现最新的nginx-vtx-exporter可能与Grafana中提供的json格式不符合,这里放上可以显示的nginx-vtx-exporter的版本和Grafana中提供的json文件{ "__inputs": [ { "name": "DS_PROMETHEUS", "label": "prometheus", "description": "", "type": "datasource", "pluginId": "prometheus", "pluginName": "Prometheus" } ], "__requires": [ { "type": "panel", "id": "graph", "name": "Graph", "version": "" }, { "type": "grafana", "id": "grafana", "name": "Grafana", "version": "4.0.2" }, { "type": "datasource", "id": "prometheus", "name": "Prometheus", "version": "1.0.0" } ], "description": "Show stats from the hnlq715/nginx-vts-exporter.", "editable": true, "gnetId": 2949, "graphTooltip": 0, "hideControls": false, "id": null, "links": [], "rows": [ { "collapse": false, "height": "250px", "panels": [ { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_PROMETHEUS}", "fill": 1, "id": 1, "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": [], "spaceLength": 10, "span": 6, "stack": false, "steppedLine": false, "targets": [ { "expr": "nginx_server_connections{instance=~\"$Instance\", status=~\"active|writing|reading|waiting\"}", "format": "time_series", "intervalFactor": 2, "legendFormat": "{ {status}}", "refId": "B" } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "Server Connections", "tooltip": { "msResolution": false, "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ] }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_PROMETHEUS}", "fill": 1, "id": 4, "legend": {