Skip to content

Commit c2389ea

Browse files
authored
Merge pull request #18 from NETWAYS/fix/influx-dashboards
Replace constant by custom in templates section
2 parents 5e65261 + 3800c6c commit c2389ea

19 files changed

+67
-67
lines changed

dashboards/influxdb/auto-repeat-disk.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@
220220
}
221221
],
222222
"query": "${VAR_HOSTNAME}",
223-
"type": "constant"
223+
"type": "custom"
224224
},
225225
{
226226
"current": {
@@ -237,7 +237,7 @@
237237
}
238238
],
239239
"query": "${VAR_SERVICE}",
240-
"type": "constant"
240+
"type": "custom"
241241
},
242242
{
243243
"allValue": null,

dashboards/influxdb/icinga2-default.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@
233233
}
234234
],
235235
"query": "${VAR_HOSTNAME}",
236-
"type": "constant"
236+
"type": "custom"
237237
},
238238
{
239239
"current": {
@@ -250,7 +250,7 @@
250250
}
251251
],
252252
"query": "${VAR_SERVICE}",
253-
"type": "constant"
253+
"type": "custom"
254254
},
255255
{
256256
"current": {
@@ -267,7 +267,7 @@
267267
}
268268
],
269269
"query": "${VAR_COMMAND}",
270-
"type": "constant"
270+
"type": "custom"
271271
}
272272
]
273273
},

dashboards/influxdb/itl/disk.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@
231231
}
232232
],
233233
"query": "${VAR_HOSTNAME}",
234-
"type": "constant"
234+
"type": "custom"
235235
},
236236
{
237237
"current": {
@@ -248,7 +248,7 @@
248248
}
249249
],
250250
"query": "${VAR_SERVICE}",
251-
"type": "constant"
251+
"type": "custom"
252252
},
253253
{
254254
"current": {
@@ -265,7 +265,7 @@
265265
}
266266
],
267267
"query": "${VAR_COMMAND}",
268-
"type": "constant"
268+
"type": "custom"
269269
}
270270
]
271271
},
@@ -301,4 +301,4 @@
301301
"timezone": "",
302302
"title": "disk",
303303
"version": 2
304-
}
304+
}

dashboards/influxdb/itl/hostalive.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@
222222
}
223223
],
224224
"query": "${VAR_HOSTNAME}",
225-
"type": "constant"
225+
"type": "custom"
226226
}
227227
]
228228
},
@@ -258,4 +258,4 @@
258258
"timezone": "",
259259
"title": "hostalive",
260260
"version": 1
261-
}
261+
}

dashboards/influxdb/itl/hostalive4.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@
222222
}
223223
],
224224
"query": "${VAR_HOSTNAME}",
225-
"type": "constant"
225+
"type": "custom"
226226
}
227227
]
228228
},
@@ -258,4 +258,4 @@
258258
"timezone": "",
259259
"title": "hostalive4",
260260
"version": 1
261-
}
261+
}

dashboards/influxdb/itl/hostalive6.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@
222222
}
223223
],
224224
"query": "${VAR_HOSTNAME}",
225-
"type": "constant"
225+
"type": "custom"
226226
}
227227
]
228228
},
@@ -258,4 +258,4 @@
258258
"timezone": "",
259259
"title": "hostalive6",
260260
"version": 1
261-
}
261+
}

dashboards/influxdb/itl/http.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@
237237
}
238238
],
239239
"query": "${VAR_HOSTNAME}",
240-
"type": "constant"
240+
"type": "custom"
241241
},
242242
{
243243
"current": {
@@ -254,7 +254,7 @@
254254
}
255255
],
256256
"query": "${VAR_SERVICE}",
257-
"type": "constant"
257+
"type": "custom"
258258
},
259259
{
260260
"current": {
@@ -271,7 +271,7 @@
271271
}
272272
],
273273
"query": "${VAR_COMMAND}",
274-
"type": "constant"
274+
"type": "custom"
275275
}
276276
]
277277
},
@@ -307,4 +307,4 @@
307307
"timezone": "",
308308
"title": "http",
309309
"version": 1
310-
}
310+
}

dashboards/influxdb/itl/ido.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@
251251
}
252252
],
253253
"query": "${VAR_HOSTNAME}",
254-
"type": "constant"
254+
"type": "custom"
255255
},
256256
{
257257
"current": {
@@ -268,7 +268,7 @@
268268
}
269269
],
270270
"query": "${VAR_SERVICE}",
271-
"type": "constant"
271+
"type": "custom"
272272
},
273273
{
274274
"current": {
@@ -285,7 +285,7 @@
285285
}
286286
],
287287
"query": "${VAR_COMMAND}",
288-
"type": "constant"
288+
"type": "custom"
289289
}
290290
]
291291
},
@@ -321,4 +321,4 @@
321321
"timezone": "",
322322
"title": "ido",
323323
"version": 1
324-
}
324+
}

dashboards/influxdb/itl/load.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@
234234
}
235235
],
236236
"query": "${VAR_HOSTNAME}",
237-
"type": "constant"
237+
"type": "custom"
238238
},
239239
{
240240
"current": {
@@ -251,7 +251,7 @@
251251
}
252252
],
253253
"query": "${VAR_SERVICE}",
254-
"type": "constant"
254+
"type": "custom"
255255
},
256256
{
257257
"current": {
@@ -268,7 +268,7 @@
268268
}
269269
],
270270
"query": "${VAR_COMMAND}",
271-
"type": "constant"
271+
"type": "custom"
272272
}
273273
]
274274
},
@@ -304,4 +304,4 @@
304304
"timezone": "",
305305
"title": "load",
306306
"version": 1
307-
}
307+
}

dashboards/influxdb/itl/nscp-local-cpu.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@
230230
}
231231
],
232232
"query": "${VAR_HOSTNAME}",
233-
"type": "constant"
233+
"type": "custom"
234234
},
235235
{
236236
"current": {
@@ -247,7 +247,7 @@
247247
}
248248
],
249249
"query": "${VAR_SERVICE}",
250-
"type": "constant"
250+
"type": "custom"
251251
},
252252
{
253253
"current": {
@@ -264,7 +264,7 @@
264264
}
265265
],
266266
"query": "${VAR_COMMAND}",
267-
"type": "constant"
267+
"type": "custom"
268268
}
269269
]
270270
},
@@ -300,4 +300,4 @@
300300
"timezone": "",
301301
"title": "nscp-local-cpu",
302302
"version": 1
303-
}
303+
}

0 commit comments

Comments
 (0)