status-group-render.json.in 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245
  1. {
  2. "annotations" : {
  3. "list" : [
  4. ]
  5. },
  6. "editable" : true,
  7. "gnetId" : null,
  8. "graphTooltip" : 0,
  9. "hideControls" : false,
  10. "id" : null,
  11. "links" : [
  12. {
  13. "icon" : "dashboard",
  14. "keepTime" : true,
  15. "tags" : [
  16. ],
  17. "title" : "Mesh",
  18. "type" : "link",
  19. "url" : "%%DASHBOARD_PATH%%%%DASHBOARD_PREFIX%%status-mesh-render.json?var-mesh_name=[[mesh_name]]"
  20. }
  21. ],
  22. "rows" : [
  23. {
  24. "collapse" : false,
  25. "height" : 136,
  26. "panels" : [
  27. {
  28. "cacheTimeout" : null,
  29. "colorBackground" : false,
  30. "colorValue" : false,
  31. "colors" : [
  32. "#299c46",
  33. "rgba(237, 129, 40, 0.89)",
  34. "#d44a3a"
  35. ],
  36. "datasource" : null,
  37. "decimals" : 0,
  38. "format" : "none",
  39. "gauge" : {
  40. "maxValue" : 100,
  41. "minValue" : 0,
  42. "show" : false,
  43. "thresholdLabels" : false,
  44. "thresholdMarkers" : true
  45. },
  46. "id" : 12,
  47. "interval" : null,
  48. "links" : [
  49. ],
  50. "mappingType" : 1,
  51. "mappingTypes" : [
  52. {
  53. "name" : "value to text",
  54. "value" : 1
  55. },
  56. {
  57. "name" : "range to text",
  58. "value" : 2
  59. }
  60. ],
  61. "maxDataPoints" : 100,
  62. "nullPointMode" : "connected",
  63. "nullText" : null,
  64. "postfix" : "",
  65. "postfixFontSize" : "50%",
  66. "prefix" : "",
  67. "prefixFontSize" : "50%",
  68. "rangeMaps" : [
  69. {
  70. "from" : "null",
  71. "text" : "N\/A",
  72. "to" : "null"
  73. }
  74. ],
  75. "span" : 4,
  76. "sparkline" : {
  77. "fillColor" : "rgba(31, 118, 189, 0.18)",
  78. "full" : true,
  79. "lineColor" : "rgb(31, 120, 193)",
  80. "show" : true
  81. },
  82. "tableColumn" : "",
  83. "targets" : [
  84. {
  85. "expr" : "sum(%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%clients{hostname=~\"([[regex]])\"})",
  86. "format" : "time_series",
  87. "intervalFactor" : 2,
  88. "refId" : "A"
  89. }
  90. ],
  91. "thresholds" : "",
  92. "title" : "Aktuell '[[group]]': NutzerInnen",
  93. "type" : "singlestat",
  94. "valueFontSize" : "80%",
  95. "valueMaps" : [
  96. {
  97. "op" : "=",
  98. "text" : "N\/A",
  99. "value" : "null"
  100. }
  101. ],
  102. "valueName" : "current"
  103. },
  104. {
  105. "cacheTimeout" : null,
  106. "colorBackground" : false,
  107. "colorValue" : false,
  108. "colors" : [
  109. "#299c46",
  110. "rgba(237, 129, 40, 0.89)",
  111. "#d44a3a"
  112. ],
  113. "datasource" : null,
  114. "format" : "none",
  115. "gauge" : {
  116. "maxValue" : 100,
  117. "minValue" : 0,
  118. "show" : false,
  119. "thresholdLabels" : false,
  120. "thresholdMarkers" : true
  121. },
  122. "id" : 13,
  123. "interval" : null,
  124. "links" : [
  125. ],
  126. "mappingType" : 1,
  127. "mappingTypes" : [
  128. {
  129. "name" : "value to text",
  130. "value" : 1
  131. },
  132. {
  133. "name" : "range to text",
  134. "value" : 2
  135. }
  136. ],
  137. "maxDataPoints" : 100,
  138. "nullPointMode" : "connected",
  139. "nullText" : null,
  140. "postfix" : "",
  141. "postfixFontSize" : "50%",
  142. "prefix" : "",
  143. "prefixFontSize" : "50%",
  144. "rangeMaps" : [
  145. {
  146. "from" : "null",
  147. "text" : "N\/A",
  148. "to" : "null"
  149. }
  150. ],
  151. "span" : 4,
  152. "sparkline" : {
  153. "fillColor" : "rgba(31, 118, 189, 0.18)",
  154. "full" : true,
  155. "lineColor" : "rgb(31, 120, 193)",
  156. "show" : true
  157. },
  158. "tableColumn" : "",
  159. "targets" : [
  160. {
  161. "expr" : "count(%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%clients{hostname=~\"([[regex]])\"})",
  162. "format" : "time_series",
  163. "intervalFactor" : 2,
  164. "refId" : "A"
  165. }
  166. ],
  167. "thresholds" : "",
  168. "title" : "Aktuell '[[group]]': Router",
  169. "type" : "singlestat",
  170. "valueFontSize" : "80%",
  171. "valueMaps" : [
  172. {
  173. "op" : "=",
  174. "text" : "N\/A",
  175. "value" : "null"
  176. }
  177. ],
  178. "valueName" : "current"
  179. },
  180. {
  181. "cacheTimeout" : null,
  182. "colorBackground" : false,
  183. "colorValue" : true,
  184. "colors" : [
  185. "#d44a3a",
  186. "rgba(237, 129, 40, 0.89)",
  187. "#299c46"
  188. ],
  189. "datasource" : null,
  190. "decimals" : 0,
  191. "format" : "short",
  192. "gauge" : {
  193. "maxValue" : 100,
  194. "minValue" : 0,
  195. "show" : false,
  196. "thresholdLabels" : false,
  197. "thresholdMarkers" : true
  198. },
  199. "id" : 14,
  200. "interval" : null,
  201. "links" : [
  202. ],
  203. "mappingType" : 1,
  204. "mappingTypes" : [
  205. {
  206. "name" : "value to text",
  207. "value" : 1
  208. },
  209. {
  210. "name" : "range to text",
  211. "value" : 2
  212. }
  213. ],
  214. "maxDataPoints" : 100,
  215. "nullPointMode" : "connected",
  216. "nullText" : null,
  217. "postfix" : "",
  218. "postfixFontSize" : "50%",
  219. "prefix" : "",
  220. "prefixFontSize" : "50%",
  221. "rangeMaps" : [
  222. {
  223. "from" : "null",
  224. "text" : "N\/A",
  225. "to" : "null"
  226. }
  227. ],
  228. "span" : 4,
  229. "sparkline" : {
  230. "fillColor" : "rgba(31, 118, 189, 0.18)",
  231. "full" : false,
  232. "lineColor" : "rgb(31, 120, 193)",
  233. "show" : false
  234. },
  235. "tableColumn" : "",
  236. "targets" : [
  237. {
  238. "expr" : "count(%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%clients{hostname=~\"([[regex]])\"})",
  239. "format" : "time_series",
  240. "intervalFactor" : 2,
  241. "legendFormat" : "",
  242. "refId" : "A"
  243. }
  244. ],
  245. "thresholds" : "0,1",
  246. "title" : "Differenz in '[[group]]': Anzahl der Router",
  247. "type" : "singlestat",
  248. "valueFontSize" : "80%",
  249. "valueMaps" : [
  250. {
  251. "op" : "=",
  252. "text" : "N\/A",
  253. "value" : "null"
  254. }
  255. ],
  256. "valueName" : "diff"
  257. }
  258. ],
  259. "repeat" : null,
  260. "repeatIteration" : null,
  261. "repeatRowId" : null,
  262. "showTitle" : false,
  263. "title" : "Dashboard Row",
  264. "titleSize" : "h6"
  265. },
  266. {
  267. "collapse" : false,
  268. "height" : 250,
  269. "panels" : [
  270. {
  271. "aliasColors" : {
  272. "Router" : "#1f78c1",
  273. "Routeranzahl" : "#1f78c1"
  274. },
  275. "bars" : false,
  276. "dashLength" : 10,
  277. "dashes" : false,
  278. "datasource" : null,
  279. "decimals" : 0,
  280. "fill" : 0,
  281. "id" : 5,
  282. "legend" : {
  283. "alignAsTable" : true,
  284. "avg" : true,
  285. "current" : true,
  286. "hideEmpty" : true,
  287. "hideZero" : false,
  288. "max" : true,
  289. "min" : true,
  290. "rightSide" : false,
  291. "show" : true,
  292. "total" : false,
  293. "values" : true
  294. },
  295. "lines" : true,
  296. "linewidth" : 2,
  297. "links" : [
  298. ],
  299. "nullPointMode" : "null",
  300. "percentage" : false,
  301. "pointradius" : 5,
  302. "points" : false,
  303. "renderer" : "flot",
  304. "seriesOverrides" : [
  305. ],
  306. "spaceLength" : 10,
  307. "span" : 12,
  308. "stack" : false,
  309. "steppedLine" : false,
  310. "targets" : [
  311. {
  312. "expr" : "count(%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%clients{hostname=~\"([[regex]])\"})",
  313. "format" : "time_series",
  314. "hide" : false,
  315. "instant" : false,
  316. "intervalFactor" : 2,
  317. "legendFormat" : "Router",
  318. "refId" : "A"
  319. },
  320. {
  321. "expr" : "sum(%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%clients{hostname=~\"([[regex]])\"})",
  322. "format" : "time_series",
  323. "intervalFactor" : 2,
  324. "legendFormat" : "NutzerInnen",
  325. "refId" : "B"
  326. }
  327. ],
  328. "thresholds" : [
  329. ],
  330. "timeFrom" : null,
  331. "timeShift" : null,
  332. "title" : "Freifunk '[[group]]': NutzerInnen und Router",
  333. "tooltip" : {
  334. "shared" : true,
  335. "sort" : 0,
  336. "value_type" : "individual"
  337. },
  338. "type" : "graph",
  339. "xaxis" : {
  340. "buckets" : null,
  341. "mode" : "time",
  342. "name" : null,
  343. "show" : true,
  344. "values" : [
  345. ]
  346. },
  347. "yaxes" : [
  348. {
  349. "decimals" : 0,
  350. "format" : "short",
  351. "label" : "NutzerInnen",
  352. "logBase" : 1,
  353. "max" : null,
  354. "min" : "0",
  355. "show" : true
  356. },
  357. {
  358. "format" : "short",
  359. "label" : "Router",
  360. "logBase" : 1,
  361. "max" : null,
  362. "min" : null,
  363. "show" : true
  364. }
  365. ]
  366. }
  367. ],
  368. "repeat" : null,
  369. "repeatIteration" : null,
  370. "repeatRowId" : null,
  371. "showTitle" : false,
  372. "title" : "Gruppe '[[group]]': NutzerInnen und Router",
  373. "titleSize" : "h6"
  374. },
  375. {
  376. "collapse" : true,
  377. "height" : 250,
  378. "panels" : [
  379. {
  380. "aliasColors" : {
  381. "Router" : "#1f78c1",
  382. "Routeranzahl" : "#1f78c1"
  383. },
  384. "bars" : false,
  385. "dashLength" : 10,
  386. "dashes" : false,
  387. "datasource" : null,
  388. "decimals" : 0,
  389. "fill" : 0,
  390. "id" : 10,
  391. "legend" : {
  392. "alignAsTable" : true,
  393. "avg" : true,
  394. "current" : true,
  395. "hideEmpty" : true,
  396. "hideZero" : false,
  397. "max" : true,
  398. "min" : true,
  399. "rightSide" : false,
  400. "show" : true,
  401. "total" : false,
  402. "values" : true
  403. },
  404. "lines" : true,
  405. "linewidth" : 2,
  406. "links" : [
  407. ],
  408. "nullPointMode" : "null",
  409. "percentage" : false,
  410. "pointradius" : 5,
  411. "points" : false,
  412. "renderer" : "flot",
  413. "seriesOverrides" : [
  414. {
  415. "alias" : "Router",
  416. "color" : "#1f78c1"
  417. },
  418. {
  419. "alias" : "NutzerInnen",
  420. "color" : "#EAB839"
  421. }
  422. ],
  423. "spaceLength" : 10,
  424. "span" : 6,
  425. "stack" : false,
  426. "steppedLine" : false,
  427. "targets" : [
  428. {
  429. "expr" : "sum(%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%clients{hostname=~\"([[regex]])\"})",
  430. "format" : "time_series",
  431. "intervalFactor" : 2,
  432. "legendFormat" : "NutzerInnen",
  433. "refId" : "B"
  434. }
  435. ],
  436. "thresholds" : [
  437. ],
  438. "timeFrom" : null,
  439. "timeShift" : null,
  440. "title" : "Freifunk '[[group]]': NutzerInnen",
  441. "tooltip" : {
  442. "shared" : true,
  443. "sort" : 0,
  444. "value_type" : "individual"
  445. },
  446. "type" : "graph",
  447. "xaxis" : {
  448. "buckets" : null,
  449. "mode" : "time",
  450. "name" : null,
  451. "show" : true,
  452. "values" : [
  453. ]
  454. },
  455. "yaxes" : [
  456. {
  457. "decimals" : 0,
  458. "format" : "short",
  459. "label" : "NutzerInnen",
  460. "logBase" : 1,
  461. "max" : null,
  462. "min" : "0",
  463. "show" : true
  464. },
  465. {
  466. "format" : "short",
  467. "label" : "",
  468. "logBase" : 1,
  469. "max" : null,
  470. "min" : null,
  471. "show" : false
  472. }
  473. ]
  474. },
  475. {
  476. "aliasColors" : {
  477. "Router" : "#1f78c1",
  478. "Routeranzahl" : "#1f78c1"
  479. },
  480. "bars" : false,
  481. "dashLength" : 10,
  482. "dashes" : false,
  483. "datasource" : null,
  484. "decimals" : 0,
  485. "fill" : 0,
  486. "id" : 11,
  487. "legend" : {
  488. "alignAsTable" : true,
  489. "avg" : true,
  490. "current" : true,
  491. "hideEmpty" : true,
  492. "hideZero" : false,
  493. "max" : true,
  494. "min" : true,
  495. "rightSide" : false,
  496. "show" : true,
  497. "total" : false,
  498. "values" : true
  499. },
  500. "lines" : true,
  501. "linewidth" : 2,
  502. "links" : [
  503. ],
  504. "nullPointMode" : "null",
  505. "percentage" : false,
  506. "pointradius" : 5,
  507. "points" : false,
  508. "renderer" : "flot",
  509. "seriesOverrides" : [
  510. {
  511. "alias" : "Router",
  512. "color" : "#1f78c1"
  513. },
  514. {
  515. "alias" : "NutzerInnen",
  516. "color" : "#EAB839"
  517. }
  518. ],
  519. "spaceLength" : 10,
  520. "span" : 6,
  521. "stack" : false,
  522. "steppedLine" : false,
  523. "targets" : [
  524. {
  525. "expr" : "count(%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%clients{hostname=~\"([[regex]])\"})",
  526. "format" : "time_series",
  527. "hide" : false,
  528. "instant" : false,
  529. "intervalFactor" : 2,
  530. "legendFormat" : "Router",
  531. "refId" : "A"
  532. }
  533. ],
  534. "thresholds" : [
  535. ],
  536. "timeFrom" : null,
  537. "timeShift" : null,
  538. "title" : "Freifunk '[[group]]': Router",
  539. "tooltip" : {
  540. "shared" : true,
  541. "sort" : 0,
  542. "value_type" : "individual"
  543. },
  544. "type" : "graph",
  545. "xaxis" : {
  546. "buckets" : null,
  547. "mode" : "time",
  548. "name" : null,
  549. "show" : true,
  550. "values" : [
  551. ]
  552. },
  553. "yaxes" : [
  554. {
  555. "decimals" : 0,
  556. "format" : "short",
  557. "label" : "Router",
  558. "logBase" : 1,
  559. "max" : null,
  560. "min" : "0",
  561. "show" : true
  562. },
  563. {
  564. "format" : "short",
  565. "label" : "",
  566. "logBase" : 1,
  567. "max" : null,
  568. "min" : null,
  569. "show" : false
  570. }
  571. ]
  572. }
  573. ],
  574. "repeat" : null,
  575. "repeatIteration" : null,
  576. "repeatRowId" : null,
  577. "showTitle" : false,
  578. "title" : "Overview '[[group]]': Clients and Nodes separate graphs",
  579. "titleSize" : "h6"
  580. },
  581. {
  582. "collapse" : false,
  583. "height" : 278,
  584. "panels" : [
  585. {
  586. "aliasColors" : {
  587. },
  588. "bars" : false,
  589. "dashLength" : 10,
  590. "dashes" : false,
  591. "datasource" : null,
  592. "fill" : 0,
  593. "id" : 3,
  594. "legend" : {
  595. "alignAsTable" : true,
  596. "avg" : true,
  597. "current" : true,
  598. "hideEmpty" : true,
  599. "max" : true,
  600. "min" : true,
  601. "rightSide" : false,
  602. "show" : true,
  603. "total" : false,
  604. "values" : true
  605. },
  606. "lines" : true,
  607. "linewidth" : 1,
  608. "links" : [
  609. ],
  610. "nullPointMode" : "null",
  611. "percentage" : false,
  612. "pointradius" : 5,
  613. "points" : false,
  614. "renderer" : "flot",
  615. "seriesOverrides" : [
  616. ],
  617. "spaceLength" : 10,
  618. "span" : 12,
  619. "stack" : false,
  620. "steppedLine" : false,
  621. "targets" : [
  622. {
  623. "expr" : "%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%clients{hostname=~\"([[regex]])\"}",
  624. "format" : "time_series",
  625. "hide" : false,
  626. "interval" : "",
  627. "intervalFactor" : 2,
  628. "legendFormat" : "{{hostname}}",
  629. "refId" : "A",
  630. "step" : 120
  631. },
  632. {
  633. "expr" : "sum(%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%clients{hostname=~\"([[regex]])\"})",
  634. "format" : "time_series",
  635. "hide" : false,
  636. "interval" : "",
  637. "intervalFactor" : 2,
  638. "legendFormat" : "Summe",
  639. "refId" : "B",
  640. "step" : 120
  641. }
  642. ],
  643. "thresholds" : [
  644. ],
  645. "timeFrom" : null,
  646. "timeShift" : null,
  647. "title" : "[[group]] (clients)",
  648. "tooltip" : {
  649. "shared" : true,
  650. "sort" : 1,
  651. "value_type" : "individual"
  652. },
  653. "type" : "graph",
  654. "xaxis" : {
  655. "buckets" : null,
  656. "mode" : "time",
  657. "name" : null,
  658. "show" : true,
  659. "values" : [
  660. ]
  661. },
  662. "yaxes" : [
  663. {
  664. "decimals" : 0,
  665. "format" : "short",
  666. "label" : "",
  667. "logBase" : 1,
  668. "max" : null,
  669. "min" : null,
  670. "show" : true
  671. },
  672. {
  673. "format" : "short",
  674. "label" : null,
  675. "logBase" : 1,
  676. "max" : null,
  677. "min" : null,
  678. "show" : true
  679. }
  680. ]
  681. }
  682. ],
  683. "repeat" : null,
  684. "repeatIteration" : null,
  685. "repeatRowId" : null,
  686. "showTitle" : false,
  687. "title" : "[[group]] (clients)",
  688. "titleSize" : "h6"
  689. },
  690. {
  691. "collapse" : false,
  692. "height" : 250,
  693. "panels" : [
  694. {
  695. "aliasColors" : {
  696. },
  697. "bars" : false,
  698. "dashLength" : 10,
  699. "dashes" : false,
  700. "datasource" : null,
  701. "fill" : 1,
  702. "id" : 8,
  703. "legend" : {
  704. "alignAsTable" : true,
  705. "avg" : true,
  706. "current" : false,
  707. "max" : true,
  708. "min" : false,
  709. "show" : true,
  710. "total" : false,
  711. "values" : true
  712. },
  713. "lines" : true,
  714. "linewidth" : 1,
  715. "links" : [
  716. ],
  717. "nullPointMode" : "null",
  718. "percentage" : false,
  719. "pointradius" : 5,
  720. "points" : false,
  721. "renderer" : "flot",
  722. "seriesOverrides" : [
  723. {
  724. "alias" : "TX",
  725. "color" : "#e24d42",
  726. "transform" : "negative-Y"
  727. },
  728. {
  729. "alias" : "RX",
  730. "color" : "#7eb26d"
  731. }
  732. ],
  733. "spaceLength" : 10,
  734. "span" : 12,
  735. "stack" : false,
  736. "steppedLine" : false,
  737. "targets" : [
  738. {
  739. "expr" : "sum(8*rate(%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%rx{hostname=~\"([[regex]])\"}[20m]))",
  740. "format" : "time_series",
  741. "intervalFactor" : 2,
  742. "legendFormat" : "RX",
  743. "refId" : "B"
  744. },
  745. {
  746. "expr" : "sum(8*rate(%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%tx{hostname=~\"([[regex]])\"}[20m]))",
  747. "format" : "time_series",
  748. "intervalFactor" : 2,
  749. "legendFormat" : "TX",
  750. "refId" : "A"
  751. }
  752. ],
  753. "thresholds" : [
  754. ],
  755. "timeFrom" : null,
  756. "timeShift" : null,
  757. "title" : "Router Group: '[[group]]' Data Transfer",
  758. "tooltip" : {
  759. "shared" : true,
  760. "sort" : 0,
  761. "value_type" : "individual"
  762. },
  763. "type" : "graph",
  764. "xaxis" : {
  765. "buckets" : null,
  766. "mode" : "time",
  767. "name" : null,
  768. "show" : true,
  769. "values" : [
  770. ]
  771. },
  772. "yaxes" : [
  773. {
  774. "format" : "bps",
  775. "label" : null,
  776. "logBase" : 1,
  777. "max" : null,
  778. "min" : null,
  779. "show" : true
  780. },
  781. {
  782. "format" : "short",
  783. "label" : null,
  784. "logBase" : 1,
  785. "max" : null,
  786. "min" : null,
  787. "show" : false
  788. }
  789. ]
  790. }
  791. ],
  792. "repeat" : null,
  793. "repeatIteration" : null,
  794. "repeatRowId" : null,
  795. "showTitle" : false,
  796. "title" : "Data Transfer",
  797. "titleSize" : "h6"
  798. },
  799. {
  800. "collapse" : false,
  801. "height" : 100,
  802. "panels" : [
  803. {
  804. "content" : "<p>Links zu Router [[hostname]], Node ID [[node_id]]: <a href=\"%%DASHBOARD_PATH%%%%DASHBOARD_PREFIX%%status.json?var-hostname=[[hostname]]&var-node_id=[[node_id]]\">Status Dashboard<\/a>, <a href=\"%%MAP_NODE_URL%%[[node_id]]\">Map<\/a>.<\/p>\n",
  805. "height" : "80px",
  806. "id" : 4,
  807. "links" : [
  808. ],
  809. "mode" : "html",
  810. "repeat" : null,
  811. "span" : 12,
  812. "title" : "Links zu [[hostname]], Node ID [[node_id]]",
  813. "type" : "text"
  814. }
  815. ],
  816. "repeat" : null,
  817. "repeatIteration" : null,
  818. "repeatRowId" : null,
  819. "showTitle" : false,
  820. "title" : "Links zu [[hostname]], Node ID [[node_id]]",
  821. "titleSize" : "h6"
  822. },
  823. {
  824. "collapse" : true,
  825. "height" : 500,
  826. "panels" : [
  827. {
  828. "columns" : [
  829. ],
  830. "datasource" : null,
  831. "fontSize" : "100%",
  832. "id" : 7,
  833. "links" : [
  834. ],
  835. "pageSize" : null,
  836. "scroll" : true,
  837. "showHeader" : true,
  838. "sort" : {
  839. "col" : 5,
  840. "desc" : false
  841. },
  842. "span" : 12,
  843. "styles" : [
  844. {
  845. "alias" : "Time",
  846. "dateFormat" : "YYYY-MM-DD HH:mm:ss",
  847. "pattern" : "Time",
  848. "type" : "hidden"
  849. },
  850. {
  851. "alias" : "",
  852. "colorMode" : null,
  853. "colors" : [
  854. "rgba(245, 54, 54, 0.9)",
  855. "rgba(237, 129, 40, 0.89)",
  856. "rgba(50, 172, 45, 0.97)"
  857. ],
  858. "decimals" : 2,
  859. "pattern" : "\/__name__|Value\/",
  860. "thresholds" : [
  861. ],
  862. "type" : "hidden",
  863. "unit" : "short"
  864. },
  865. {
  866. "alias" : "Autoupd.",
  867. "colorMode" : null,
  868. "colors" : [
  869. "rgba(245, 54, 54, 0.9)",
  870. "rgba(237, 129, 40, 0.89)",
  871. "rgba(50, 172, 45, 0.97)"
  872. ],
  873. "dateFormat" : "YYYY-MM-DD HH:mm:ss",
  874. "decimals" : 2,
  875. "pattern" : "autoupdater",
  876. "thresholds" : [
  877. ],
  878. "type" : "string",
  879. "unit" : "short"
  880. },
  881. {
  882. "alias" : "Branch",
  883. "colorMode" : null,
  884. "colors" : [
  885. "rgba(245, 54, 54, 0.9)",
  886. "rgba(237, 129, 40, 0.89)",
  887. "rgba(50, 172, 45, 0.97)"
  888. ],
  889. "dateFormat" : "YYYY-MM-DD HH:mm:ss",
  890. "decimals" : 2,
  891. "pattern" : "branch",
  892. "thresholds" : [
  893. ],
  894. "type" : "string",
  895. "unit" : "short"
  896. },
  897. {
  898. "alias" : "Firmware",
  899. "colorMode" : null,
  900. "colors" : [
  901. "rgba(245, 54, 54, 0.9)",
  902. "rgba(237, 129, 40, 0.89)",
  903. "rgba(50, 172, 45, 0.97)"
  904. ],
  905. "dateFormat" : "YYYY-MM-DD HH:mm:ss",
  906. "decimals" : 2,
  907. "pattern" : "firmware",
  908. "thresholds" : [
  909. ],
  910. "type" : "string",
  911. "unit" : "short"
  912. },
  913. {
  914. "alias" : "Hardware",
  915. "colorMode" : null,
  916. "colors" : [
  917. "rgba(245, 54, 54, 0.9)",
  918. "rgba(237, 129, 40, 0.89)",
  919. "rgba(50, 172, 45, 0.97)"
  920. ],
  921. "dateFormat" : "YYYY-MM-DD HH:mm:ss",
  922. "decimals" : 2,
  923. "pattern" : "model",
  924. "thresholds" : [
  925. ],
  926. "type" : "string",
  927. "unit" : "short"
  928. },
  929. {
  930. "alias" : "Routername",
  931. "colorMode" : null,
  932. "colors" : [
  933. "rgba(245, 54, 54, 0.9)",
  934. "rgba(237, 129, 40, 0.89)",
  935. "rgba(50, 172, 45, 0.97)"
  936. ],
  937. "dateFormat" : "YYYY-MM-DD HH:mm:ss",
  938. "decimals" : 2,
  939. "link" : true,
  940. "linkTargetBlank" : true,
  941. "linkTooltip" : "zur Statusseite f\u00FCr $__cell",
  942. "linkUrl" : "%%DASHBOARD_PATH%%%%DASHBOARD_PREFIX%%status.json?var-hostname=$__cell",
  943. "pattern" : "hostname",
  944. "thresholds" : [
  945. ],
  946. "type" : "string",
  947. "unit" : "short"
  948. },
  949. {
  950. "alias" : "Node ID",
  951. "colorMode" : null,
  952. "colors" : [
  953. "rgba(245, 54, 54, 0.9)",
  954. "rgba(237, 129, 40, 0.89)",
  955. "rgba(50, 172, 45, 0.97)"
  956. ],
  957. "dateFormat" : "YYYY-MM-DD HH:mm:ss",
  958. "decimals" : 2,
  959. "pattern" : "node_id",
  960. "thresholds" : [
  961. ],
  962. "type" : "string",
  963. "unit" : "short"
  964. },
  965. {
  966. "alias" : "Meshinterfaces",
  967. "colorMode" : null,
  968. "colors" : [
  969. "rgba(245, 54, 54, 0.9)",
  970. "rgba(237, 129, 40, 0.89)",
  971. "rgba(50, 172, 45, 0.97)"
  972. ],
  973. "dateFormat" : "YYYY-MM-DD HH:mm:ss",
  974. "decimals" : 2,
  975. "pattern" : "interfaces",
  976. "thresholds" : [
  977. ],
  978. "type" : "string",
  979. "unit" : "short"
  980. },
  981. {
  982. "alias" : "Gateway",
  983. "colorMode" : null,
  984. "colors" : [
  985. "rgba(245, 54, 54, 0.9)",
  986. "rgba(237, 129, 40, 0.89)",
  987. "rgba(50, 172, 45, 0.97)"
  988. ],
  989. "dateFormat" : "YYYY-MM-DD HH:mm:ss",
  990. "decimals" : 2,
  991. "pattern" : "gateway",
  992. "thresholds" : [
  993. ],
  994. "type" : "string",
  995. "unit" : "short"
  996. },
  997. {
  998. "alias" : "",
  999. "colorMode" : null,
  1000. "colors" : [
  1001. "rgba(245, 54, 54, 0.9)",
  1002. "rgba(237, 129, 40, 0.89)",
  1003. "rgba(50, 172, 45, 0.97)"
  1004. ],
  1005. "dateFormat" : "YYYY-MM-DD HH:mm:ss",
  1006. "decimals" : 2,
  1007. "pattern" : "\/.*\/",
  1008. "thresholds" : [
  1009. ],
  1010. "type" : "string",
  1011. "unit" : "short"
  1012. }
  1013. ],
  1014. "targets" : [
  1015. {
  1016. "expr" : "max(%%PROM_INFO_PREFIX%%{hostname=~\"[[regex]]\"}) by (autoupdater,branch,firmware,gateway,hostname,interfaces,model,node_id)",
  1017. "format" : "table",
  1018. "instant" : true,
  1019. "intervalFactor" : 2,
  1020. "refId" : "A"
  1021. }
  1022. ],
  1023. "title" : "Liste der Router in Gruppe '[[group]]'",
  1024. "transform" : "table",
  1025. "type" : "table"
  1026. }
  1027. ],
  1028. "repeat" : null,
  1029. "repeatIteration" : null,
  1030. "repeatRowId" : null,
  1031. "showTitle" : false,
  1032. "title" : "Liste der Router in Gruppe '[[group]]'",
  1033. "titleSize" : "h6"
  1034. }
  1035. ],
  1036. "schemaVersion" : 14,
  1037. "style" : "dark",
  1038. "tags" : [
  1039. ],
  1040. "templating" : {
  1041. "list" : [
  1042. {
  1043. "allValue" : null,
  1044. "current" : {
  1045. "text" : " - noch keine Auswahl -",
  1046. "value" : null
  1047. },
  1048. "datasource" : null,
  1049. "hide" : 0,
  1050. "includeAll" : false,
  1051. "label" : "Routergruppe",
  1052. "multi" : false,
  1053. "name" : "group",
  1054. "options" : [
  1055. ],
  1056. "query" : "label_values(%%PROM_GROUPS_PREFIX%%,group)",
  1057. "refresh" : 2,
  1058. "regex" : "",
  1059. "sort" : 1,
  1060. "tagValuesQuery" : "",
  1061. "tags" : [
  1062. ],
  1063. "tagsQuery" : "",
  1064. "type" : "query",
  1065. "useTags" : false
  1066. },
  1067. {
  1068. "allValue" : null,
  1069. "current" : {
  1070. "text" : null,
  1071. "value" : null
  1072. },
  1073. "datasource" : null,
  1074. "hide" : 2,
  1075. "includeAll" : false,
  1076. "label" : null,
  1077. "multi" : false,
  1078. "name" : "regex",
  1079. "options" : [
  1080. ],
  1081. "query" : "query_result(max(%%PROM_GROUPS_PREFIX%%{group=\"[[group]]\"}) by (regex))",
  1082. "refresh" : 2,
  1083. "regex" : "\/.*regex=\"(.*)\".*\/",
  1084. "sort" : 1,
  1085. "tagValuesQuery" : "",
  1086. "tags" : [
  1087. ],
  1088. "tagsQuery" : "",
  1089. "type" : "query",
  1090. "useTags" : false
  1091. },
  1092. {
  1093. "allValue" : null,
  1094. "current" : {
  1095. "text" : " - noch keine Auswahl -",
  1096. "value" : null
  1097. },
  1098. "datasource" : null,
  1099. "hide" : 0,
  1100. "includeAll" : false,
  1101. "label" : null,
  1102. "multi" : false,
  1103. "name" : "hostname",
  1104. "options" : [
  1105. ],
  1106. "query" : "label_values(%%PROM_INFO_PREFIX%%{hostname=~\"[[regex]]\"},hostname)",
  1107. "refresh" : 2,
  1108. "regex" : "",
  1109. "sort" : 1,
  1110. "tagValuesQuery" : "",
  1111. "tags" : [
  1112. ],
  1113. "tagsQuery" : "",
  1114. "type" : "query",
  1115. "useTags" : false
  1116. },
  1117. {
  1118. "allValue" : null,
  1119. "current" : {
  1120. "text" : null,
  1121. "value" : null
  1122. },
  1123. "datasource" : null,
  1124. "hide" : 0,
  1125. "includeAll" : false,
  1126. "label" : null,
  1127. "multi" : false,
  1128. "name" : "node_id",
  1129. "options" : [
  1130. ],
  1131. "query" : "label_values(%%PROM_INFO_PREFIX%%{hostname=\"[[hostname]]\"},node_id)",
  1132. "refresh" : 2,
  1133. "regex" : "",
  1134. "sort" : 1,
  1135. "tagValuesQuery" : "",
  1136. "tags" : [
  1137. ],
  1138. "tagsQuery" : "",
  1139. "type" : "query",
  1140. "useTags" : false
  1141. },
  1142. {
  1143. "allValue" : null,
  1144. "current" : {
  1145. },
  1146. "datasource" : null,
  1147. "hide" : 2,
  1148. "includeAll" : false,
  1149. "label" : null,
  1150. "multi" : false,
  1151. "name" : "link_target_id",
  1152. "options" : [
  1153. ],
  1154. "query" : "query_result(%%PROM_GRAPH_PREFIX%%%%PROM_SEPERATOR%%link{source=\"[[node_id]]\",target=\"[[neighbor_id]]\"} or %%PROM_GRAPH_PREFIX%%%%PROM_SEPERATOR%%link{source=\"[[neighbor_id]]\",target=\"[[node_id]]\"})",
  1155. "refresh" : 2,
  1156. "regex" : "\/.*target=\"([^\"]+)\".*\/",
  1157. "sort" : 0,
  1158. "tagValuesQuery" : "",
  1159. "tags" : [
  1160. ],
  1161. "tagsQuery" : "",
  1162. "type" : "query",
  1163. "useTags" : false
  1164. },
  1165. {
  1166. "allValue" : null,
  1167. "current" : {
  1168. },
  1169. "datasource" : null,
  1170. "hide" : 2,
  1171. "includeAll" : false,
  1172. "label" : null,
  1173. "multi" : false,
  1174. "name" : "mesh_id",
  1175. "options" : [
  1176. ],
  1177. "query" : "label_values(%%PROM_GRAPH_PREFIX%%%%PROM_SEPERATOR%%mesh{members=~\".*[[node_id]].*\"},node_id)",
  1178. "refresh" : 2,
  1179. "regex" : "",
  1180. "sort" : 0,
  1181. "tagValuesQuery" : "",
  1182. "tags" : [
  1183. ],
  1184. "tagsQuery" : "",
  1185. "type" : "query",
  1186. "useTags" : false
  1187. },
  1188. {
  1189. "allValue" : null,
  1190. "current" : {
  1191. },
  1192. "datasource" : null,
  1193. "hide" : 2,
  1194. "includeAll" : false,
  1195. "label" : null,
  1196. "multi" : false,
  1197. "name" : "mesh_name",
  1198. "options" : [
  1199. ],
  1200. "query" : "label_values(%%PROM_INFO_PREFIX%%{node_id=\"[[mesh_id]]\"},hostname)",
  1201. "refresh" : 2,
  1202. "regex" : "",
  1203. "sort" : 0,
  1204. "tagValuesQuery" : "",
  1205. "tags" : [
  1206. ],
  1207. "tagsQuery" : "",
  1208. "type" : "query",
  1209. "useTags" : false
  1210. }
  1211. ]
  1212. },
  1213. "time" : {
  1214. "from" : "now-24h",
  1215. "to" : "now"
  1216. },
  1217. "timepicker" : {
  1218. "refresh_intervals" : [
  1219. "5s",
  1220. "10s",
  1221. "30s",
  1222. "1m",
  1223. "5m",
  1224. "15m",
  1225. "30m",
  1226. "1h",
  1227. "2h",
  1228. "1d"
  1229. ],
  1230. "time_options" : [
  1231. "5m",
  1232. "15m",
  1233. "1h",
  1234. "6h",
  1235. "12h",
  1236. "24h",
  1237. "2d",
  1238. "7d",
  1239. "30d"
  1240. ]
  1241. },
  1242. "timezone" : "",
  1243. "title" : "%%DASHBOARD_PREFIX%%status-group-render",
  1244. "version" : 9
  1245. }