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