1{
2  "__inputs": [
3    {
4      "name": "DS_ICINGA2",
5      "label": "Icinga2",
6      "description": "",
7      "type": "datasource",
8      "pluginId": "influxdb",
9      "pluginName": "InfluxDB"
10    },
11    {
12      "name": "VAR_HOSTNAME",
13      "type": "constant",
14      "label": "hostname",
15      "value": "null",
16      "description": ""
17    }
18  ],
19  "__requires": [
20    {
21      "type": "grafana",
22      "id": "grafana",
23      "name": "Grafana",
24      "version": "4.6.3"
25    },
26    {
27      "type": "panel",
28      "id": "graph",
29      "name": "Graph",
30      "version": ""
31    },
32    {
33      "type": "datasource",
34      "id": "influxdb",
35      "name": "InfluxDB",
36      "version": "1.0.0"
37    }
38  ],
39  "annotations": {
40    "list": [
41      {
42        "builtIn": 1,
43        "datasource": "-- Grafana --",
44        "enable": true,
45        "hide": true,
46        "iconColor": "rgba(0, 211, 255, 1)",
47        "name": "Annotations & Alerts",
48        "type": "dashboard"
49      }
50    ]
51  },
52  "editable": true,
53  "gnetId": null,
54  "graphTooltip": 0,
55  "hideControls": false,
56  "id": null,
57  "links": [],
58  "rows": [
59    {
60      "collapse": false,
61      "height": "250px",
62      "panels": [
63        {
64          "aliasColors": {
65            "pl": "#0a50a1",
66            "rta": "#cca300"
67          },
68          "bars": false,
69          "dashLength": 10,
70          "dashes": false,
71          "datasource": "${DS_ICINGA2}",
72          "decimals": null,
73          "fill": 1,
74          "id": 1,
75          "legend": {
76            "alignAsTable": true,
77            "avg": true,
78            "current": true,
79            "hideEmpty": false,
80            "hideZero": true,
81            "max": true,
82            "min": true,
83            "show": true,
84            "sortDesc": true,
85            "total": false,
86            "values": true
87          },
88          "lines": true,
89          "linewidth": 1,
90          "links": [],
91          "nullPointMode": "null",
92          "percentage": false,
93          "pointradius": 5,
94          "points": false,
95          "renderer": "flot",
96          "seriesOverrides": [
97            {
98              "alias": "pl",
99              "fill": 0,
100              "yaxis": 2
101            }
102          ],
103          "spaceLength": 10,
104          "span": 12,
105          "stack": false,
106          "steppedLine": false,
107          "targets": [
108            {
109              "alias": "$tag_metric",
110              "dsType": "influxdb",
111              "groupBy": [
112                {
113                  "params": [
114                    "$__interval"
115                  ],
116                  "type": "time"
117                },
118                {
119                  "params": [
120                    "metric"
121                  ],
122                  "type": "tag"
123                },
124                {
125                  "params": [
126                    "none"
127                  ],
128                  "type": "fill"
129                }
130              ],
131              "measurement": "hostalive6",
132              "orderByTime": "ASC",
133              "policy": "default",
134              "refId": "A",
135              "resultFormat": "time_series",
136              "select": [
137                [
138                  {
139                    "params": [
140                      "value"
141                    ],
142                    "type": "field"
143                  },
144                  {
145                    "params": [],
146                    "type": "mean"
147                  }
148                ]
149              ],
150              "tags": [
151                {
152                  "key": "hostname",
153                  "operator": "=~",
154                  "value": "/^$hostname$/"
155                }
156              ]
157            }
158          ],
159          "thresholds": [],
160          "timeFrom": null,
161          "timeShift": null,
162          "title": "hostalive6",
163          "tooltip": {
164            "shared": true,
165            "sort": 0,
166            "value_type": "individual"
167          },
168          "type": "graph",
169          "xaxis": {
170            "buckets": null,
171            "mode": "time",
172            "name": null,
173            "show": true,
174            "values": []
175          },
176          "yaxes": [
177            {
178              "format": "s",
179              "label": "rta",
180              "logBase": 1,
181              "max": null,
182              "min": null,
183              "show": true
184            },
185            {
186              "decimals": 0,
187              "format": "short",
188              "label": "pl",
189              "logBase": 1,
190              "max": null,
191              "min": "0",
192              "show": true
193            }
194          ]
195        }
196      ],
197      "repeat": null,
198      "repeatIteration": null,
199      "repeatRowId": null,
200      "showTitle": false,
201      "title": "Dashboard Row",
202      "titleSize": "h6"
203    }
204  ],
205  "schemaVersion": 14,
206  "style": "dark",
207  "tags": [],
208  "templating": {
209    "list": [
210      {
211        "current": {
212          "value": "${VAR_HOSTNAME}",
213          "text": "${VAR_HOSTNAME}"
214        },
215        "hide": 2,
216        "label": null,
217        "name": "hostname",
218        "options": [
219          {
220            "value": "${VAR_HOSTNAME}",
221            "text": "${VAR_HOSTNAME}"
222          }
223        ],
224        "query": "${VAR_HOSTNAME}",
225        "type": "constant"
226      }
227    ]
228  },
229  "time": {
230    "from": "now-6h",
231    "to": "now"
232  },
233  "timepicker": {
234    "refresh_intervals": [
235      "5s",
236      "10s",
237      "30s",
238      "1m",
239      "5m",
240      "15m",
241      "30m",
242      "1h",
243      "2h",
244      "1d"
245    ],
246    "time_options": [
247      "5m",
248      "15m",
249      "1h",
250      "6h",
251      "12h",
252      "24h",
253      "2d",
254      "7d",
255      "30d"
256    ]
257  },
258  "timezone": "",
259  "title": "hostalive6",
260  "version": 1
261}