status-group.json.in 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687
  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.json?var-mesh_name=[[mesh_name]]"
  20. }
  21. ],
  22. "rows" : [
  23. {
  24. "collapse" : false,
  25. "height" : 250,
  26. "panels" : [
  27. {
  28. "aliasColors" : {
  29. "Router" : "#1f78c1",
  30. "Routeranzahl" : "#1f78c1"
  31. },
  32. "bars" : false,
  33. "dashLength" : 10,
  34. "dashes" : false,
  35. "datasource" : null,
  36. "decimals" : 0,
  37. "fill" : 0,
  38. "id" : 5,
  39. "legend" : {
  40. "alignAsTable" : true,
  41. "avg" : true,
  42. "current" : true,
  43. "hideEmpty" : true,
  44. "hideZero" : false,
  45. "max" : false,
  46. "min" : false,
  47. "rightSide" : true,
  48. "show" : true,
  49. "total" : false,
  50. "values" : true
  51. },
  52. "lines" : true,
  53. "linewidth" : 2,
  54. "links" : [
  55. ],
  56. "nullPointMode" : "null",
  57. "percentage" : false,
  58. "pointradius" : 5,
  59. "points" : false,
  60. "renderer" : "flot",
  61. "seriesOverrides" : [
  62. ],
  63. "spaceLength" : 10,
  64. "span" : 12,
  65. "stack" : false,
  66. "steppedLine" : false,
  67. "targets" : [
  68. {
  69. "expr" : "count(ffdo_nodes_detail_clients{hostname=~\"([[regex]])\"})",
  70. "format" : "time_series",
  71. "hide" : false,
  72. "instant" : false,
  73. "intervalFactor" : 2,
  74. "legendFormat" : "Router",
  75. "refId" : "A"
  76. },
  77. {
  78. "expr" : "sum(ffdo_nodes_detail_clients{hostname=~\"([[regex]])\"})",
  79. "format" : "time_series",
  80. "intervalFactor" : 2,
  81. "legendFormat" : "NutzerInnen",
  82. "refId" : "B"
  83. }
  84. ],
  85. "thresholds" : [
  86. ],
  87. "timeFrom" : null,
  88. "timeShift" : null,
  89. "title" : "Freifunk '[[group]]': NutzerInnen und Router",
  90. "tooltip" : {
  91. "shared" : true,
  92. "sort" : 0,
  93. "value_type" : "individual"
  94. },
  95. "type" : "graph",
  96. "xaxis" : {
  97. "buckets" : null,
  98. "mode" : "time",
  99. "name" : null,
  100. "show" : true,
  101. "values" : [
  102. ]
  103. },
  104. "yaxes" : [
  105. {
  106. "decimals" : 0,
  107. "format" : "short",
  108. "label" : "NutzerInnen",
  109. "logBase" : 1,
  110. "max" : null,
  111. "min" : "0",
  112. "show" : true
  113. },
  114. {
  115. "format" : "short",
  116. "label" : "Router",
  117. "logBase" : 1,
  118. "max" : null,
  119. "min" : null,
  120. "show" : true
  121. }
  122. ]
  123. }
  124. ],
  125. "repeat" : null,
  126. "repeatIteration" : null,
  127. "repeatRowId" : null,
  128. "showTitle" : false,
  129. "title" : "Gruppe '[[group]]': NutzerInnen und Router",
  130. "titleSize" : "h6"
  131. },
  132. {
  133. "collapse" : false,
  134. "height" : 278,
  135. "panels" : [
  136. {
  137. "aliasColors" : {
  138. },
  139. "bars" : false,
  140. "dashLength" : 10,
  141. "dashes" : false,
  142. "datasource" : null,
  143. "fill" : 0,
  144. "id" : 3,
  145. "legend" : {
  146. "alignAsTable" : true,
  147. "avg" : true,
  148. "current" : true,
  149. "hideEmpty" : true,
  150. "max" : false,
  151. "min" : false,
  152. "rightSide" : true,
  153. "show" : true,
  154. "total" : false,
  155. "values" : true
  156. },
  157. "lines" : true,
  158. "linewidth" : 1,
  159. "links" : [
  160. ],
  161. "nullPointMode" : "null",
  162. "percentage" : false,
  163. "pointradius" : 5,
  164. "points" : false,
  165. "renderer" : "flot",
  166. "seriesOverrides" : [
  167. ],
  168. "spaceLength" : 10,
  169. "span" : 12,
  170. "stack" : false,
  171. "steppedLine" : false,
  172. "targets" : [
  173. {
  174. "expr" : "%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%clients{hostname=~\"([[regex]])\"}",
  175. "format" : "time_series",
  176. "hide" : false,
  177. "interval" : "",
  178. "intervalFactor" : 2,
  179. "legendFormat" : "{{hostname}}",
  180. "refId" : "A",
  181. "step" : 120
  182. },
  183. {
  184. "expr" : "sum(%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%clients{hostname=~\"([[regex]])\"})",
  185. "format" : "time_series",
  186. "hide" : false,
  187. "interval" : "",
  188. "intervalFactor" : 2,
  189. "legendFormat" : "Summe",
  190. "refId" : "B",
  191. "step" : 120
  192. }
  193. ],
  194. "thresholds" : [
  195. ],
  196. "timeFrom" : null,
  197. "timeShift" : null,
  198. "title" : "[[group]] (clients)",
  199. "tooltip" : {
  200. "shared" : true,
  201. "sort" : 1,
  202. "value_type" : "individual"
  203. },
  204. "type" : "graph",
  205. "xaxis" : {
  206. "buckets" : null,
  207. "mode" : "time",
  208. "name" : null,
  209. "show" : true,
  210. "values" : [
  211. ]
  212. },
  213. "yaxes" : [
  214. {
  215. "decimals" : 0,
  216. "format" : "short",
  217. "label" : "",
  218. "logBase" : 1,
  219. "max" : null,
  220. "min" : null,
  221. "show" : true
  222. },
  223. {
  224. "format" : "short",
  225. "label" : null,
  226. "logBase" : 1,
  227. "max" : null,
  228. "min" : null,
  229. "show" : true
  230. }
  231. ]
  232. }
  233. ],
  234. "repeat" : null,
  235. "repeatIteration" : null,
  236. "repeatRowId" : null,
  237. "showTitle" : false,
  238. "title" : "[[group]] (clients)",
  239. "titleSize" : "h6"
  240. },
  241. {
  242. "collapse" : false,
  243. "height" : "100",
  244. "panels" : [
  245. {
  246. "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",
  247. "height" : "80px",
  248. "id" : 4,
  249. "links" : [
  250. ],
  251. "mode" : "html",
  252. "repeat" : null,
  253. "span" : 12,
  254. "title" : "Links zu [[hostname]], Node ID [[node_id]]",
  255. "type" : "text"
  256. }
  257. ],
  258. "repeat" : null,
  259. "repeatIteration" : null,
  260. "repeatRowId" : null,
  261. "showTitle" : false,
  262. "title" : "Links zu [[hostname]], Node ID [[node_id]]",
  263. "titleSize" : "h6"
  264. },
  265. {
  266. "collapse" : true,
  267. "height" : "500",
  268. "panels" : [
  269. {
  270. "columns" : [
  271. ],
  272. "datasource" : null,
  273. "fontSize" : "100%",
  274. "id" : 7,
  275. "links" : [
  276. ],
  277. "pageSize" : null,
  278. "scroll" : true,
  279. "showHeader" : true,
  280. "sort" : {
  281. "col" : 5,
  282. "desc" : false
  283. },
  284. "span" : 12,
  285. "styles" : [
  286. {
  287. "alias" : "Time",
  288. "dateFormat" : "YYYY-MM-DD HH:mm:ss",
  289. "pattern" : "Time",
  290. "type" : "hidden"
  291. },
  292. {
  293. "alias" : "",
  294. "colorMode" : null,
  295. "colors" : [
  296. "rgba(245, 54, 54, 0.9)",
  297. "rgba(237, 129, 40, 0.89)",
  298. "rgba(50, 172, 45, 0.97)"
  299. ],
  300. "decimals" : 2,
  301. "pattern" : "\/__name__|Value\/",
  302. "thresholds" : [
  303. ],
  304. "type" : "hidden",
  305. "unit" : "short"
  306. },
  307. {
  308. "alias" : "Autoupd.",
  309. "colorMode" : null,
  310. "colors" : [
  311. "rgba(245, 54, 54, 0.9)",
  312. "rgba(237, 129, 40, 0.89)",
  313. "rgba(50, 172, 45, 0.97)"
  314. ],
  315. "dateFormat" : "YYYY-MM-DD HH:mm:ss",
  316. "decimals" : 2,
  317. "pattern" : "autoupdater",
  318. "thresholds" : [
  319. ],
  320. "type" : "string",
  321. "unit" : "short"
  322. },
  323. {
  324. "alias" : "Branch",
  325. "colorMode" : null,
  326. "colors" : [
  327. "rgba(245, 54, 54, 0.9)",
  328. "rgba(237, 129, 40, 0.89)",
  329. "rgba(50, 172, 45, 0.97)"
  330. ],
  331. "dateFormat" : "YYYY-MM-DD HH:mm:ss",
  332. "decimals" : 2,
  333. "pattern" : "branch",
  334. "thresholds" : [
  335. ],
  336. "type" : "string",
  337. "unit" : "short"
  338. },
  339. {
  340. "alias" : "Firmware",
  341. "colorMode" : null,
  342. "colors" : [
  343. "rgba(245, 54, 54, 0.9)",
  344. "rgba(237, 129, 40, 0.89)",
  345. "rgba(50, 172, 45, 0.97)"
  346. ],
  347. "dateFormat" : "YYYY-MM-DD HH:mm:ss",
  348. "decimals" : 2,
  349. "pattern" : "firmware",
  350. "thresholds" : [
  351. ],
  352. "type" : "string",
  353. "unit" : "short"
  354. },
  355. {
  356. "alias" : "Hardware",
  357. "colorMode" : null,
  358. "colors" : [
  359. "rgba(245, 54, 54, 0.9)",
  360. "rgba(237, 129, 40, 0.89)",
  361. "rgba(50, 172, 45, 0.97)"
  362. ],
  363. "dateFormat" : "YYYY-MM-DD HH:mm:ss",
  364. "decimals" : 2,
  365. "pattern" : "model",
  366. "thresholds" : [
  367. ],
  368. "type" : "string",
  369. "unit" : "short"
  370. },
  371. {
  372. "alias" : "Routername",
  373. "colorMode" : null,
  374. "colors" : [
  375. "rgba(245, 54, 54, 0.9)",
  376. "rgba(237, 129, 40, 0.89)",
  377. "rgba(50, 172, 45, 0.97)"
  378. ],
  379. "dateFormat" : "YYYY-MM-DD HH:mm:ss",
  380. "decimals" : 2,
  381. "link" : true,
  382. "linkTargetBlank" : true,
  383. "linkTooltip" : "zur Statusseite f\u00FCr $__cell",
  384. "linkUrl" : "%%DASHBOARD_PATH%%%%DASHBOARD_PREFIX%%status.json?var-hostname=$__cell",
  385. "pattern" : "hostname",
  386. "thresholds" : [
  387. ],
  388. "type" : "string",
  389. "unit" : "short"
  390. },
  391. {
  392. "alias" : "Node ID",
  393. "colorMode" : null,
  394. "colors" : [
  395. "rgba(245, 54, 54, 0.9)",
  396. "rgba(237, 129, 40, 0.89)",
  397. "rgba(50, 172, 45, 0.97)"
  398. ],
  399. "dateFormat" : "YYYY-MM-DD HH:mm:ss",
  400. "decimals" : 2,
  401. "pattern" : "node_id",
  402. "thresholds" : [
  403. ],
  404. "type" : "string",
  405. "unit" : "short"
  406. },
  407. {
  408. "alias" : "Meshinterfaces",
  409. "colorMode" : null,
  410. "colors" : [
  411. "rgba(245, 54, 54, 0.9)",
  412. "rgba(237, 129, 40, 0.89)",
  413. "rgba(50, 172, 45, 0.97)"
  414. ],
  415. "dateFormat" : "YYYY-MM-DD HH:mm:ss",
  416. "decimals" : 2,
  417. "pattern" : "interfaces",
  418. "thresholds" : [
  419. ],
  420. "type" : "string",
  421. "unit" : "short"
  422. },
  423. {
  424. "alias" : "Gateway",
  425. "colorMode" : null,
  426. "colors" : [
  427. "rgba(245, 54, 54, 0.9)",
  428. "rgba(237, 129, 40, 0.89)",
  429. "rgba(50, 172, 45, 0.97)"
  430. ],
  431. "dateFormat" : "YYYY-MM-DD HH:mm:ss",
  432. "decimals" : 2,
  433. "pattern" : "gateway",
  434. "thresholds" : [
  435. ],
  436. "type" : "string",
  437. "unit" : "short"
  438. },
  439. {
  440. "alias" : "",
  441. "colorMode" : null,
  442. "colors" : [
  443. "rgba(245, 54, 54, 0.9)",
  444. "rgba(237, 129, 40, 0.89)",
  445. "rgba(50, 172, 45, 0.97)"
  446. ],
  447. "dateFormat" : "YYYY-MM-DD HH:mm:ss",
  448. "decimals" : 2,
  449. "pattern" : "\/.*\/",
  450. "thresholds" : [
  451. ],
  452. "type" : "string",
  453. "unit" : "short"
  454. }
  455. ],
  456. "targets" : [
  457. {
  458. "expr" : "max(%%PROM_INFO_PREFIX%%{hostname=~\"[[regex]]\"}) by (autoupdater,branch,firmware,gateway,hostname,interfaces,model,node_id)",
  459. "format" : "table",
  460. "instant" : true,
  461. "intervalFactor" : 2,
  462. "refId" : "A"
  463. }
  464. ],
  465. "title" : "Liste der Router in Gruppe '[[group]]'",
  466. "transform" : "table",
  467. "type" : "table"
  468. }
  469. ],
  470. "repeat" : null,
  471. "repeatIteration" : null,
  472. "repeatRowId" : null,
  473. "showTitle" : false,
  474. "title" : "Liste der Router in Gruppe '[[group]]'",
  475. "titleSize" : "h6"
  476. }
  477. ],
  478. "schemaVersion" : 14,
  479. "style" : "dark",
  480. "tags" : [
  481. ],
  482. "templating" : {
  483. "list" : [
  484. {
  485. "allValue" : null,
  486. "current" : {
  487. "text" : " - noch keine Auswahl -",
  488. "value" : null
  489. },
  490. "datasource" : null,
  491. "hide" : 0,
  492. "includeAll" : false,
  493. "label" : "Routergruppe",
  494. "multi" : false,
  495. "name" : "group",
  496. "options" : [
  497. ],
  498. "query" : "label_values(%%PROM_GROUPS_PREFIX%%,group)",
  499. "refresh" : 2,
  500. "regex" : "",
  501. "sort" : 1,
  502. "tagValuesQuery" : "",
  503. "tags" : [
  504. ],
  505. "tagsQuery" : "",
  506. "type" : "query",
  507. "useTags" : false
  508. },
  509. {
  510. "allValue" : null,
  511. "current" : {
  512. "text" : null,
  513. "value" : null
  514. },
  515. "datasource" : null,
  516. "hide" : 2,
  517. "includeAll" : false,
  518. "label" : null,
  519. "multi" : false,
  520. "name" : "regex",
  521. "options" : [
  522. ],
  523. "query" : "query_result(max(%%PROM_GROUPS_PREFIX%%{group=\"[[group]]\"}) by (regex))",
  524. "refresh" : 2,
  525. "regex" : "\/.*regex=\"(.*)\".*\/",
  526. "sort" : 1,
  527. "tagValuesQuery" : "",
  528. "tags" : [
  529. ],
  530. "tagsQuery" : "",
  531. "type" : "query",
  532. "useTags" : false
  533. },
  534. {
  535. "allValue" : null,
  536. "current" : {
  537. "text" : " - noch keine Auswahl -",
  538. "value" : null
  539. },
  540. "datasource" : null,
  541. "hide" : 0,
  542. "includeAll" : false,
  543. "label" : null,
  544. "multi" : false,
  545. "name" : "hostname",
  546. "options" : [
  547. ],
  548. "query" : "label_values(%%PROM_INFO_PREFIX%%{hostname=~\"[[regex]]\"},hostname)",
  549. "refresh" : 2,
  550. "regex" : "",
  551. "sort" : 1,
  552. "tagValuesQuery" : "",
  553. "tags" : [
  554. ],
  555. "tagsQuery" : "",
  556. "type" : "query",
  557. "useTags" : false
  558. },
  559. {
  560. "allValue" : null,
  561. "current" : {
  562. "text" : null,
  563. "value" : null
  564. },
  565. "datasource" : null,
  566. "hide" : 0,
  567. "includeAll" : false,
  568. "label" : null,
  569. "multi" : false,
  570. "name" : "node_id",
  571. "options" : [
  572. ],
  573. "query" : "label_values(%%PROM_INFO_PREFIX%%{hostname=\"[[hostname]]\"},node_id)",
  574. "refresh" : 2,
  575. "regex" : "",
  576. "sort" : 1,
  577. "tagValuesQuery" : "",
  578. "tags" : [
  579. ],
  580. "tagsQuery" : "",
  581. "type" : "query",
  582. "useTags" : false
  583. },
  584. {
  585. "allValue" : null,
  586. "current" : {
  587. },
  588. "datasource" : null,
  589. "hide" : 2,
  590. "includeAll" : false,
  591. "label" : null,
  592. "multi" : false,
  593. "name" : "link_target_id",
  594. "options" : [
  595. ],
  596. "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]]\"})",
  597. "refresh" : 2,
  598. "regex" : "\/.*target=\"([^\"]+)\".*\/",
  599. "sort" : 0,
  600. "tagValuesQuery" : "",
  601. "tags" : [
  602. ],
  603. "tagsQuery" : "",
  604. "type" : "query",
  605. "useTags" : false
  606. },
  607. {
  608. "allValue" : null,
  609. "current" : {
  610. },
  611. "datasource" : null,
  612. "hide" : 2,
  613. "includeAll" : false,
  614. "label" : null,
  615. "multi" : false,
  616. "name" : "mesh_id",
  617. "options" : [
  618. ],
  619. "query" : "label_values(%%PROM_GRAPH_PREFIX%%%%PROM_SEPERATOR%%mesh{members=~\".*[[node_id]].*\"},node_id)",
  620. "refresh" : 2,
  621. "regex" : "",
  622. "sort" : 0,
  623. "tagValuesQuery" : "",
  624. "tags" : [
  625. ],
  626. "tagsQuery" : "",
  627. "type" : "query",
  628. "useTags" : false
  629. },
  630. {
  631. "allValue" : null,
  632. "current" : {
  633. },
  634. "datasource" : null,
  635. "hide" : 2,
  636. "includeAll" : false,
  637. "label" : null,
  638. "multi" : false,
  639. "name" : "mesh_name",
  640. "options" : [
  641. ],
  642. "query" : "label_values(%%PROM_INFO_PREFIX%%{node_id=\"[[mesh_id]]\"},hostname)",
  643. "refresh" : 2,
  644. "regex" : "",
  645. "sort" : 0,
  646. "tagValuesQuery" : "",
  647. "tags" : [
  648. ],
  649. "tagsQuery" : "",
  650. "type" : "query",
  651. "useTags" : false
  652. }
  653. ]
  654. },
  655. "time" : {
  656. "from" : "now-24h",
  657. "to" : "now"
  658. },
  659. "timepicker" : {
  660. "refresh_intervals" : [
  661. "5s",
  662. "10s",
  663. "30s",
  664. "1m",
  665. "5m",
  666. "15m",
  667. "30m",
  668. "1h",
  669. "2h",
  670. "1d"
  671. ],
  672. "time_options" : [
  673. "5m",
  674. "15m",
  675. "1h",
  676. "6h",
  677. "12h",
  678. "24h",
  679. "2d",
  680. "7d",
  681. "30d"
  682. ]
  683. },
  684. "timezone" : "",
  685. "title" : "%%DASHBOARD_PREFIX%%status-group",
  686. "version" : 9
  687. }