Skip to content

Commit a302e1e

Browse files
Merge pull request #52 from NETWAYS/grafana_11.3_fix
Change type of dashboard variables from constant to custom
2 parents eca73ad + 31fe65b commit a302e1e

37 files changed

+158
-158
lines changed

dashboards/graphite/icinga2-default.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,21 @@
1010
},
1111
{
1212
"name": "VAR_HOSTNAME",
13-
"type": "constant",
13+
"type": "custom",
1414
"label": "hostname",
1515
"value": "null",
1616
"description": ""
1717
},
1818
{
1919
"name": "VAR_SERVICE",
20-
"type": "constant",
20+
"type": "custom",
2121
"label": "service",
2222
"value": "null",
2323
"description": ""
2424
},
2525
{
2626
"name": "VAR_COMMAND",
27-
"type": "constant",
27+
"type": "custom",
2828
"label": "command",
2929
"value": "null",
3030
"description": ""
@@ -213,7 +213,7 @@
213213
}
214214
],
215215
"query": "${VAR_HOSTNAME}",
216-
"type": "constant"
216+
"type": "custom"
217217
},
218218
{
219219
"current": {
@@ -230,7 +230,7 @@
230230
}
231231
],
232232
"query": "${VAR_SERVICE}",
233-
"type": "constant"
233+
"type": "custom"
234234
},
235235
{
236236
"current": {
@@ -247,7 +247,7 @@
247247
}
248248
],
249249
"query": "${VAR_COMMAND}",
250-
"type": "constant"
250+
"type": "custom"
251251
}
252252
]
253253
},

dashboards/graphite/itl/disk.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,21 @@
1010
},
1111
{
1212
"name": "VAR_HOSTNAME",
13-
"type": "constant",
13+
"type": "custom",
1414
"label": "hostname",
1515
"value": "null",
1616
"description": ""
1717
},
1818
{
1919
"name": "VAR_SERVICE",
20-
"type": "constant",
20+
"type": "custom",
2121
"label": "service",
2222
"value": "null",
2323
"description": ""
2424
},
2525
{
2626
"name": "VAR_COMMAND",
27-
"type": "constant",
27+
"type": "custom",
2828
"label": "command",
2929
"value": "null",
3030
"description": ""
@@ -210,7 +210,7 @@
210210
}
211211
],
212212
"query": "${VAR_HOSTNAME}",
213-
"type": "constant"
213+
"type": "custom"
214214
},
215215
{
216216
"current": {
@@ -227,7 +227,7 @@
227227
}
228228
],
229229
"query": "${VAR_SERVICE}",
230-
"type": "constant"
230+
"type": "custom"
231231
},
232232
{
233233
"current": {
@@ -244,7 +244,7 @@
244244
}
245245
],
246246
"query": "${VAR_COMMAND}",
247-
"type": "constant"
247+
"type": "custom"
248248
}
249249
]
250250
},

dashboards/graphite/itl/hostalive.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,21 @@
1010
},
1111
{
1212
"name": "VAR_HOSTNAME",
13-
"type": "constant",
13+
"type": "custom",
1414
"label": "hostname",
1515
"value": "null",
1616
"description": ""
1717
},
1818
{
1919
"name": "VAR_SERVICE",
20-
"type": "constant",
20+
"type": "custom",
2121
"label": "service",
2222
"value": "null",
2323
"description": ""
2424
},
2525
{
2626
"name": "VAR_COMMAND",
27-
"type": "constant",
27+
"type": "custom",
2828
"label": "command",
2929
"value": "null",
3030
"description": ""
@@ -217,7 +217,7 @@
217217
}
218218
],
219219
"query": "${VAR_HOSTNAME}",
220-
"type": "constant"
220+
"type": "custom"
221221
},
222222
{
223223
"current": {
@@ -234,7 +234,7 @@
234234
}
235235
],
236236
"query": "${VAR_SERVICE}",
237-
"type": "constant"
237+
"type": "custom"
238238
},
239239
{
240240
"current": {
@@ -251,7 +251,7 @@
251251
}
252252
],
253253
"query": "${VAR_COMMAND}",
254-
"type": "constant"
254+
"type": "custom"
255255
}
256256
]
257257
},

dashboards/graphite/itl/hostalive4.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,21 @@
1010
},
1111
{
1212
"name": "VAR_HOSTNAME",
13-
"type": "constant",
13+
"type": "custom",
1414
"label": "hostname",
1515
"value": "null",
1616
"description": ""
1717
},
1818
{
1919
"name": "VAR_SERVICE",
20-
"type": "constant",
20+
"type": "custom",
2121
"label": "service",
2222
"value": "null",
2323
"description": ""
2424
},
2525
{
2626
"name": "VAR_COMMAND",
27-
"type": "constant",
27+
"type": "custom",
2828
"label": "command",
2929
"value": "null",
3030
"description": ""
@@ -217,7 +217,7 @@
217217
}
218218
],
219219
"query": "${VAR_HOSTNAME}",
220-
"type": "constant"
220+
"type": "custom"
221221
},
222222
{
223223
"current": {
@@ -234,7 +234,7 @@
234234
}
235235
],
236236
"query": "${VAR_SERVICE}",
237-
"type": "constant"
237+
"type": "custom"
238238
},
239239
{
240240
"current": {
@@ -251,7 +251,7 @@
251251
}
252252
],
253253
"query": "${VAR_COMMAND}",
254-
"type": "constant"
254+
"type": "custom"
255255
}
256256
]
257257
},

dashboards/graphite/itl/hostalive6.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,21 @@
1010
},
1111
{
1212
"name": "VAR_HOSTNAME",
13-
"type": "constant",
13+
"type": "custom",
1414
"label": "hostname",
1515
"value": "null",
1616
"description": ""
1717
},
1818
{
1919
"name": "VAR_SERVICE",
20-
"type": "constant",
20+
"type": "custom",
2121
"label": "service",
2222
"value": "null",
2323
"description": ""
2424
},
2525
{
2626
"name": "VAR_COMMAND",
27-
"type": "constant",
27+
"type": "custom",
2828
"label": "command",
2929
"value": "null",
3030
"description": ""
@@ -218,7 +218,7 @@
218218
}
219219
],
220220
"query": "${VAR_HOSTNAME}",
221-
"type": "constant"
221+
"type": "custom"
222222
},
223223
{
224224
"current": {
@@ -235,7 +235,7 @@
235235
}
236236
],
237237
"query": "${VAR_SERVICE}",
238-
"type": "constant"
238+
"type": "custom"
239239
},
240240
{
241241
"current": {
@@ -252,7 +252,7 @@
252252
}
253253
],
254254
"query": "${VAR_COMMAND}",
255-
"type": "constant"
255+
"type": "custom"
256256
}
257257
]
258258
},

dashboards/graphite/itl/http.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,21 @@
1010
},
1111
{
1212
"name": "VAR_HOSTNAME",
13-
"type": "constant",
13+
"type": "custom",
1414
"label": "hostname",
1515
"value": "null",
1616
"description": ""
1717
},
1818
{
1919
"name": "VAR_SERVICE",
20-
"type": "constant",
20+
"type": "custom",
2121
"label": "service",
2222
"value": "null",
2323
"description": ""
2424
},
2525
{
2626
"name": "VAR_COMMAND",
27-
"type": "constant",
27+
"type": "custom",
2828
"label": "command",
2929
"value": "null",
3030
"description": ""
@@ -216,7 +216,7 @@
216216
}
217217
],
218218
"query": "${VAR_HOSTNAME}",
219-
"type": "constant"
219+
"type": "custom"
220220
},
221221
{
222222
"current": {
@@ -233,7 +233,7 @@
233233
}
234234
],
235235
"query": "${VAR_SERVICE}",
236-
"type": "constant"
236+
"type": "custom"
237237
},
238238
{
239239
"current": {
@@ -250,7 +250,7 @@
250250
}
251251
],
252252
"query": "${VAR_COMMAND}",
253-
"type": "constant"
253+
"type": "custom"
254254
}
255255
]
256256
},

dashboards/graphite/itl/ido.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,21 @@
1010
},
1111
{
1212
"name": "VAR_HOSTNAME",
13-
"type": "constant",
13+
"type": "custom",
1414
"label": "hostname",
1515
"value": "null",
1616
"description": ""
1717
},
1818
{
1919
"name": "VAR_SERVICE",
20-
"type": "constant",
20+
"type": "custom",
2121
"label": "service",
2222
"value": "null",
2323
"description": ""
2424
},
2525
{
2626
"name": "VAR_COMMAND",
27-
"type": "constant",
27+
"type": "custom",
2828
"label": "command",
2929
"value": "null",
3030
"description": ""
@@ -222,7 +222,7 @@
222222
}
223223
],
224224
"query": "${VAR_HOSTNAME}",
225-
"type": "constant"
225+
"type": "custom"
226226
},
227227
{
228228
"current": {
@@ -239,7 +239,7 @@
239239
}
240240
],
241241
"query": "${VAR_SERVICE}",
242-
"type": "constant"
242+
"type": "custom"
243243
},
244244
{
245245
"current": {
@@ -256,7 +256,7 @@
256256
}
257257
],
258258
"query": "${VAR_COMMAND}",
259-
"type": "constant"
259+
"type": "custom"
260260
}
261261
]
262262
},

0 commit comments

Comments
 (0)