Pārlūkot izejas kodu

20181012 dashboard/status.json.in (neue Firmwareversionen)

Altlast 6 gadi atpakaļ
vecāks
revīzija
2440a4686b
2 mainītis faili ar 34 papildinājumiem un 4 dzēšanām
  1. 17 2
      dashboard/status-render.json.in
  2. 17 2
      dashboard/status.json.in

+ 17 - 2
dashboard/status-render.json.in

@@ -399,7 +399,7 @@
        "step" : 1800
       }
      ],
-     "thresholds" : "1000,1002",
+     "thresholds" : "1000,1003",
      "title" : "firmware",
      "transparent" : false,
      "type" : "singlestat",
@@ -407,6 +407,21 @@
      "valueMaps" : [
       {
        "op" : "=",
+       "text" : "2.0.4",
+       "value" : "20004"
+      },
+      {
+       "op" : "=",
+       "text" : "0.11.8",
+       "value" : "1108"
+      },
+      {
+       "op" : "=",
+       "text" : "0.11.7",
+       "value" : "1107"
+      },
+      {
+       "op" : "=",
        "text" : "0.11.6",
        "value" : "1106"
       },
@@ -1152,7 +1167,7 @@
      "steppedLine" : false,
      "targets" : [
       {
-       "expr" : "ffdo_nodes_detail_clients{hostname=\"[[hostname]]\"}",
+       "expr" : "%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%clients{hostname=\"[[hostname]]\"}",
        "format" : "time_series",
        "intervalFactor" : 2,
        "legendFormat" : "clients",

+ 17 - 2
dashboard/status.json.in

@@ -399,7 +399,7 @@
        "step" : 1800
       }
      ],
-     "thresholds" : "1000,1002",
+     "thresholds" : "1000,1003",
      "title" : "firmware",
      "transparent" : false,
      "type" : "singlestat",
@@ -407,6 +407,21 @@
      "valueMaps" : [
       {
        "op" : "=",
+       "text" : "2.0.4",
+       "value" : "20004"
+      },
+      {
+       "op" : "=",
+       "text" : "0.11.8",
+       "value" : "1108"
+      },
+      {
+       "op" : "=",
+       "text" : "0.11.7",
+       "value" : "1107"
+      },
+      {
+       "op" : "=",
        "text" : "0.11.6",
        "value" : "1106"
       },
@@ -1152,7 +1167,7 @@
      "steppedLine" : false,
      "targets" : [
       {
-       "expr" : "ffdo_nodes_detail_clients{hostname=\"[[hostname]]\"}",
+       "expr" : "%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%clients{hostname=\"[[hostname]]\"}",
        "format" : "time_series",
        "intervalFactor" : 2,
        "legendFormat" : "clients",