Wei-Yu Chen | a6ae6e2 | 2022-06-08 18:15:30 +0800 | [diff] [blame^] | 1 | |
| 2 | { |
| 3 | "annotations": { |
| 4 | "list": [ |
| 5 | { |
| 6 | "builtIn": 1, |
| 7 | "datasource": "-- Grafana --", |
| 8 | "enable": true, |
| 9 | "hide": true, |
| 10 | "iconColor": "rgba(0, 211, 255, 1)", |
| 11 | "name": "Annotations & Alerts", |
| 12 | "target": { |
| 13 | "limit": 100, |
| 14 | "matchAny": false, |
| 15 | "tags": [], |
| 16 | "type": "dashboard" |
| 17 | }, |
| 18 | "type": "dashboard" |
| 19 | } |
| 20 | ] |
| 21 | }, |
| 22 | "editable": true, |
| 23 | "gnetId": null, |
| 24 | "graphTooltip": 0, |
| 25 | "id": 35, |
| 26 | "iteration": 1654702885595, |
| 27 | "links": [], |
| 28 | "panels": [ |
| 29 | { |
| 30 | "collapsed": false, |
| 31 | "datasource": null, |
| 32 | "gridPos": { |
| 33 | "h": 1, |
| 34 | "w": 24, |
| 35 | "x": 0, |
| 36 | "y": 0 |
| 37 | }, |
| 38 | "id": 22, |
| 39 | "panels": [], |
| 40 | "repeat": "enodeb", |
| 41 | "scopedVars": { |
| 42 | "enodeb": { |
| 43 | "isNone": true, |
| 44 | "selected": true, |
| 45 | "text": "None", |
| 46 | "value": "" |
| 47 | } |
| 48 | }, |
| 49 | "title": "$enodeb", |
| 50 | "type": "row" |
| 51 | }, |
| 52 | { |
| 53 | "datasource": null, |
| 54 | "fieldConfig": { |
| 55 | "defaults": {}, |
| 56 | "overrides": [] |
| 57 | }, |
| 58 | "gridPos": { |
| 59 | "h": 3, |
| 60 | "w": 24, |
| 61 | "x": 0, |
| 62 | "y": 1 |
| 63 | }, |
| 64 | "id": 8, |
| 65 | "options": { |
| 66 | "content": "<center><h1>${enodeb}</h1>", |
| 67 | "mode": "html" |
| 68 | }, |
| 69 | "pluginVersion": "7.5.11", |
| 70 | "repeat": "enodeb", |
| 71 | "repeatDirection": "h", |
| 72 | "scopedVars": { |
| 73 | "enodeb": { |
| 74 | "isNone": true, |
| 75 | "selected": true, |
| 76 | "text": "None", |
| 77 | "value": "" |
| 78 | } |
| 79 | }, |
| 80 | "title": "eNodeB Serial Number", |
| 81 | "type": "text" |
| 82 | }, |
| 83 | { |
| 84 | "datasource": null, |
| 85 | "fieldConfig": { |
| 86 | "defaults": { |
| 87 | "color": { |
| 88 | "mode": "thresholds" |
| 89 | }, |
| 90 | "mappings": [ |
| 91 | { |
| 92 | "options": { |
| 93 | "0": { |
| 94 | "color": "yellow", |
| 95 | "index": 0, |
| 96 | "text": "Connected" |
| 97 | }, |
| 98 | "1": { |
| 99 | "color": "red", |
| 100 | "index": 1, |
| 101 | "text": "Disconnected" |
| 102 | }, |
| 103 | "2": { |
| 104 | "color": "blue", |
| 105 | "index": 2, |
| 106 | "text": "Firmware Upgrading" |
| 107 | }, |
| 108 | "3": { |
| 109 | "color": "green", |
| 110 | "index": 3, |
| 111 | "text": "Configured" |
| 112 | } |
| 113 | }, |
| 114 | "type": "value" |
| 115 | } |
| 116 | ], |
| 117 | "thresholds": { |
| 118 | "mode": "absolute", |
| 119 | "steps": [ |
| 120 | { |
| 121 | "color": "green", |
| 122 | "value": null |
| 123 | } |
| 124 | ] |
| 125 | } |
| 126 | }, |
| 127 | "overrides": [ |
| 128 | { |
| 129 | "matcher": { |
| 130 | "id": "byName", |
| 131 | "options": "Last Configured at" |
| 132 | }, |
| 133 | "properties": [ |
| 134 | { |
| 135 | "id": "unit", |
| 136 | "value": "dateTimeAsSystem" |
| 137 | } |
| 138 | ] |
| 139 | } |
| 140 | ] |
| 141 | }, |
| 142 | "gridPos": { |
| 143 | "h": 3, |
| 144 | "w": 24, |
| 145 | "x": 0, |
| 146 | "y": 4 |
| 147 | }, |
| 148 | "id": 14, |
| 149 | "options": { |
| 150 | "colorMode": "background", |
| 151 | "graphMode": "area", |
| 152 | "justifyMode": "auto", |
| 153 | "orientation": "horizontal", |
| 154 | "reduceOptions": { |
| 155 | "calcs": [ |
| 156 | "lastNotNull" |
| 157 | ], |
| 158 | "fields": "", |
| 159 | "values": false |
| 160 | }, |
| 161 | "text": {}, |
| 162 | "textMode": "auto" |
| 163 | }, |
| 164 | "pluginVersion": "7.5.11", |
| 165 | "repeat": "enodeb", |
| 166 | "repeatDirection": "h", |
| 167 | "scopedVars": { |
| 168 | "enodeb": { |
| 169 | "isNone": true, |
| 170 | "selected": true, |
| 171 | "text": "None", |
| 172 | "value": "" |
| 173 | } |
| 174 | }, |
| 175 | "targets": [ |
| 176 | { |
| 177 | "datasource": { |
| 178 | "type": "prometheus", |
| 179 | "uid": "mwgLZO_7z" |
| 180 | }, |
| 181 | "exemplar": true, |
| 182 | "expr": "enodeb_current_status{serial_number=\"$enodeb\"}", |
| 183 | "interval": "", |
| 184 | "legendFormat": "eNodeB Status", |
| 185 | "refId": "A" |
| 186 | }, |
| 187 | { |
| 188 | "datasource": { |
| 189 | "type": "prometheus", |
| 190 | "uid": "mwgLZO_7z" |
| 191 | }, |
| 192 | "exemplar": true, |
| 193 | "expr": "enodeb_last_configured_time{serial_number=\"$enodeb\"}*1000", |
| 194 | "hide": false, |
| 195 | "interval": "", |
| 196 | "legendFormat": "Last Configured at", |
| 197 | "refId": "B" |
| 198 | } |
| 199 | ], |
| 200 | "title": "Last Configured", |
| 201 | "type": "stat" |
| 202 | }, |
| 203 | { |
| 204 | "datasource": null, |
| 205 | "fieldConfig": { |
| 206 | "defaults": { |
| 207 | "color": { |
| 208 | "mode": "thresholds" |
| 209 | }, |
| 210 | "mappings": [ |
| 211 | { |
| 212 | "options": { |
| 213 | "0": { |
| 214 | "color": "red", |
| 215 | "index": 0, |
| 216 | "text": "Disabled" |
| 217 | }, |
| 218 | "1": { |
| 219 | "color": "green", |
| 220 | "index": 1, |
| 221 | "text": "Enabled" |
| 222 | } |
| 223 | }, |
| 224 | "type": "value" |
| 225 | } |
| 226 | ], |
| 227 | "thresholds": { |
| 228 | "mode": "absolute", |
| 229 | "steps": [ |
| 230 | { |
| 231 | "color": "green", |
| 232 | "value": null |
| 233 | }, |
| 234 | { |
| 235 | "color": "red", |
| 236 | "value": 80 |
| 237 | } |
| 238 | ] |
| 239 | } |
| 240 | }, |
| 241 | "overrides": [] |
| 242 | }, |
| 243 | "gridPos": { |
| 244 | "h": 3, |
| 245 | "w": 24, |
| 246 | "x": 0, |
| 247 | "y": 7 |
| 248 | }, |
| 249 | "id": 16, |
| 250 | "options": { |
| 251 | "colorMode": "background", |
| 252 | "graphMode": "area", |
| 253 | "justifyMode": "auto", |
| 254 | "orientation": "auto", |
| 255 | "reduceOptions": { |
| 256 | "calcs": [ |
| 257 | "lastNotNull" |
| 258 | ], |
| 259 | "fields": "", |
| 260 | "values": false |
| 261 | }, |
| 262 | "text": {}, |
| 263 | "textMode": "auto" |
| 264 | }, |
| 265 | "pluginVersion": "7.5.11", |
| 266 | "repeat": "enodeb", |
| 267 | "repeatDirection": "h", |
| 268 | "scopedVars": { |
| 269 | "enodeb": { |
| 270 | "isNone": true, |
| 271 | "selected": true, |
| 272 | "text": "None", |
| 273 | "value": "" |
| 274 | } |
| 275 | }, |
| 276 | "targets": [ |
| 277 | { |
| 278 | "datasource": { |
| 279 | "type": "prometheus", |
| 280 | "uid": "mwgLZO_7z" |
| 281 | }, |
| 282 | "exemplar": true, |
| 283 | "expr": "enodeb_op_status{serial_number=\"$enodeb\"}", |
| 284 | "interval": "", |
| 285 | "legendFormat": "", |
| 286 | "refId": "A" |
| 287 | } |
| 288 | ], |
| 289 | "title": "RF Status", |
| 290 | "type": "stat" |
| 291 | }, |
| 292 | { |
| 293 | "datasource": null, |
| 294 | "fieldConfig": { |
| 295 | "defaults": { |
| 296 | "color": { |
| 297 | "mode": "thresholds" |
| 298 | }, |
| 299 | "mappings": [ |
| 300 | { |
| 301 | "options": { |
| 302 | "0": { |
| 303 | "color": "red", |
| 304 | "index": 0, |
| 305 | "text": "disabled" |
| 306 | }, |
| 307 | "1": { |
| 308 | "color": "green", |
| 309 | "index": 1, |
| 310 | "text": "enabled" |
| 311 | } |
| 312 | }, |
| 313 | "type": "value" |
| 314 | } |
| 315 | ], |
| 316 | "thresholds": { |
| 317 | "mode": "absolute", |
| 318 | "steps": [ |
| 319 | { |
| 320 | "color": "green", |
| 321 | "value": null |
| 322 | }, |
| 323 | { |
| 324 | "color": "red", |
| 325 | "value": 80 |
| 326 | } |
| 327 | ] |
| 328 | } |
| 329 | }, |
| 330 | "overrides": [] |
| 331 | }, |
| 332 | "gridPos": { |
| 333 | "h": 3, |
| 334 | "w": 24, |
| 335 | "x": 0, |
| 336 | "y": 10 |
| 337 | }, |
| 338 | "id": 18, |
| 339 | "options": { |
| 340 | "colorMode": "background", |
| 341 | "graphMode": "area", |
| 342 | "justifyMode": "auto", |
| 343 | "orientation": "auto", |
| 344 | "reduceOptions": { |
| 345 | "calcs": [ |
| 346 | "lastNotNull" |
| 347 | ], |
| 348 | "fields": "", |
| 349 | "values": false |
| 350 | }, |
| 351 | "text": {}, |
| 352 | "textMode": "auto" |
| 353 | }, |
| 354 | "pluginVersion": "7.5.11", |
| 355 | "repeat": "enodeb", |
| 356 | "repeatDirection": "h", |
| 357 | "scopedVars": { |
| 358 | "enodeb": { |
| 359 | "isNone": true, |
| 360 | "selected": true, |
| 361 | "text": "None", |
| 362 | "value": "" |
| 363 | } |
| 364 | }, |
| 365 | "targets": [ |
| 366 | { |
| 367 | "datasource": { |
| 368 | "type": "prometheus", |
| 369 | "uid": "mwgLZO_7z" |
| 370 | }, |
| 371 | "exemplar": true, |
| 372 | "expr": "enodeb_gps_status{serial_number=\"$enodeb\"}", |
| 373 | "interval": "", |
| 374 | "legendFormat": "", |
| 375 | "refId": "A" |
| 376 | } |
| 377 | ], |
| 378 | "title": "GPS Status", |
| 379 | "type": "stat" |
| 380 | }, |
| 381 | { |
| 382 | "datasource": null, |
| 383 | "fieldConfig": { |
| 384 | "defaults": { |
| 385 | "color": { |
| 386 | "mode": "thresholds" |
| 387 | }, |
| 388 | "mappings": [], |
| 389 | "thresholds": { |
| 390 | "mode": "absolute", |
| 391 | "steps": [ |
| 392 | { |
| 393 | "color": "green", |
| 394 | "value": null |
| 395 | } |
| 396 | ] |
| 397 | } |
| 398 | }, |
| 399 | "overrides": [ |
| 400 | { |
| 401 | "matcher": { |
| 402 | "id": "byName", |
| 403 | "options": "Value" |
| 404 | }, |
| 405 | "properties": [ |
| 406 | { |
| 407 | "id": "decimals", |
| 408 | "value": 6 |
| 409 | } |
| 410 | ] |
| 411 | } |
| 412 | ] |
| 413 | }, |
| 414 | "gridPos": { |
| 415 | "h": 3, |
| 416 | "w": 24, |
| 417 | "x": 0, |
| 418 | "y": 13 |
| 419 | }, |
| 420 | "id": 20, |
| 421 | "options": { |
| 422 | "colorMode": "background", |
| 423 | "graphMode": "area", |
| 424 | "justifyMode": "auto", |
| 425 | "orientation": "horizontal", |
| 426 | "reduceOptions": { |
| 427 | "calcs": [ |
| 428 | "lastNotNull" |
| 429 | ], |
| 430 | "fields": "", |
| 431 | "values": false |
| 432 | }, |
| 433 | "text": {}, |
| 434 | "textMode": "auto" |
| 435 | }, |
| 436 | "pluginVersion": "7.5.11", |
| 437 | "repeat": "enodeb", |
| 438 | "repeatDirection": "h", |
| 439 | "scopedVars": { |
| 440 | "enodeb": { |
| 441 | "isNone": true, |
| 442 | "selected": true, |
| 443 | "text": "None", |
| 444 | "value": "" |
| 445 | } |
| 446 | }, |
| 447 | "targets": [ |
| 448 | { |
| 449 | "datasource": { |
| 450 | "type": "prometheus", |
| 451 | "uid": "mwgLZO_7z" |
| 452 | }, |
| 453 | "exemplar": true, |
| 454 | "expr": "enodeb_gps_status_lat{serial_number=\"$enodeb\"}", |
| 455 | "interval": "", |
| 456 | "legendFormat": "Latitude", |
| 457 | "refId": "A" |
| 458 | }, |
| 459 | { |
| 460 | "datasource": { |
| 461 | "type": "prometheus", |
| 462 | "uid": "mwgLZO_7z" |
| 463 | }, |
| 464 | "exemplar": true, |
| 465 | "expr": "enodeb_gps_status_long{serial_number=\"$enodeb\"}", |
| 466 | "hide": false, |
| 467 | "interval": "", |
| 468 | "legendFormat": "Longtitude", |
| 469 | "refId": "B" |
| 470 | } |
| 471 | ], |
| 472 | "title": "Coordinate", |
| 473 | "type": "stat" |
| 474 | } |
| 475 | ], |
| 476 | "refresh": "", |
| 477 | "schemaVersion": 27, |
| 478 | "style": "dark", |
| 479 | "tags": [], |
| 480 | "templating": { |
| 481 | "list": [ |
| 482 | { |
| 483 | "allValue": null, |
| 484 | "current": { |
| 485 | "isNone": true, |
| 486 | "selected": false, |
| 487 | "text": "None", |
| 488 | "value": "" |
| 489 | }, |
| 490 | "datasource": null, |
| 491 | "definition": "label_values(enodeb_current_status, serial_number)", |
| 492 | "description": null, |
| 493 | "error": null, |
| 494 | "hide": 0, |
| 495 | "includeAll": false, |
| 496 | "label": "enodeb", |
| 497 | "multi": false, |
| 498 | "name": "enodeb", |
| 499 | "options": [], |
| 500 | "query": { |
| 501 | "query": "label_values(enodeb_current_status, serial_number)", |
| 502 | "refId": "StandardVariableQuery" |
| 503 | }, |
| 504 | "refresh": 1, |
| 505 | "regex": "", |
| 506 | "skipUrlSync": false, |
| 507 | "sort": 0, |
| 508 | "tagValuesQuery": "", |
| 509 | "tags": [], |
| 510 | "tagsQuery": "", |
| 511 | "type": "query", |
| 512 | "useTags": false |
| 513 | } |
| 514 | ] |
| 515 | }, |
| 516 | "time": { |
| 517 | "from": "now-6h", |
| 518 | "to": "now" |
| 519 | }, |
| 520 | "timepicker": {}, |
| 521 | "timezone": "", |
| 522 | "title": "enodebd dashboard", |
| 523 | "uid": "P_SA6HQnz", |
| 524 | "version": 1 |
| 525 | } |